dear NXP experts:
I met a problem that ECU will jump into Hard fault if ECU receive CAN frame in polling mode .
I take use of EB driver(SW32K3_S32M27x_RTD_R21-11_4.0.0_P04) and set Can_43_FLEXCAN_MainFunction_Read() in 10ms task.
ECU would be easily jump into hard fault. if I send frame by CANOE cycle or manually.
if I put Can_43_FLEXCAN_MainFunction_Read() in while(1), ECU can successfully receive CAN frame for a long time. but I can not sure ECU will not jump into hard fault for ever.
I try to
debug this problem and I suspect the function "FlexCAN_StartRxMessageBufferData" that each time ECU jump into trap the "else branch " can not be executed like the snapshot.

do you have any suggestion about this problem thank you .