I am using the SDK provided by NXP for the MPC574xR. can_pal.c from S32_SDK_S32PA_EAR_1.8.0 .
In this, there is a "flexcan_error_callback_t" which can be used to configure the error callback and "flexcan_state_t" keeping track of the state of flexcan. But I don't see how this callback can be configured from the Processor Expert in which the CAN PAL can be configured. Is there any way for me to configure this error callback function such that when an error occurs in the CAN transmission/reception, this callback would be activated.