FLEX CAN code for MPC5777C

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FLEX CAN code for MPC5777C

1,154 Views
dineshmoka
Contributor III

hi can I get the example code for sending and receiving the data using FLEX CAN in MPC5777C 

Tags (1)
0 Kudos
Reply
2 Replies

1,133 Views
peter_vranken
Contributor IV

We‘ve published a CAN driver for MPC5775B/E and MPC5748G in github. As far as I know, your MPC5777C has the identical FlexCAN devices, and you could consider adopting that driver. 

In GitHub, search for project DEVKIT-MPC5748G and go to sample CAN ( https://github.com/PeterVranken/DEVKIT-MPC5748G/tree/master/samples/CAN ). The code is well documented, made for the compiler from the Design Studio and should be soon migrated. C11 is the language standard required for the compilation. I would expect differences in pin routing, dependent on the board you use.

0 Kudos
Reply

1,147 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

You can find example code here:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445#MPC5777C

Or you can use S32DS +SDK

Best regards,

Peter

0 Kudos
Reply