Hi Byungju,
sure - there is interrupt specially for Bus Off - CAN0_ORed_IRQHandler and for other errors you can implement
CAN0_Error_IRQHandler.
You can install your handler by INT_SYS_InstallHandler();
More details about CAN interrupts you can find on Chapter 53.1.4 FlexCAN Interrupts (S32K1xx Series Reference Manual, Rev. 7, 04/2018 - page 1630). SDK example lpit_periodic_interrupt_s32k144 is good example how to add custom interrupt handler.
Hope it helps.
Jiri
Hi Byungju,
sure - there is interrupt specially for Bus Off - CAN0_ORed_IRQHandler and for other errors you can implement
CAN0_Error_IRQHandler.
You can install your handler by INT_SYS_InstallHandler();
More details about CAN interrupts you can find on Chapter 53.1.4 FlexCAN Interrupts (S32K1xx Series Reference Manual, Rev. 7, 04/2018 - page 1630). SDK example lpit_periodic_interrupt_s32k144 is good example how to add custom interrupt handler.
Hope it helps.
Jiri