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.
The description in the Interrupt Register (DCAN INT) field descriptions table is missing information about how to clear error and status register interrupts.
The table says that the message objects IntPnd bit must be cleared for message object interrupts to be cleared. But no information is given on how to clear the error/status type interrupts.
The DCAN interrupt handler w. HalCoGen branches to one of three places depending on the type of interrupt and if you want to do reentrant interrupts you need to know what action clears the interrupt flag depending on each case, so you can insert the _enable_IRQ() pragma in the right place. If you put it too early you'll get an infinite loop of DCAN interrupts. Thus this info is very important.
Anthony,
I've requested our DCAN experts to have a look at it and do the necessary modifications.