Hi,
Some updates. I tried adding CAN1 of the LCEVB as a receiver:
- Configured PC[10] and PC[11] as CAN1 TX and CAN1 RX respectively in pin_mux
- Called FLEXCAN_DRV_Init on CAN1
- Connected jumper wires from CAN0 interface to CAN1
Still the execution gets stuck at that line of code when transmitting from CAN0.
I hooked up an oscilloscope to the output of CAN0, and there is indeed data being transmitted. The data on the scope seems to correspond with the CAN ID and data.
I've also tried the bare metal examples for flexCAN loopback on the LCEVB, and I'm able to send from CAN0 to CAN1.
Is there something in the SDK not configured correctly? Any help would be greatly appreciated!
Bertrand