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.

TMS320F28379D: ESC stuck in loop when init CPU1

Part Number: TMS320F28379D

Hello,

i have a problem starting CPU1. Compiling and linking is doing fine on both cores. Then when i start the debugging, the CPU1 is stuck in  a do while loop.

The do while loop is in the c28xxhw.c file of the SPI_EtherCAT_slave_stack code:

the variable u16PdiCtrl is always 0xFFFF when it reads from the ESC and never leaves the loop.

Do you have any idea why this is or how can i debug this better?

If you need more informations please let me know.

Thank you for helping

Best regards