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

CCS/TMS320F28377S: CCS/TMS320F28377S

$
0
0

Part Number:TMS320F28377S

Tool/software: Code Composer Studio

I have recently started out with code composer studio and started out with the basic blink example from the control suite

but for some reason, the led is not blinking!! can you please help out !!


TAS5756M: TAS5756M

$
0
0

Part Number:TAS5756M

Hi Andy,

I still have some questions about the memory of the miniDsp in TAS5756.

After reviewing the TAS3251EVM evaluation sheet I have to say that this AMPLI family is excellent and allows a lot of project flexibility with exceptional sound quality. One only drawback: if it had an internal memory it would be even simpler and more immediate!

Your suggestion would be to use the TI MSP430 micro-controller component. Is this component sufficient to maintain the memory of the pre-established configuration? Or do I also need to use an XMOS, that I see in the evaluation sheet?

Back to the TIMSP430 micro-controller: the functions as per Figure 5. TAS3251EVM Schematics (2 of 6) SW-MUTE SW-VOLUP -VOL DN ... and so on, are already set up in the micro-controller or do they need programming for each installed component?

Thank you so much for your feedback on the matter.

Eugenio

BQ76920: Review and EVM suggestion

$
0
0

Part Number:BQ76920

Hi,

1) We have implemented the attached circuit for monitoring, balancing and protection of 4 cells of LiFEPO4, with a charge and discharge current of 10A. We request TI for a circuit review.

2) We would like to interface this PCB through an isolator circuit (built around ISO1540) and an I2C-USB converter to a PC running BQSTUDIO tool. Is this possible, or we need to use a TI EVM?

3) Can BQSTUDIO support the LiFePO4 chemistry and help us do a quick program of the BQ78350 parameters as per our application?

Regards

Gaurav

(Please visit the site to view this file)

CCS/IWR1443: IWR1443 "no endianness"

$
0
0

Part Number:IWR1443

Tool/software: Code Composer Studio

I have CCS 8xxx and I keep importing the examples but none will work with the debugger.  I keep getting the error :

Can't Initialize Target CPU:

The driver property "Endianness" was not defined

It's set on the General page so why doesn't it know that?

TPS2662: reducing part count

$
0
0

Part Number:TPS2662

Hi All,

I have some questions related with reducing pcb surface of eFuse and its external components:

1. Can I connect FLT to GND or RTN if FLT is not used?

2. Datasheet shows that SHDN has an internal pull-up so it may be left unconnected, I think. I don't need UVLO so my idea is to connect UVLO to SHDN to avoid 200k resistor between UVLO and IN. Will it work?

AM5726: Heatsink considerations

$
0
0

Part Number:AM5726

Hi everybody , 

is there any standard heat-sink part number for the Sitara AM5716/26? any suggestion ? 

  anyway my preferred option should be no heatsink at all .

in my case  I am about 3.5W on AM5726  and  a room temp up to 55 degrees  , in the industrial EVM there are drill holes beside the CPU for it  ,

do you have any indication on how much I can dissipate through  PCB ?  any  suggestion ?

regards

Carlo

TLV320AIC3254: The PurePath_Studio_Portable_Audio_MiniDSP_v5.95 can't install

$
0
0

Part Number:TLV320AIC3254

Dear Support

I downloaded the software from TI website. the file name is "setup_PurePath_Studio_Portable_Audio_MiniDSP_v5.95_build1_rev35815" and "setup_PurePath_Studio_Home_Audio_MiniDSP_v5.95_build1_rev35815"

The Home Audio installed on my computer but Portable is can't install, always show 1152: Error extracting to the temporary location.

I try to install the Portable on another computer it still shows the error, I feel is the file problems Can you share me the new file download link? or other action to fix?

MSP432P401R: I2C doesn't work

$
0
0

Part Number:MSP432P401R

Hello,

I am trying to get the I2C working on the MSP432 (self-designed board), but I can't get it to work.

I am trying to communicate with a LCD screen (type: MCCOG42005A6W-BNMLWI. I2C module in LCD:SSD1803A) but without much success.

The problem occurs when I try to send something over the I2C bus, it gets stuck in the send-function. When debugging the code, it goes into a disassembly file. Whether I send a single byte or multi byte, it won't send

This is the code I am using, based on one of the msp examples:

/* Standard Includes */
#include <stdint.h>
#include <stdbool.h>

/* Extra Includes */
#include "display.h"

/* Slave Address for I2C Slave */
#define SLAVE_ADDRESS 0x48

//![Simple I2C Config]
/* I2C Master Configuration Parameter */
const eUSCI_I2C_MasterConfig i2cConfig =
{
        EUSCI_B_I2C_CLOCKSOURCE_SMCLK,          // SMCLK Clock Source
        3000000,                                                               // SMCLK = 3MHz
        EUSCI_B_I2C_SET_DATA_RATE_100KBPS,     // Desired I2C Clock of 100khz
        0,                                                                           // No byte counter threshold
        EUSCI_B_I2C_NO_AUTO_STOP                        // No Autostop
};

//![Simple I2C Config]

int main(void)
{
    volatile uint32_t ii;

    /* Disabling the Watchdog */
    MAP_WDT_A_holdTimer();

    //Select Pin 6.4 & 6.5 to be used as I2C modules 
    GPIO_setAsPeripheralModuleFunctionInputPin(GPIO_PORT_P6, GPIO_PIN4 + GPIO_PIN5, GPIO_PRIMARY_MODULE_FUNCTION);

    /* Initializing I2C Master to SMCLK at 100kbs with no autostop */
    I2C_initMaster(EUSCI_B1_BASE, &i2cConfig);

    /* Specify slave address */
    I2C_setSlaveAddress(EUSCI_B1_BASE, I2C_DISPLAY_SLAVE_ADDRESS);
    I2C_setMode(EUSCI_B1_BASE, EUSCI_B_I2C_TRANSMIT_MODE);

    //sending this dummy to check if I2C works
    I2C_masterSendSingleByte(EUSCI_B1_BASE, 2);

// functions which send commands to the LCD _i2c_display_init(); display_StartUp(); while (1); }

I deleted the whole interrupt of the I2C, because I don't want to over complicate my code. But is this necessary for using the module?

Thank you in advance,

Regards,

Caspar


BQ51050B: Is it okay to use BQ51050B for 50mA~150mA charge current

$
0
0

Part Number:BQ51050B

Hi, Team

My customer is studying BQ51050B for 4.2V battery.

But the charge current only 50mA~150mA, does the BQ51050B could support this small charge current?

AM3352: I2C Slave transmit length

$
0
0

Part Number:AM3352

We currently have a problem with I2C slave transmitting more than 32bytes. 

We are using interrupt mode, and the I2C_DATA reg to receive and transmit bytes. 

According to the am335x datasheet, 21.3.14.4, to transmit more than fifo size, we need to enable the draining feature. But in the draining feature there’s no mention of the i2c slave mode write. There are mentioning of the fifo and XUDF or XDR interrupt. 

Our current model is to waiting for XDR interrupt, and then read all the accumulated received bytes from the fifo, and then send the response back to the master by writing to the txfifo in the XDR interrupt directly. This works quite well when the response message is smaller than 32bytes.

When the reponse message is larger than 32bytes, we tried to enable the XUDF, and continue our send to the tx fifo.  but it seems too late when the XUDF int came, and the message is not complete. 

What would be the correct way to response send messages longer than 32bytes as I2C slave on AM3352

AM4377: AGND to GND connection

$
0
0

Part Number:AM4377

Hi everybody , 

please do you have any raccomandation on how to connect the two grounds properly ?

should I  split ground planes ?  have just a single point between the two ?   use a Ferrite in between ?

thank you 

regards

Carlo

CC1310: in EasyLink_init() parameter EasyLink_params.ui32ModType is ignored

$
0
0

Part Number:CC1310

Hello!

I found this code in EasyLink_init():

#if (defined(FEATURE_OAD_ONCHIP))

EasyLink_params.ui32ModType = EasyLink_Phy_Custom;

#endif

I used this define and was very surprised then Phy did not changed as expected. I think, somebody used this for debug and forgot in production version of EasyLink.

TIDL host mulation log

$
0
0

Hi,

Here is a log of TIDL 01.00.00.00 testvector running in host emulation. Its configuration file is tidl_config_jseg21_tiscapes.txt.

What is meaning of each column for (1) - (11) ?
I could not find the explanation in doc.

---
Processing config file ..\testvecs\config\infer\tidl_config_jseg21_tiscapes.txt !
  ...
 Layer    1 : Max PASS :    15301 :    15301 Out Q :      254 ,    43861, TIDL_BatchNormLayer, PASSED  #MMACs =     1.57,     0.00,     1.57, Sparsity :   0.00, 100.00
 Layer    2 : Max PASS :    45516 :    45516 Out Q :    17037 ,    45694, TIDL_ConvolutionLayer, PASSED  #MMACs =   314.57,   106.95,   121.63, Sparsity :  61.33,  66.00
 Layer    3 : Max PASS :    26380 :    26380 Out Q :     9253 ,    26483, TIDL_ConvolutionLayer, PASSED  #MMACs =   301.99,    43.65,    56.10, Sparsity :  81.42,  85.55
   ...
---
 Layer  (1) : Max PASS :    (2)   :    (3)   Out Q :     (5)  ,    (6)  , TIDL_xxxxLayer       , PASSED  #MMACs =   (7)   ,    (8)  ,    (9)  , Sparsity :  (10) ,  (11)


Best regards,
Saito

CCS/TMS570LS0432: Simple SPI1 communication with loopback

$
0
0

Part Number:TMS570LS0432

Tool/software: Code Composer Studio

Hi,

I use a TMS570LS0432 Launchpad.

I'm trying to program a simple SP1 communication with loopback like in this demo :

https://training.ti.com/hercules-tutorial-mibspi-overview 

The only change I want to make is to replace the mibspi1 by the spi1. I haven't found an example for that and I can't get it to work. (It works very well with mibspi1)

Is there any example for the HalCoGen configuration and CCS studio code ?

Thank you in advance for your answer!

Linux/AM5728: SD card boot error

$
0
0

Part Number:AM5728

Tool/software: Linux

Hi

I have a problem booting Linux from SD card. I've some posts like this 

But no one answered it.

[    2.437431] Waiting for root device PARTUUID=eab820e9-02...

The TI sd card with sdk 2.0 is working fine.

My sd card with sdk 2.0 is working too.

The same card with latest sdk 4.0 and 3.0 is not working.

I have tried with AM5728 GP EVM original SD-Card and 3 other Cards: SanDisk, Toshiba, Kingston. All act same. I just can boot SDK 2.0 with all of them.

The log from SDK 3 is attached. (Please visit the site to view this file)


RTOS/CC2640R2F: I2C working but stuck after a while when doing successive write

$
0
0

Part Number:CC2640R2F

Tool/software: TI-RTOS

Hi,

I'm using a CC2640R2 on a custom board with multiple devices on one I2C bus, using TI-RTOS with IAR. I started my application from the Simple BLE Peripheral from the simplelink_cc2640r2_sdk_01_50_00_58 SDK. I only have one task running in my program.

Everything seemed to work fine (every devices on the bus working as expected), but now that I want to do something a little different, the program gets stuck after a while.

When an event is received in the SBP task, I'm starting to do a long loop that read/write data to the I2C devices, and write some output through UART. This loop last for more than 30 sec, but this wasn't a problem.

The problem arised when I added communication with an Si514 in this loop. The program works as expected but suddenly stop after a rather regular time.
I tried reducing I2C bus bitrate (400KHz --> 100KHz) but it didn't solve the problem. I tried to enlarge the app stack size, but it didn't work either.
What seems to prevent the program to stop is to remove some of the I2C transactions. Below is a part of the code that is executed inside the loop.

static bool si514_write_reg(uint8_t reg, uint8_t *data, uint8_t len)
{
  uint8_t buff[32] = {reg};

  if(len >= sizeof(buff))
  {
    return false;
  }

  memcpy((buff + 1), data, len);

  I2C_Transaction i2cTransaction;
  i2cTransaction.slaveAddress = Board_SI514_ADDR;
  i2cTransaction.writeBuf = buff;
  i2cTransaction.writeCount = (len + 1);
  i2cTransaction.readBuf = NULL;
  i2cTransaction.readCount = 0;

  return I2C_transfer(i2c, &i2cTransaction);
}

...Somewhere in my long loop
{
  uint8_t buff[7] = {0};

  buff[0] = m_frac;
  buff[1] = (m_frac >> 8);
  buff[2] = (m_frac >> 16);
  buff[3] = ((m_frac >> 24) | (m_int << 5));
  buff[4] = (m_int >> 3);
  buff[5] = hs_div;
  buff[6] = ((hs_div >> 8) | (ls_div_bits << 4));

  //It seems that the following 2 I2C write stuck the program after a while ...
  if(!si514_write_reg(SI514_REG_HS_DIV, (buff + 5), 2))
  {
    return false;
  }

  if(!si514_write_reg(SI514_REG_M_FRAC1, buff, 5))
  {
    return false;
  }
}

I tried to comment out either of the two si514_write_reg and then the program doesn't get stuck. I also tried to add a delay between the two si514_write_reg, but this doesn't seem to change anything.

Is there something I'm missing ? I don't understand why this would work at first but block after a while.

If you need any more information in order to help me, please just ask, I'll answer as soon as possible.

Best regards,

Mehdi

DS90UB947-Q1: sch problem

$
0
0

Part Number:DS90UB947-Q1

Hello TI Experts,

Now I am using DS90UB948 compared with DS90UB947~(DS90UB947 is only for test and evaluation)

Their is only one pair CLK± according to DS90UB947 Datasheet,But my CPU has two pairs of CLK±, LVDS0-DCKP/N and LVDS1-DCKP,

I want to know when I design the schematic,I choose LVDS0-DCKP/N or LVDS1-DCKP,Is it right?

Thank you very much~

AM5726: EtherCAT hangs

$
0
0

Part Number:AM5726

Hello everybody , 

I m on CCS7  plus ethercat code ( from web ) , I tested on two IDKs .  using code 

Slave_full example. No application code added, just few logs.

  Slave_full 

code  worked for a while  , then  hanged :  is  spinning endless in HW_init  waiting  for ESC (EtherCAT slave controller implemented in PRU) to get started.

in hanging board I can do step by step etc , so processor is alive and responding 

 Reset, Power cycle, application reload does not help.

It happened with one EVB and then with the second after few restarts.

I attach screen shots with stack trace and above mentioned while loop where problem occurs. Please Pay attention to u16PdiCntrl, which is read out of ESC memory. It contains 0x7f, which is not valid value for this register and looks like garbage. Expected value is 0x80.

what should I try  ?

regards

carlo

CCS/CC2650MODA: Simple peripheral example

$
0
0

Part Number:CC2650MODA

Tool/software: Code Composer Studio

Hi,

I'm trying to get simple_peripheral example working on cc2650 boosterpack. In the SDK I found only example targeting cc2650 lunch pad. and here is question 1:

Is there any cc2650moda example that does anything with bluetooth for CCS?

I used the LP example and just modified board to CC2650DK_5XD. After removal of external flash the code compiles but doesn't run.

Does the example automatically link BT-stack and RTOS libraries or do I need to burn those separately? what about bootloader - is it needed?

Is there any training available to understand to complex structure of your software?

thanks,

Jan

TCAN1043-Q1: About the termination of the WAKE pin

$
0
0

Part Number:TCAN1043-Q1

Hello Team,

When not doing LWU,it seems to connect the WAKE pin to VSUP in the datasheet.
If VSUP is momentarily interrupted for more than tWAKE_HT at sleep mode, will it be judged as LWU by WAKE pin and will enter standby mode?
Is it possible to connect the WAKE pin to GND? Is it difficult because power is not supplied to the WAKE circuit?
If GND is OK, there is no worry about this. Looking at Figure 24 "Local Wake Up – Rising Edge", it does not seem to be a problem.

Best regards,
Kato

Viewing all 262198 articles
Browse latest View live


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