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.

TMS320F2812: CAN Transmission Acknowledge register (CANTA)

Part Number: TMS320F2812

I´d like to know whether the Transmission Acknowledge register (CANTA) must be cleared by the CPU before starting a new transmission or not.

My software does not use interrupts and performs the piece of code bellow before starting a new transmission on mailbox 0.

ECanaShadow.CANTA.all = ECanaRegs.CANTA.all;
ECanaShadow.CANTA.all |= 1;
ECanaRegs.CANTA.all = ECanaShadow.CANTA.all;
do
{
ECanaShadow.CANTA.all = ECanaRegs.CANTA.all;
} while ((ECanaShadow.CANTA.all & 1) == 0);

I ran a test and the software got trapped in the "while loop". In this test there were other nodes on the CAN bus, but no one was operational (acknowledging the message).

Thanks