This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS0714: TMS570LS0714 Charging is not happening

Other Parts Discussed in Thread: TMS570LS0714

Dear Sir,

We have our customized board TMS570LS0714 for the Active Cell Balancing.  In customized board,we are able to perform discharging from cell to battery pack.But, we unable to perform charging (i.e., power flow from pack to cell).While charging the cell, the code is getting struck at following loop in EMB_Stop():

if((g_ui32EMB1428Status &(0xF0)) != 0xA0)
{
while (1);

}

 

We also get the following error:

Value of the g_ui32EMB1428Status variable is 0x00000010 or 0x000000B0.

Can we know what does this error indicate? Can you please suggest us a few solutions to resolve this problem?

I am attaching code and schematics. If you need any other information please let us know. 

0564.23-7-LCU-SPI.zip3264.Schematics_New (1).pdf

 

  • Hello Krunal,

    Please refer to the EMB1428 datasheet.

     g_ui32EMB1428Status is the return value of SPI transfer. The upper 4 bit is fault code, and the lower 4 bit is SPI command.

    The fault codes are listed in Table 3. The SPI command is listed in Table 2.

    Is the SPI configured properly (byte transfer)?

  • Hi Wang,

    Thank you for the reply. 

    we refer EMB1428 Datasheet. Value of the g_ui32EMB1428Status variable is  0x000000B0. The fault code also we see in the datasheet. but we cannot able to solve this errors codes.

    Can you please tell us how to resolve this error codes?

    Yes, SPI is properly configured. Here for DAC_output, we have configured SPI2. and for transferring command to EMB1428 from Micro controller., we have configured SPI1.

    I am attaching screenshot of the charging and discharging command.

    Looking for your suggestions.

  • Hello,

    The SPI communication looks fine. Did you check with BMS team about using EMB1428 device?

  • Hi Wang, 

      Thank you so much for your response. We got the idea of using EMB1428 IC from TI application notes. Hence, used this IC. From our hardware team we checked the supply and other connections. Everything looks fine. Moreover, the discharging of the cell to battery pack is also getting executed well. But, charging of the cell is not working.  

    Do you suspect that there is something wrong with EMB1428? And can we know what does the error code 0x00000010 response from EMB1428/1499 mean? We are unable to interpret this error code. 

    Please help. Eagerly looking forward to your response. 

    Thanks and regards

    Krunal Desai

  • Hi Krunal,

    I am not familiar to EMB1428 and EMB1499. Please check power management forum to get help:

    e2e.ti.com/.../196