I am working with KE18F and trying to use FLEXCAN.
My aim is setting up the CANbus and wait for the incoming messages that initiates the interrupt subroutine. I want to use CAN0_ORed_Message_buffer_IRQn and its function. I somehow enter this subroutine when I try to send a data using another mailbox and stay in that subroutine continiously.
I set up interrupt as below:
I also create handle
FLEXCAN_TransferCreateHandle(CAN0, &flexcanHandle, flexcan_callback, NULL);
The interrupt enters after
Where I am missing, and how can I figure out what the problem is? Where should I check?
Thanks in advance,