MCXN947 canbus activation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCXN947 canbus activation

ソリューションへジャンプ
1,336件の閲覧回数
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,277件の閲覧回数
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,311件の閲覧回数
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,278件の閲覧回数
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,199件の閲覧回数
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,319件の閲覧回数
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 件の賞賛
返信