after the chip sleeps, power on again after a period of time (About 20s), MCU may automatically trigger a CAN wakeup interrupt, resulting in an incorrect process,How to avoid this phenomenon?
Blow is my code:
void interrupt Vcanwkup_ISR(void)
{
CANRFLG_WUPIF = 1;
CANRFLG = 0x80;
CANCTL0 = 0x00;
CANRIER = 0x01;
System_WakeupByCanFlag = 1;
}
MCU_Stop();
if(System_WakeupByCanFlag == 1)
{
System_WakeupByCanFlag = 0;
_MCU_Restart();
}
Hi,
How can I prohibit CAN Tx's action, or how to prohibit the chip from responding to CAN ACK?
Hi,
the only possibility is to have CAN initialized in a Listen only mode.
Best regards,
Ladislav