MCXN947 canbus activation

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

MCXN947 canbus activation

Jump to solution
204 Views
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 Kudos
Reply
1 Solution
145 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
179 Views
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 Kudos
Reply
146 Views
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 Kudos
Reply
67 Views
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 Kudos
Reply
187 Views
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 Kudos
Reply