I am using MIMXRT1020-EVK board and interfacing this board with another board using CAN. for testing purpose I am using driver example flexcan_interrupt_transfer available in SDk example. when I start debugging code I can see it is not entering in interrupt routine, so TX function not being called and transmission not taking place. I am using different EVK board ,Do i need to use same EVK board ? and if it is not possible to use same EVK board what should I do to transmit and receive data using flexcan driver example?
Masmiseim's checking is valuable.
1. you need to check your LPC side, whether it has the CAN transceiver or not.
2. You need to check two board is using the same bitrate in the CAN bus
3. If you don't have two MIMXRT1020-EVK board, you also can use another CAN NODE, take an example, the PC CAN testing tool with the CAN Analyzer tool, this tool will be another CAN node, and can send or receive data from your RT1020-EVK board.
Wish it helps you!
could you describe your hardware setup?
Which Board are you using beside the MIMXRT1020-EVK? Are you accessing the CAN-Bus via J10 on the MIMXRT1020-EVK?
I am using LPC1788 and yes I am accessing CAN bus via J10.
just some ideas: