MCXN947 canbus activation

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

MCXN947 canbus activation

跳至解决方案
1,339 次查看
stevenlutz
Contributor III

I'm using the FRDM-MCXN947 canbus loop back example as a starting point for sending and receiving canbus data.

However, when I disable loopback and mix the pins, the mcu still doesn't seem to be connected to the canbus pins.

Data output doesn't get detected on the oscilloscope. 

 

Is there something else that I'm missing g for the loopback example to be able to communicate with other can nodes? 

0 项奖励
回复
1 解答
1,280 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @stevenlutz 

I changed the interrupt demo.

I switched the extended can and disable can FD.

Harry_Zhang_0-1736739532787.pngHarry_Zhang_1-1736739621014.pngHarry_Zhang_2-1736739637820.pngHarry_Zhang_3-1736739882080.png

You can see that there is data transmission on the CAN bus.

BR

Harry

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,314 次查看
stevenlutz
Contributor III

I've looked at all 3 CAN demos.
Getting the loopback demos to be active on the wire doesn't work when disabling the loopback mode. 
Can you advise why? 

The interrupt demo also doesn't put data on the wire when switching to extended can and disabling can FD. 



 

0 项奖励
回复
1,281 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @stevenlutz 

I changed the interrupt demo.

I switched the extended can and disable can FD.

Harry_Zhang_0-1736739532787.pngHarry_Zhang_1-1736739621014.pngHarry_Zhang_2-1736739637820.pngHarry_Zhang_3-1736739882080.png

You can see that there is data transmission on the CAN bus.

BR

Harry

0 项奖励
回复
1,202 次查看
stevenlutz
Contributor III
I did the same thing, but there was a bit of code earlier in the demo that I didn't understand.
After lookingat the datasheet for the can Tranciever I saw that the initialization function needed to stay in.

0 项奖励
回复
1,322 次查看
Harry_Zhang
NXP Employee
NXP Employee

Hi @stevenlutz 

If you want to communicate with other CAN nodes using FRDM-MCXN947 board,

You can refer to flexcan interrupt demo.

Harry_Zhang_0-1736494947869.png

Hope this will help you.

BR

Harry

0 项奖励
回复