CAN2 not work for S32K146, CAN0 works well

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

CAN2 not work for S32K146, CAN0 works well

246 Views
sunnyfeng
Contributor II

Dear there:

I have a project which previously using the CAN0 and can communicate well.I used RTD_4_4_1.0.1_HF01 + S32DS in my project.

But when i change to CAN2 and do the same configuration as CAN0, it will come into bus off error, and cannot enter transmit ISR.

The Can configuration is configured as follows. Is there anything I did not care about rather than changing the Can Hardware Channel from FLEXCAN_0 to FLEXCAN_2?

sunnyfeng_0-1709630899643.png

sunnyfeng_1-1709630956302.png

sunnyfeng_2-1709630986273.png

 

Thanks in advance!
Best Regards,
Sunny

 

 

 

0 Kudos
Reply
1 Reply

226 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

seems you have loopback mode still enabled, but in this mode you cannot enter bus off. 
You have to also configure respective pads for CAN2 function, and be sure you have CAN transceiver connected to it. 

BR, Petr

0 Kudos
Reply