I'm trying to send and receive CAN signals periodically using the DEVKIT MPC5744P on the CAN0 port. The FlexCAN example program included with the S32 Design Studio for this DEVKIT sends signals on CAN2 with loopback. I've tried to modify the same code to send and receive on CAN0 since this port has the transceiver signals with CANH, CANL and Gnd output pins with which I can monitor the CAN communication. I'm trying to monitor the CAN bus using a Vector CANcase HW and Vector CANoe software. But all I see is error frames even though I've connected a termination resistance of 120 ohm across the CANH and CANL.
I'm not sure what is wrong with my code.
Could someone please share example code for the above scenario?
Also are there any hardware/jumper pin settings that need to be taken care on the DEVKIT?