When testing CAN communication, the customer uses the timed interrupt function to poll "CanaRegs.CAN_INT.bit.INT0ID" to update data. When the customer uses mailbox 1-19, the CAN reception and transmission are normal.
However, when the customer uses mailbox 20 or more, it cannot trigger "CanaRegs.CAN_INT.bit.INT0ID", and it cannot enter the CAN processing program to update the received or sent data.
Can the "CanaRegs.CAN_INT.bit.INT0ID" bit not be triggered when using mailbox 20 or above? Is there any other way to solve it?
CAN initialization code:
void CanInit(void)
{
CAN_initModule(CAN_BASE);
CAN_enableInterrupt(CAN_BASE, CAN_INT_IE0 | CAN_INT_ERROR);
sCANAMailboxConfig();
CAN_startModule(CAN_BASE);
}