S32K142 CAN frame error

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

S32K142 CAN frame error

1,070 Views
david_jiang
Contributor I

Hello:

The frame error is generated frequently when I use S32K142 CAN0.  I configure the CAN0 & clock by PE in the attachment(figure 1 & 2).

BTW, the additional configuration as follows:

1. GPIO: PE5 - TX; PE4 - RX;

2. Mailbox for reception: Only use RX FIFO for reception:  MB0 ~ MB7 is used;

   Mailbox for transmission: MB8 for the broadcasting message; MB9 for other messages(not used yet)

The frame error always occurs in the ACK field(reception) & EOF field(both reception & transmission). please check it in the attachment(figure 3 & 4).

So what's the root cause? Is there something wrong with the peripherals configuration?

Thanks a lot!

David

Labels (1)
0 Kudos
2 Replies

961 Views
david_jiang
Contributor I

Hi Petr,

After the sample point is decreased the problem is solved.

Thanks a lot.

David

0 Kudos

961 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

who is the other node on your bus. A scope analyzer probably do not ACK message?

Ensure the bus is properly terminated and all nodes have the same bitrate setting, same sample point. Are you able to setup sample point on PicoScope? Also do you need so high sample point? You can try to decrease it, try 60-80%.

BR, Petr

0 Kudos