CAN data transfer error

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

CAN data transfer error

130 Views
Andrew101
Contributor II

Hello everyone,

I tried to use a example of CAN on S32K344 EVB  board. I used CAN AUTOSAR MCAL layer example (RTD600 MCAL & IP] S32K3X4EVB-T172 FlexCAN Example Interrupt/Polling - NXP Community). However, when I measured the signal by logic analyzer, I saw the board always sent 1 or some wrong bytes in the data field. I expect the data field is "0x01,0x02, 0x03, 0x04,0x05, 0x06, 0x07, 0x08". The position of these wrong bytes is random. I use S32DS version 3.6.3 and RTD6.0.0. Here are the results. Thanks for your help.

Andrew101_0-1760349015816.pngAndrew101_1-1760349052692.png

Andrew101_2-1760349075447.png

 

 

0 Kudos
Reply
1 Reply

64 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Andrew101,

Are you measuring CAN_Rx, or CAN_H/L from the bus? Also, if possible, please try testing the project with any CAN interface available. I can see the project successfully returns a frame at 500kbps with the bus status kept at OK.

Snag_66f4971.png

I can also see from the logic analyzer there are no issues. Could you please check connections, GND, sampling point + voltage threshold (if available) from your analyzer? Also, please check if jumper settings are configured as stated in the S32K3X4EVB-T172 Getting Starded.

Snag_66ebfb0.png

Best regards,
Julián

0 Kudos
Reply