S32K142 CAN frame error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K142 CAN frame error

19,913件の閲覧回数
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

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

19,804件の閲覧回数
david_jiang
Contributor I

Hi Petr,

After the sample point is decreased the problem is solved.

Thanks a lot.

David

0 件の賞賛
返信

19,804件の閲覧回数
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 件の賞賛
返信