FlexCAN example for DEVKIT MPC5744P using CAN0

cancel
Showing results for 
Search instead for 
Did you mean: 

FlexCAN example for DEVKIT MPC5744P using CAN0

311 Views
Contributor I

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?

0 Kudos
1 Reply

81 Views
NXP Employee
NXP Employee

Hello vernonhawes@gmail.com‌,

There are 3 possible examples that you could be working from. 2 are from the SDK, and one is without SDK. 

pastedImage_1.png

Which example are you using as your reference?

Would you mind providing your project from the workspace so we could examine it?

If you are using the SDK, then perhaps there are some settings in the SDK which you need to change, but missed.

There's no jumpers which directly affect the CAN. You can check for yourself.  https://www.nxp.com/downloads/en/schematics/SCH-29333.pdf 

Best Regards,

Mike

0 Kudos