Quantcast
Channel: Forums - Recent Threads
Viewing all 262198 articles
Browse latest View live

DS100MB203: DS100MB203 one port can't detect

$
0
0

Part Number:DS100MB203

Hi Sir,

Below is the system topology of DS100MB203.
We can detect M.2 SATA (PCH) and PCIE x2 device in connector CN10, but we can’t detect on connector CN11 any device which pass through by DS100 (only detect PCIE x1 w/o DS100 ).
We already change to use pin strap mode and tight SEL0/SEL1 short, to make it select as 0 or 1 in same time,
And we have measure the SATA signal (output from PCH )on CN10 and CN11 which the signal integrity and the layout routing looks similar.
But found the abnormal waveform after DS100MB203 when we doing OOB test as below,
Could you please help to clarify it and any suggestion for next step debugging ?
Do you have any idea on it?

 


 

 

1.CN10 waveform – DS100MB to CN10 – Can test OOB, but some item fail


 

 

2. CN11 waveform – DS100MB to CN11 – Can’t test OOB.


 

 

3. CN10 waveform – PCH to DS100MB – The signal looks is normal.


 

 

4. CN11 waveform – PCH to DS100MB – The signal looks is normal


 

 


TMS320F28020: Enters limp mode when not debugging

$
0
0

Part Number:TMS320F28020

I have a project where I'm using a TMS320F28020. On some of the PCBs the microcontroller enters limp mode (SysCtrlRegs.PLLSTS.bit.MCLKSTS==1) all the time after power up. On other PCBs it sometimes enters, and sometimes runs normally. Other PCBs again always runs fine. If I'm running in debug mode (with XDS110) the PLL and external crystal is always ok.

We've tried to replace the crystal, the microcontroller and the capacitors for the crystal. None of the changes makes any difference.

I'm using a 20MHz crystal, PLLCR=4, and DICSEL=2 (sys clock = 40MHz).

The init pll function (void InitPll(Uint16 val, Uint16 divsel)) always pass the lock check (while(SysCtrlRegs.PLLSTS.bit.PLLLOCKS != 1)).

BQ24780S: What should BQ24780S work when ACFET short?

$
0
0

Part Number:BQ24780S

Hi Team,

Customer feedback that BQ24780S are not able to charge battery. They found their AFCET was damage.

They saw ACOK and REGN output 6V. It cannot charge battery and turbo boost.

Question: 

1. What should BQ24780S work when ACFET short?

2. What's the condition that BQ24780S are able to charge battery?

Thanks

Shaq.

MSP430FR2355 Launchpad SPI

$
0
0

Hello everyone,

could someone please help with SPI issue, I am trying to modify example and use it but it just doesn't want to work (Big tnx in advance!).

#include "driverlib.h"
#include "Board.h"

uint16_t i;
uint8_t RXData = 0, TXData = 0;
uint8_t check = 0;




//Desired Timeout for XT1 initialization
#define CS_XT1_TIMEOUT 50000


//Desired Timeout for XT2 initialization**
#define CS_XT2_TIMEOUT 0


//XT1 Crystal Frequency being used
#define CS_XT1_CRYSTAL_FREQUENCY    32768


//Variable to store returned STATUS_SUCCESS or STATUS_FAIL
uint8_t returnValue = 0;


//Variable to store current clock values
uint32_t clockValue;




void main(void)
{
    //Stop Watchdog Timer
    WDT_A_hold(WDT_A_BASE);

    // --------------------- EXTERNAL CRYSTAL ---------------------------------


    //Port select XT1
    GPIO_setAsPeripheralModuleFunctionInputPin(
        GPIO_PORT_P2,
        GPIO_PIN6 + GPIO_PIN7,
        GPIO_SECONDARY_MODULE_FUNCTION
    );


    // --------------------- EXTERNAL CRYSTAL ---------------------------------



    // ----------------------- SPI -------------------------------

    // CS SIGNAL
    GPIO_setAsOutputPin(GPIO_PORT_P3,GPIO_PIN6);
    //Set all CS pins High
    GPIO_setOutputHighOnPin(GPIO_PORT_P3,GPIO_PIN6);



    GPIO_setAsPeripheralModuleFunctionInputPin(
        GPIO_PORT_P4,
        GPIO_PIN4 + GPIO_PIN5 + GPIO_PIN6 + GPIO_PIN7,
        GPIO_PRIMARY_MODULE_FUNCTION
    );

    // ----------------------- SPI -------------------------------




    // --------------------- EXTERNAL CRYSTAL ---------------------------------


    //Initializes the XT1 and XT2 crystal frequencies being used
        CS_setExternalClockSource(CS_XT1_CRYSTAL_FREQUENCY);

        //Initialize XT1. Returns STATUS_SUCCESS if initializes successfully
        returnValue = CS_turnOnXT1LFWithTimeout(CS_XT1_DRIVE_0,CS_XT1_TIMEOUT);

        //Select XT1 as ACLK source
        CS_initClockSignal(CS_ACLK,CS_XT1CLK_SELECT,CS_CLOCK_DIVIDER_1);

        //Select XT1 as SMCLK source
        CS_initClockSignal(CS_SMCLK,CS_XT1CLK_SELECT,CS_CLOCK_DIVIDER_1);

        //clear all OSC fault flag
        CS_clearAllOscFlagsWithTimeout(1000);

        //Enable oscillator fault interrupt
        SFR_enableInterrupt(SFR_OSCILLATOR_FAULT_INTERRUPT);

    // --------------------- EXTERNAL CRYSTAL ---------------------------------


    /*
      * Disable the GPIO power-on default high-impedance mode to activate
      * previously configured port settings
      */
     PMM_unlockLPM5();


    if (STATUS_FAIL == EUSCI_A_UART_init(EUSCI_A0_BASE, &uart_param)) {
        return;
    }

    EUSCI_A_UART_enable(EUSCI_A0_BASE);

    EUSCI_A_UART_clearInterrupt(EUSCI_A0_BASE,EUSCI_A_UART_RECEIVE_INTERRUPT);

    // Enable USCI_A0 RX interrupt
    EUSCI_A_UART_enableInterrupt(EUSCI_A0_BASE,EUSCI_A_UART_RECEIVE_INTERRUPT);


    // ----------------------- SPI -------------------------------

    //Initialize Master
    EUSCI_B_SPI_initMasterParam spi_param = {0};
    spi_param.selectClockSource = EUSCI_B_SPI_CLOCKSOURCE_SMCLK;
    spi_param.clockSourceFrequency = CS_getSMCLK();
    spi_param.desiredSpiClock = 1000;
    spi_param.msbFirst = EUSCI_B_SPI_MSB_FIRST;
    spi_param.clockPhase = EUSCI_B_SPI_PHASE_DATA_CHANGED_ONFIRST_CAPTURED_ON_NEXT;
    spi_param.clockPolarity = EUSCI_B_SPI_CLOCKPOLARITY_INACTIVITY_HIGH;
    spi_param.spiMode = EUSCI_B_SPI_4PIN_UCxSTE_ACTIVE_HIGH; //EUSCI_B_SPI_3PIN;
    EUSCI_B_SPI_initMaster(EUSCI_B0_BASE, &spi_param);

    //Enable SPI module
    EUSCI_B_SPI_enable(EUSCI_B0_BASE);

    EUSCI_B_SPI_clearInterrupt(EUSCI_B0_BASE,EUSCI_B_SPI_RECEIVE_INTERRUPT);

    // Enable USCI_B0 RX interrupt
    EUSCI_B_SPI_enableInterrupt(EUSCI_B0_BASE,EUSCI_B_SPI_RECEIVE_INTERRUPT);


    //Wait for slave to initialize
    __delay_cycles(100);

    // ----------------------- SPI -------------------------------



    // Enable global interrupts
    __enable_interrupt();
    while (1)
    {

        TXData = 0x55;


        // ---------------------- SPI ----------------------
        //Set all CS pins Low
        GPIO_setOutputLowOnPin(GPIO_PORT_P3,GPIO_PIN6);
        //Wait for slave to initialize
          __delay_cycles(100);

        //USCI_B0 TX buffer ready?
        while (!EUSCI_B_SPI_getInterruptStatus(EUSCI_B0_BASE,
                  EUSCI_B_SPI_TRANSMIT_INTERRUPT)) ;

        //Transmit Data to slave
        EUSCI_B_SPI_transmitData(EUSCI_B0_BASE, TXData);


        //Set all CS pins High
        GPIO_setOutputHighOnPin(GPIO_PORT_P3,GPIO_PIN6);
        //Wait for slave to initialize
          __delay_cycles(100);
        // ---------------------- SPI ----------------------


        __delay_cycles(10000);


    }
}


#if defined(__TI_COMPILER_VERSION__) || defined(__IAR_SYSTEMS_ICC__)
#pragma vector=USCI_B0_VECTOR
__interrupt
#elif defined(__GNUC__)
__attribute__((interrupt(USCI_B0_VECTOR)))
#endif
void USCI_B0_ISR (void)
{
    switch (__even_in_range(UCB0IV, USCI_SPI_UCTXIFG))
    {
        case USCI_SPI_UCRXIFG:      // UCRXIFG

            break;
        default:
            break;
    }
}


TMS570LC4357: Hercules TMS570LC43x LaunchPad J9 and J10 pin headers

$
0
0

Part Number:TMS570LC4357

Hello TI Community,

I'm currently using Hercules TMS570LC43x LaunchPad to test some parts of my project on the TMS570LC4357 MCU. Actually I want to use every port with IO ability. So far I could use only GIO A/B, HET1 and some MIBSPIs. In the Quick Start Guide I've read that there are additional MCU I/Os for Prototyping on both edges (J9 and J10 pin headers). But I've found nothing about connections of these pins to MCU. Is there any manual or another apportunity to define how they are connected?

Thanks in advance!

Best regards

Ivan

TPS2105: Consultation on Problems in Material Use

$
0
0

Part Number:TPS2105

Now we use TPS2105, two-way power switch, one is battery power supply, the other is 3.3V power supply. When the battery power supply is small, the current of 3.3V power supply is 50mA. When 3.3V is electrified, it is always enabled. When 3.3V is electrified, MCU3.3V is supplied by 3.3V. When 3.3V is not available, it is supplied by battery power. Now it is found that in the process of switching, MCU3.3V is pulled down and the single chip reset. The timing of power on this chip can't be controlled. Help me to see if I can solve the reset problem. If it can't be solved, please help recommend the appropriate chip.

RF430CL330H: Voltage of ANT1/2 concern

$
0
0

Part Number:RF430CL330H

Hi experts,

One of my customer is designing a system which consists of wireless power and NFC. They have concern as described below. Could you please help to take a look and advice? If you need more information then please let me know. Thank you

If NFC antenna is very close to wireless charging TX coil, NFC will affect by TX coil. Take RF430 for example. NFC antenna is near TX coil. When wireless charging TX coil is working on the MAX load, the voltage of ANT1/2 is 1.8V. 

The MAX voltage of ANT1/2 is 3.6V. Obviously the NFC is not overload. But we still worry about that it will destroy the RF430 when the voltage of ANT1/2 is always 1.8V for years. Do you have some experience about RF430 always on work? Or do you have some test about the use life of RF430 when it is kept in the situation of work? Whether 1.8V is safe for RF430 for a long time work.

Regards,

Hung

CCS/MSP430I2040: New Version of Code Composer Causing Issues with Legacy Code

$
0
0

Part Number:MSP430I2040

Tool/software: Code Composer Studio

Hello, 

My customer is looking for support with an issue that seems to be caused by an updated version of Code Composer (Version: 8.3.0.00009). 

He has existing code that has been implemented successfully. Upon updating Code Composer, he is running into these issues:

"I took my latest project that was finished some time last year and without doing anything but opening the project and executing a project clean, I proceeded to install it through the debug tool to see what would happen.

  1. I got a couple of warnings when I cleaned the project (see the warnings below).
  2. I went into debug mode and I got a message that said the module FW needed to be upgraded, so I let that happen.
  3. Once in debugging mode, I hit go and I got a message that there was a CRC error and my application halted.

I checked the contents in ram where the calculated CRC is placed and compared that with my stored CRC in Flash and sure enough, the two did not match.

What happens in my application on boot up is that the beginning of the bootloader checks its own CRC and compares it with the one stored in flash and if it doesn’t match it sends a message over the uart and that is what happened. So, the code is executing, but apparently something has changed or my CRC would not have failed to match.

In this particular project I needed a bootloader section to allow me to download over the uart rather than from the debug port. So, I created some proxy addresses in flash (not in the interrupt vector section) that services my interrupts so that if I needed to change an address later, it would not affect what was in the bootloader area, that is in the same area as the interrupt vectors that I cannot erase/reprogram in a field upgrade situation.

So, is the warning explanation (below) telling me I have to go back and do this differently and if so, how do I do it?

WARNING MESSAGES

 Description         Resource             Path       Location               Type

<a href="http://processors.wiki.ti.com/index.php/Compiler/diagnostic_messages/MSP430/10424">#10424-D</a>  Linker command file has no sections of type=VECT_INIT, but does contain .intXX sections.  This file may be out of date.  Generating interrupt pointers for all .intXX sections.  The default handler provided in the RTS will be used if no other handler is found.  It is recommend that you update your linker command file to the latest version. 

Description         Resource             Path       Location               Type

This project was created using a version of compiler that is not currently installed - 4.3.1 [MSP430]. Another version of the compiler will be used during build - 18.1.4.LTS. See 'Help > Install New Software' and select 'Code Generation Tools Updates' to check if this compiler is available through a CCS update. Visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compiler support. Or <a href="http://software-dl.ti.com/codegen/non-esd/downloads">download</a> and install the compiler, then register it with CCS through 'Preferences > CCS > Build > Compilers'."

Appreciate your help!

Thanks, 

Andrew


TUSB212: The host uses USB212 to design the interface, some notebook devices can not be recognized.

$
0
0

Part Number:TUSB212

Hi team,

             We use TUSB212 to design the USB interface of the system. When we use the notebook to test, we find that some computers can not recognize it.

             schematic as below:

Initial confirmation is not much different from the reference design on the specification.

At present, the notebook using ASUS C200m has been found unable to identify.

Previously, the TUSB211 design was used.
No device identification problem occurred, but the eye diagram was not good, so TUSB212 was used instead.

The design parameters are basically the same as those suggested in the specifications.
The design parameters of TUSB211 and TUSB212 are the same.

Is there any other configuration problem?

thanks.

TMS570LS3137: PREFETCH EXCEPTION ON TMS570LS3137 SAFETY LIBRARY

$
0
0

Part Number:TMS570LS3137

Hello , 

I am running the attached SAFETY LIBRARY provided by Texas Instruments on TMS570LS3137http://www.ti.com/general/docs/lit/getliterature.tsp?baseLiteratureNumber=spnc043&fileType=zip  .

I am using http://www.ti.com/tool/TMDS570LS31HDK  . On Executing the code Red LED on the Board is turning ON and PREFETCH EXCEPTIONS is always kicked in not allowing the code to execute . 

The code is struck at      b   _excpt_vec_abort_pref

Is there any specific issue with compilation or alignment issue , like ALIGN (16) or ALIGN (32) or is it some settings that needs to be performed , attached is my project space .

(Please visit the site to view this file)

TMS320F28379D: CLA Implementation trouble

$
0
0

Part Number:TMS320F28379D

Hello everybody,

I have trouble to implement CLA in my program, this is the situation :

-> My project is working correctly on flash in standalone mode with all periphericals which I need (ADC, PWM, CAN, GPIO, Timer, Interrupts etc) but I need to increase sample rate and my butterworth filters are too heavy for time calculation... so I want to put all filters on CLA.

-> I have modified compilation options with cla2 = on, predifined symbol 'CLA_C' and I have added CLA_MyPurpose.c,CLA_MyPurpose.cla and CLA_MyPurpose.h

-> Instead of "2837xD_FLASH_ink_cpu1.cmd" I have put "2837xD_FLASH_CLA_ink_cpu1.cmd"

-> I have used examples to make template with empty claTasks, empty claISR and configuration

My big trouble concern project build, first "__TMS320C28XX_CLA__" seems to not be defined by compiler (despite the presence of .cla file) so I have stdarg.h message error. Then I saw somewhere (I can't remember where) that if "__TMS320C28XX_CLA__" is defined, can.h can't be included => does it mean that CAN bus can't run if CLA is activated ?

I have also "cla1IsrX is undefined" for all 8 ISR despite the prototype declaration in .h (it's ok for claTaskX).

I f I am adding "__TMS320C28XX_CLA__" in predefined symbol I haven't this troubles but I have at least 100 errors with UintX undefined types ...

 

I also precise that compilation time is about 5min against 30sec for the same project without CLA config.

Could you help me please I am stuck.

Thank you very much and have a nice day,

Best regards,

Jérémy Bargas

TPS63031: tps63030 in power save mode with cc1350 launchpad

$
0
0

Part Number:TPS63031

Hello,

I have a wireless sensor network based on cc1350 (subGHz). The system is build using the cc1350 launchpads equipped with a shield that does the power supply. The energy for the system comes from a standard li-poly battery and it is regulated to 3.3v by a tps63031 buck-boost regulator. The board is then powered through the expansion headers of the launchpads.

I had several issues in making the network to work and today finally I found the source of the problems which is the noise produced by the tps63030 when put in power save mode. In fact by disabling the tps63031 power save mode the nodes works perfectly, the same if the node is powered with other non-noisy regulator. 

Of course disabling the PS is just a workaround, not the solution (the tps have about 2mA of idle current in this condition), so I'm trying to decide what to do. By checking the values of the passives I see that the inductor is 47uH while on the datasheet the suggested value is 1.5uH, can this cause problems such as excessive noise? Or did we choose the wrong dcdc for a sub-GHz application?

Thank you,

Davide.

BQ27750EVM-837: BQ27750EVM-837 interacts with Electronic load: how to open FET

$
0
0

Part Number:BQ27750EVM-837

Hello,

I am trying to make BQ27750EVM-837 work together with an electronic load (RIGOL DL3031).

After ensuring the electronic is full functional, I connect one BQ27750EVM-837 module to the electronic load. However, when I try to discharge my battery and get measurement through battery gauge, the voltage between Charger+/Load+ and Charger-/Load- is much smaller than the battery voltage. In addition, the current is much smaller than expected as shown in the photo below:

There is some information about my system:

1. Battery gauge is connected to PC and PC is able to recognize the EVM.

2. I use bqStudio to operate the EVM. I open the FET and make sure "FET_EN" bit of bq27750 is set high.

3. The target discharge current is 1A. I have already checked on the same battery without the battery gauge and ensure all the settings on electronic load are correct.

4. I have already pressed S1 button on the EVM before using it and guarantee the battery gauge IC is turned on.

5. My battery is NCR18650B. Before this experiment, it is fully charged. The voltage of the battery after charging is 4130 mV.

In my analysis, the problem is caused by that FET is not able to be turned on completely. Could you give me any suggestion about my current situation?

Kindly regards,

Wenlong  

LAUNCHXL-CC1312R1: The device gets reset, and debugger cannot communicate with the device.

$
0
0

Part Number:LAUNCHXL-CC1312R1

Hello,

I'm developing a wireless network using Contiki-NG with CC1312R. I added a few functions and the device keep on resetting after a second. I think it is the radio related. I tried to debug using XDS110 and J-Link. Both results that the debugger cannot communicate with the device when it gets reset. I don't see it is resetting when the debugger is attached. It just locks up and debugger shows an error message.

Cortex_M4_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation.

If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.1.0.00012)

Cortex_M4_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation

How do you debug when you encounter this kind of problem?

Linux/TUSB4041I: XIMEA camera not recognised

$
0
0

Part Number:TUSB4041I

Tool/software: Linux

Hi 

We have a TUSB4041 mounted on our Jetson TX2 carrier board to split out the Jetson's USB2.0 upstream port to four USB2.0 downstream. 

The Jetson is running Ubuntu 16.04

Using lsusb -vvv Ubuntu reports:

Bus 001 Device 002: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub 

and

SuperSpeed USB Device Capability:                                                                                       

 bLength                10                                                                                             

 bDescriptorType        16                                                                                             

 bDevCapabilityType      3                                                                                             

 bmAttributes         0x00                                                                                             

 wSpeedsSupported   0x000e                                                                                               

   Device can operate at Full Speed (12Mbps)                                                                             

   Device can operate at High Speed (480Mbps)                                                                           

   Device can operate at SuperSpeed (5Gbps)                                                                           

The TUSB4041 is clearly not a Super speed device, however per the datasheet its VID:PID are 0451:8142, which is identical to the VID:PID in the TUSB8041's datasheet.

Is this intentional?  Is the TUSB8041 Super speed driver for Ubuntu untended to be backward compatible with the TUSB4041?

We have tested various devices with the hub.  Mass storage devices successfully connect at USB2.0, however our XIMEA USB2.0 is not recognised at all.

Strangely, if we connect an additional standalone hub to one of the TUSB4041's downstream ports, the camera connects.

Could this be related to Ubuntu loading the 'wrong' driver?


BQ27510-G3: How to configure the chip correctly?

$
0
0

Part Number:BQ27510-G3

Hi!

In our project, we use the BQ27510-G3 to measure the parameters of the battery.  We use Li-Pol battery 10-Ahr Capacity.

In the chip, we set the following parameters:

Subclass ID (48) Subclass (Data):
Design Caacity = 10000;
Des Energy Scale = 10

Subclass ID (80) Subclass (IT Cfg):
Load Select = 1
Load Mode = 1
Terminate Voltage = 3350

Subclass ID (83) Subclass (OCVa0 Table):
Chem ID = 0x100
Qmax Cell 0 = 10000
Update Status = 0

We have a problem.

When charging, the battery charge level is not correctly calculated. 

For example, a battery charge level of 10%, connect the charge. After some time, the battery charge level is 100%. Although actually in the battery was charged about 1 - 1.5 Ahr. Has to show 20-25%.

What are we doing wrong? 

How to configure the chip correctly?

TPS56221: can't work

$
0
0

Part Number:TPS56221

My design is based on the webench design of TPS56221,which you can see the circuit in the accessories.but it doesn’t work.So I measure all the pin with the oscilloscope ,the wave in the same accessories,who can tell me the reason ?thanks a lot!!(Please visit the site to view this file)

INA828: Gain error vs temperature between INA828 and INA819

$
0
0

Part Number:INA828

Hi

The gain error vs temperature plots on the datasheets for INA819 (Figure 31) and INA828 (Figure 29) showed more than 10x differences, assuming these are typical. However, Gain vs temperature are +/-35 and +/-50 ppm/C on pages 5 and 7 of Electrical Characteristics. Could someone explain what I am missing here?

Thanks,

FZ

TINA/Spice/OPA1632: Spice OPA1632

$
0
0

Part Number:OPA1632

Tool/software:TINA-TI or Spice Models

I've been looking for the opa1632 model to use in PSpice, but haven't been able to find it online. After some research, I've downloaded the opa1632.lib from the spicerack to create a custom model using the Model Editor. However, there isn't an existing part symbol that I can use to edit.

DDC232: CAD models

$
0
0

Part Number:DDC232

I am doing spacing studies and am actually using several TI parts besides the DDC232CK. I can't seem to find CAD models for the parts - where can I find them?

Mark

Viewing all 262198 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>