Other Parts Discussed in Thread: TMS570LS0714, , EM1402EVM, HALCOGEN
Hi,
I am doing active cell balancing in TMS570LS3137. the example code available is working on the evaluation board with SPI communication. Now, i want to implement it through MIBSPI not with SPI.
while debugging, the code getting struck in the following:
g_ui32EMB1428Status = spiTransferByte(mibspiREG1, (EMB_COMMAND<<4));
if((g_ui32EMB1428Status &(0xF0)) != 0xA0)//done =high, enable=low
{
while (1);
}
and g_ui32EMB1428Status value is 0xD8.
i am attaching my halcogen file with code. kindly review it and please let me know if any configuration setting, i am doing wrong.
Thanks,
Regards,
Gargi Pancholi
