We use can_pal.c moudle to implement CAN bus function.
System starts reception via CAN_Receive and install a callback function via CAN_InstallEventCallback.
Static void internalCallback( U32 interface, /**< CAN interface */ can_event_t eventType, /**< The type of the event */ U32 box, /**< Message box */ void *state) /**< Internal driver state information */
When a CAN frame is received, the callback function is called correctly.
However, when we get message: ((flexcan_state_t*)state)->mbs->mb_message, it's not correct.