I am using S32K144, i want some sample code to test Flex CAN in loopback mode. I have written code but it is not working.
see attached example. It is not loopback mode but it should help. Two FRDM boards are used.
Pushing SW2 on Tx board starts sending CAN message, then Rx board reply same message to Tx board.
You can configure project for Rx and Tx at line 41 in main.c.
Thank you for reply, I am managed to configure example code as in loopback mode and its working fine.
Can you please explain how you are able to configure the above example in loopback mode.It will be helpful if u attach the code with the reply.
I am beginner for CAN , can you please explain how should I use above attached code for CAN functionality on S32K144 Eval board ?. I have PCAN view tool how should I see data their.
Thanks & Regards,
Here is my sample code for LoopBack Test for FlexCAN.
GitHub - arvind747/S32K144_FlexCAN_LoopBackTest: Example code of FlexCAN loopback test
Retrieving data ...