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.
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