Other Parts Discussed in Thread: TMS570LS0432
Tool/software: TI C/C++ Compiler
Hello
When I use tps65381 connect with tms570ls0432,I found
program stay here “while (ecmpIfGetRegister(ECMP_SAFETY_STATUS5) != 7);”
unsigned short ecmpIfGetRegister(unsigned short reg)
{
unsigned short command = ecmpIfCOMMAND[reg].Read;
unsigned short value = 0;
spiREG2->DAT1 = 0x04FE0000 | command;
while((spiREG2->FLG & 0x100)!=0x100);
value = (spiREG2->BUF) & 0xFF;
return value & 0xFF;
}
return 7
why?
this is my configure