S32k144 not receive in Logic analyzer

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

S32k144 not receive in Logic analyzer

Jump to solution
1,345 Views
vinmotion
Contributor II

Hello engineers , im new to nxp and i dont know why every example CAN project for s32k144 when i test receive using logic analyzer it get all can error and cannot decode can id or data. hopefully you guys can test the code to check . Thanks a lot 

flexcan_ERROR_nxp.png

0 Kudos
Reply
1 Solution
1,298 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I used below PCAN setting

PetrS_0-1759844202880.png


BR, Petr

View solution in original post

5 Replies
1,314 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tested your code on S32K144EVB-Q100 and with PCAN tool connected I see CAN FD message periodically received. Using a debugger no error is detected on FlexCAN module.

PetrS_0-1759832665208.png


In you case error frame is sent, I guess. You can check module MCR/ECR/ESR1 registers to see a state and error detected. If using S32K144EVB-Q100 as well on your side, be sure board is powered by 12V and SBC CAN transceiver is active.

BR, Petr



631 Views
Lixutong
Contributor I
Hello PetrS
I follow you code, and S32K144EVB-Q100 board is powered by 12V, and PCAN setting is same. but the CAN is seem not woking. The CANH-GND/CANL-GND is 1.3V, is it means the SBC CAN is not active, can you help me?
0 Kudos
Reply
639 Views
Lixutong
Contributor I
how to make SBC CAN transceiver active
0 Kudos
Reply
1,310 Views
vinmotion
Contributor II

Thank you sir but im fresher from university and nxp is all new to me , can you please share or screen shot how config pcan view to receive above program .. .

0 Kudos
Reply
1,299 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I used below PCAN setting

PetrS_0-1759844202880.png


BR, Petr