Dear all,
There was a problem when I implemented an interrupt handler. As shown below.
Hi,
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.
S12Z Interrupt catcher for unexpected interrupts
Could you please check the "3.3.2.2 Error Code Register (MMCECH, MMCECL)"?
Also, in the RM rev. 2.11 in the section "13.3.2.5 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.
Best Regards,
Diana
Hi,
This problem has been solved . The reason is that one of interrupts was not complete.Thank you for you help.
Best Regards,
Katherine