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
Hi Petr,
After the sample point is decreased the problem is solved.
Thanks a lot.
David
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