Hello @Dinesh_Guleria
I am using S32K312 EVB and it's not hitting to flexcan0_Callback it's continously in main.c main() function for toggling led.
i used same *mex file and main.c ,main_can.c and main_can.h file
Hi,
do you refer to below example?
https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-CAN-Transmit-amp-Receive-Using-MB-I...
If testing this one directly, is it working on your EVB?
If just your project does not work, can you share it here?
There can be many reason interrupt is not hit. Assuming interrupt is properly set and enabled, detecting an error can prevent message to be stored in teh MB. So do you see anything reported on CAN tool or within module (check ESR1/ECR registers).
Do you have CAN transceiver properly initialized?
BR, Petr
hello PetrS
i have referred same example here , i will be sharing the my project.
can you look into this and guide me
Hi,
change CAN PE setting so it corresponds for value set in FlexCAN component
Check what CAN transceiver is used on your board. If TJA1153 then its initialization will be needed, if not already done. You can refer to https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test... for possible implementation.
BR, Petr