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

CC2652R: When will the CC2652R be available as a module?

$
0
0

Part Number: CC2652R

Hi,

We have been looking at the CC2650MODA, but it does not support Zigbee 3.0.

When will the CC2652R be available in a module?

Thanks!


IWR1443: custom antennas for iwr1443

$
0
0

Part Number: IWR1443

Hi,

I’m developing custom antennas for IWR1443 working in azimuth only. Antennas have more elements than IWR1443BOOST. Our antennas have increased side lobe level compared to IWR1443BOOST.
Could this be caused by TX phase calibration or other internal calibration intended for IWR1443BOOST?

Regards,

Gennadii

LM5066I: Timing of the ADC measurements and internal filters

$
0
0

Part Number: LM5066I

Hello,

I have two questions regarding the LM5066i. I'm reading the current and voltage in a constant period and wonder, if both are measured at the exact same moment (+-100 us). If not, how much delay could there be between the voltage measurement followed by a current measurement?

The other question would be about a filter included in the LM5066i for current and voltage measurement. I know that there is a way to calculate the average value, which I turned off. But is there any other filter included (digital or analog)?

Best regards,

Christian

ADS1255: ADS1255 - noises on output

$
0
0

Part Number: ADS1255

Hello

We've been using the ADS1255 in microvolt level voltage measuring device (EEG amplifier) for many years without any problems. The output signal was always ok, free of interference and the noise level was low. However, for last several months we have been observing some strange phenomenon. The last few batches of this IC that we bought and installed on PCB work differently than all previous batches. A significant amount of noise, strange bands in the FFT spectrum, and signal aliases appeared in the output signal. The systems began to behave as if it were a "sigma-delta idle tones" problem. We've never seen it before. We still use the same hardware and software without any changes and without any problem. Sampling takes place at a speed of 500sps, and in one device we have up to four ADS1255 ICs driven by the same clock signal.

Has anyone observed such behavior recently and knows a reason?

TMS320F28335: ADC register could not be written rightly

$
0
0

Part Number: TMS320F28335

Hi Expert,

Customer met a problem that the ADCTRL3 content should be written as 0x00E7, however after run through the configuration code,

  1. The AdcRegs.ADCTRL3.all =  0x0007. 
  2. ADC unit could not power up.
  3. There are 50% boards existing this kind of issue.
  4. Customer configured the ADCENCLK = 1 & ADC_cal() twice as the code in F28335 ADC example. If delete one of the "SysCtrlRegs.PCLKCR0.bit.ADCENCLK =1", the issue is solved. 

The CPU core voltage is 1.9V and ADC reference voltage is 2.048V.

Could you give some advice on the issue or what we should do to debug it? Thanks!

The ADC configuration codes.

The ADC power circuit.

The CPU core(channel 1) and ADC reference voltage(channel 2)  power up waves.

Best Regards

Rayna Wang

WAVEVISION5: VHDL or Verilog file for FPGA to interface LM98640QML-SP

$
0
0

Part Number: WAVEVISION5

Hi,
Customer is interested in the FPGA - ADC interface code for our WaveVision5 capture board and whether we can share the VHDL/Verilog (or HLS) files. We have an NDA in place so if you cannot post the the files here on the public forum we can take it offline.

Thanks & BR,

KF

TMS320F280049: How to choose the optimization level in CCS properties

$
0
0

Part Number: TMS320F280049

Hi Expert,

Could you suggest that how to configure the below items to optimize the program running speed while maintaining code integrity?

Thanks!

Best regards

Rayna Wang

CCS: Code Composer Studio and SVN

$
0
0

Tool/software: Code Composer Studio

Using Code Composer Studio V8, want to work with SVN for my source code control package.  Is there a plugin for V8 for SVN.  If not can someone point me to information on working with CCS V8 projects and SVN.


CC2642R: SHA256 and AES256 ROM based drivers are not working alternatively.

$
0
0

Part Number: CC2642R

Hello Team,

 

In summary the issue is like this:

 

We need to calculate SHA256 value for the entire F/W image of 200 KB for that we need to pass multiple chunks to ROM based SHA_API but in between we also need to switch for AES256 data encryption / decryption, in this scenario we are not able to calculate SHA256 value for the entire image. 

 

We are facing issue in switching between AES-256 and SHA256 functionality using ROM based drivers.

 

Issue Description:-

In boot loader code, we have 10chunks(each chunk of 1KB) to decrypt from external flash and feed/pass this decrypted message buffer to SHA-256 module. For first time for the first chunk – we are able to decrypt message successfully using AES-256 and SHA-256(using ROM based drivers) output good. Second chunk onwards, we are not able to get the SHA-256 output properly. Whereas for the same scenario – with application code – using flash based drivers – switching between AES/SHA256 working fine.

 

Could you please find below the TI code snippets for reference.

 

In main loop:

 

   SHA2_open();

    /* Read over image pages. */

    while(imgLengthLeft > 0)

    {

        /* Read data into the next buffer */

        if(!useExtFl)

        {

            memCpy(SHABuff, (uint8_t *)addrRead, byteToRead);

        }

        else

        {

            extFlashRead(addrRead, byteToRead, SHABuff);

        }

 

        SHA2_addData(SHABuff, byteToRead);

 

        imgLengthLeft -= byteToRead;

        if(imgLengthLeft > SHABuffLen)

            byteToRead = SHABuffLen;

        else

            byteToRead = imgLengthLeft;

 

        addrRead += SHABuffLen;

    } /* while(imgLengthLeft > 0) */

 

    SHA2_finalize(finalHash);

    SHA2_close();

 

 

 

External flash read function definition:

/* See ext_flash.h file for description */

bool extFlashRead(size_t offset, size_t length, uint8_t *buf)

{

    uint8_t wbuf[4];

 

    /* Wait till previous erase/program operation completes */

    int ret = extFlashWaitReady();

    if (ret)

    {

        return false;

    }

 

    /* SPI is driven with very low frequency (1MHz < 33MHz fR spec)

    * in this temporary implementation.

    * and hence it is not necessary to use fast read. */

    wbuf[0] = BLS_CODE_READ;

    wbuf[1] = (offset >> 16) & 0xff;

    wbuf[2] = (offset >> 8) & 0xff;

    wbuf[3] = offset & 0xff;

 

    extFlashSelect();

 

    if (bspSpiWrite(wbuf, sizeof(wbuf)))

    {

        /* failure */

        extFlashDeselect();

        return (false);

    }

 

    ret = bspSpiRead(buf, length);

 

    extFlashDeselect();

   

    //Decryption of the data from external flash

    OTA_CRY_External_Memory_Encryption(offset, length, &buf[0],false);

 

    return (ret == 0);

}

 

 

 

 

 

Encryption function definition:

bool OTA_CRY_External_Memory_Encryption (uint8_t *key, uint8_t *data, uint8_t key_size, uint16_t data_size, bool encrypt)

{

    static bool periphRequired1;

    periphRequired1 = true;

    if (PRCMPowerDomainStatus(PRCM_DOMAIN_PERIPH) != PRCM_DOMAIN_POWER_ON)

    {

        periphRequired1 = false;

 

        PRCMPowerDomainOn(PRCM_DOMAIN_PERIPH);

        while (PRCMPowerDomainStatus(PRCM_DOMAIN_PERIPH) != PRCM_DOMAIN_POWER_ON);

    }

    PRCMPeripheralDeepSleepEnable(PRCM_PERIPH_CRYPTO);

    PRCMPeripheralSleepEnable(PRCM_PERIPH_CRYPTO);

    PRCMPeripheralRunEnable(PRCM_PERIPH_CRYPTO);

    PRCMLoadSet();

 

    /* Set up the variables */

    uint8_t aesKey[32] = {

        0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6,

        0xab, 0xf7, 0x15, 0x88, 0x09, 0xcf, 0x4f, 0x3c,

        0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6,

        0xab, 0xf7, 0x15, 0x88, 0x09, 0xcf, 0x4f, 0x3c

    };

 

    uint8_t encryptedData[16] = { 0 };

    uint8_t outputData[16] = { 0 };

    enum {

        Encrypt = 0x01,

        Decrypt = 0x00,

        InterruptsEnabled = 0x01,

        InterruptsDisabled = 0x00,

    };

    // The crypto HW can store up to 8 keys.

    //

    // For 128 bit key all 8 Key Area locations from 0 to 8 are valid

    // However for 192 bit and 256 bit keys, only even Key Areas 0, 2, 4, 6

    // are valid.

    //

    uint8_t keyIndex = CRYPTO_KEY_AREA_0;

    

    /* Load the key to the crypto unit */

    CRYPTOAesLoadKey((uint32_t*)aesKey, keyIndex);

    

    if(encrypt == 1)

    {

        /* Start the encryption in blocking mode */

        CRYPTOAesEcb((uint32_t*)data, (uint32_t*)encryptedData, keyIndex, Encrypt, InterruptsDisabled);

        while (CRYPTOAesEcbStatus() != AES_SUCCESS);

    }

    else

    {

        /* Decrypt the data again in blocking mode */

        CRYPTOAesEcb((uint32_t*)data, (uint32_t*)outputData, keyIndex, Decrypt, InterruptsDisabled);

        while (CRYPTOAesEcbStatus() != AES_SUCCESS);

    }

 

    CRYPTOAesEcbFinish();

    memCpy(data,encryptedData,16);

   

 //   PRCMPeripheralRunDisable(PRCM_PERIPH_CRYPTO);

  //  PRCMPeripheralDeepSleepDisable(PRCM_PERIPH_CRYPTO);

  //  PRCMPeripheralSleepDisable(PRCM_PERIPH_CRYPTO);   

   // PRCMLoadSet();

   

    //Power_releaseConstraint(PowerCC26XX_SB_DISALLOW);

    //Power_releaseDependency(PowerCC26XX_PERIPH_CRYPTO);    

}

             

 

Could you please look into this issue and help us to rectify this.

             

Thank you,

Santhosh A.

CC2640R2F: Watchdog bypass during ISP.

$
0
0

Part Number: CC2640R2F

Hi,

would like to know how to bypass the external watchdog reset to CC2640 during ISP software update and JTAG programming with TPS3828.

TPS65400-Q1: Worst case tOFF_min and tON_min behavior

$
0
0

Part Number: TPS65400-Q1

Could you let me know the worst case tOFF_min of this part (TPS65400QRGZRQ1)?  The datasheet only shows a typical value of 150ns.  We are performing worst case analysis and would need to know the worst case conditions and parameters. Also, could you let me know the behavior of the output when Voutmin calculated based on the tON_min does not meet (larger than) the set voltage output?  Thank you.

CCS/LAUNCHXL-F280049C: GEL Error: identifier ST1 not found /// identifier not found: XAR0

$
0
0

Part Number: LAUNCHXL-F280049C

Tool/software: Code Composer Studio

Hello, 

When I tried to load my program in the board on my computer, it worked fine, however I need to be able to debug the code in another computer. When I tried loading the code I got  this error:

C28xx_CPU1: GEL: Error while executing OnTargetConnect(): identifier not found: ST1
  at ST1=(ST1&~(0x0100)) [f280049m.gel:286]
  at C28x_Mode() [f280049m.gel:92]
  at OnTargetConnect()
C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
C28xx_CPU1: GEL: Error while executing OnReset(0): identifier not found: XAR0
  at XAR0=*((unsigned long *) 0x78000) [f280049m.gel:353]
  at SetupDCSM() [f280049m.gel:33]
  at OnReset(0)
C28xx_CPU1: File Loader: Verification failed: Values at address 0x00000@Program do not match Please verify target memory and memory map.
C28xx_CPU1: GEL: File: C:\Users\ANDAR\workspace_v9_2\buffdac_ex1_enable\CPU1_RAM\buffdac_ex1_enable.out: a data verification error occurred, file load failed.

When I test the connection on target configuration page it passes all tests. I tried loading an example code to see if it works and I got the same error. I downloaded the latest version of CCS (9.2.0) and I still get the same error.

LSF0102: LSF0102 output current with no Pullups on Port A

$
0
0

Part Number: LSF0102

Hi all,

I'm using the LSF0102 as a bidirectional level shifter from 1V8 (port A) <-> 3V3 (port B). Unfortunately I've left out the pullup-resistors on the A-port, although the A-port is an output in some cases and I expect currents per channel of ≤ 1mA.

My questions:

Is it possible to increase the current for the logic '1' by decreasing the resistance of the pullup resistor of VREFB (default: 200k) and thereby increasing Vgs (and thus the threshold), so that the NMOS can drive 1mA @ Vout = VrefA without damaging the device?

And for my understanding:

If this is not possible, the voltage on port A will drop during a logic '1', equally Vgs will increase, causing the resistance of the NMOS to decrease and current can flow from port B to A.
So in this case, I expect the voltage drop to be small (< 0.3V)?!

UCC256404: Operating Frequency Range

$
0
0

Part Number: UCC256404

Hi TI E2E ,

As we know ,the ucc256301 is Wide Operating Frequency Range(35 kHz to 1 MHz) . 

and if ucc256404 should work well in place of ucc256301 or not?

Shall I operate ucc25640x  Series LLC converter the  maximum resonant frequency at 500k ?

TPS54335A: what is this part duty?

$
0
0

Part Number: TPS54335A

Hi ti team,

Could you pls help us that what is tps54335a duty cycle?

When I used input 6.5v, set output is 5v,the output  is abnormal. if input set to 8v,the output 5v normal.

thank!


LMG5200: Max peak current dependent of burst time

UCC28070: The zero crossing flat area is too large

$
0
0

Part Number: UCC28070


At present, I use your UCC28070 chip to make a 220VAC input, Uo = 390V, Po = 5000W PFC product, F = 65KHZ, Dmax = 0.97. The circuit refers to the TI 5KW circuit. The debugging waveforms are shown in following. At present, the half-load power factor is 0.95 and the 4KW load power factor is 0.985, which does not achieve the expected effect of 0.99 or higher. There are a few points of current questions that require consultation.    1. The current zero-crossing platform is too large (the green line is the grid input current waveform and the red line is the grid input voltage waveform). How to eliminate it, the current dead zone platform seriously affects the PF value increase.    2. How to design if the RIMO increases?    3. How to design Rsyn resistor is more reasonable.

LMG5200: Current measured on PGND higher than on SW

$
0
0

Part Number: LMG5200

Hi team,

A customer wants to measure LED current switched by LMG5200. For that they tried using a shunt resistor at PGND. Unfortunately they see higher current on PGND than on SW. For control they need to measure the actual current going to the LED from SW. Measuring on SW is not an option because of time constraints.

Where is the additional current comming from? Is there a pattern to calculate the offset in relation to SW current?

Thank you,

Franz

WEBENCH® Tools/LM5005: LM5005

$
0
0

Part Number: LM5005

Tool/software: WEBENCH® Design Tools

I have designed a DC/DC converter using LM5005 and based on TI Webench tool. My designing criteria is INPUT: 30-75V, OUTPUT: 12V,2Amps. After producing and testing sample PCB. The LM5005 burned at 300mAmps!!! I have few questions: 1- why it happened? 2- Is it possible to open a case and explore the problem? 3- what is the solution? is there any more reliable alternatives?

Regards,

Jafar

CC1352R: Differences between UART driver implementations

$
0
0

Part Number: CC1352R

Hello,

In the driver folder for UART, I can see 3 implementations:
- CC26XX
- CC26X0
- CC26X2

Disabling RX for example is not implemented in the CC26XX driver implementation, but I would very much like to use it.
I tried to use the CC26X2 implementation, but then parts that were previously working (with the CC26XX driver) stop working.

When researching this problem I came across a forum post that stated that the CC26XX driver should be used, as the CC26X0 and CC26X2 are "Not Recommended for New Design".

What would be my best course of action?

Viewing all 262198 articles
Browse latest View live


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