How I use CAN interupt to receive data? Do I have to use CAN0_ORed_IRQHandler?
Because without using interrupts I'm losing data.
Does anyone have an example?
You need to use CAN0_ORed_0_15_MB_IRQHandler or CAN0_ORed_16_31_MB_IRQHandler depending on used MB. Moreover, the interrupt controller have to be initialized and interrupt enabled within the FlexCAN module for desired MB using the IMASK1 register.
Attached is the modified FlexCAN example which is included within an S32DS13 intallation.
Loopback mode is enabled (can be tested on single board) and interrupt for MB4 is added.
Thanks for your feedback.It's working here.
Retrieving data ...