Where can I find devkit-comm CAN examples ?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Where can I find devkit-comm CAN examples ?

752 次查看
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 项奖励
回复
1 回复

745 次查看
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 项奖励
回复