Hi,
I am trying to transmit and receive message through CAN. I am using following part to receive message through code.

I am transmitting message through vechicle SPY which is not updated in CAN_recieve buffer. Also whether this function depends IFLAG value. If CAN receive depends on IFLAG value how we need to update?
Also I am using CAN_recieve part of FlexCAN program for CAN 2.0 in cookbook for S32K144.
Please help to fix this issue. Let me know if any another information needed to fix this.