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
188 Views
vinmotion
Contributor I

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
141 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I used below PCAN setting

PetrS_0-1759844202880.png


BR, Petr

View solution in original post

3 Replies
157 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



153 Views
vinmotion
Contributor I

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
142 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I used below PCAN setting

PetrS_0-1759844202880.png


BR, Petr