CAN error callback installation SDK MPC574xR

Showing results for 
Search instead for 
Did you mean: 

CAN error callback installation SDK MPC574xR

Contributor IV


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. 

Thank you. 

Labels (1)
0 Kudos
0 Replies