Where can I find devkit-comm CAN examples ?

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

Where can I find devkit-comm CAN examples ?

753 Views
pradeep_tewani1
Contributor I

I have been trying to get the devkit-comm working on MPC5478G. Are there any additional configurations that need to be done to connect it ?

I have tried routing the CAN 1 to CAN A ( on devkit-comm ) using the processor expert. The same code works when replacing CAN 1 with CAN 0 ( CAN port on MPC5478G ) .

Have tried searching the example pages for MPC5678G and devkit-comm homepage. However was unable to find them.

Any help would be appreciated.

0 Kudos
Reply
1 Reply

746 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

there is no direct example, but you should be able to reuse available one, I think.
You need just to which pins transceiver are connected, using DEVKIT-COMM user guide (https://www.nxp.com/docs/en/quick-reference-guide/DEVKIT-COMM-QSG.pdf) or both boards schematic. Then in code, or in PE, select right CAN module and set proper pins, as per schematic.

As CAN_A pins are connected to MCU's PC10/PC11, then CAN1 or CAN4 modules should work.
CAN0 (PB0/PB1 pins) is not connected to headers at all.

 

BR, Petr

0 Kudos
Reply