There was a problem when I implemented an interrupt handler. As shown below.
The Processor expert function ISR(Cpu_Interrupt) is called from each unimplemented interrupt to catch the unexpected
event. The example below can be useful to identify the unimplemented interrupt.
Could you please check the "184.108.40.206 Error Code Register (MMCECH, MMCECL)"?
Also, in the RM rev. 2.11 in the section "220.127.116.11 MSCAN Receiver Flag Register (CANRFLG)" we can see that RSTAT[1:0] and TSTAT[1:0] flags are read-only.
I hope it helps you.