id error messages

USB to CAN Interface
Post Reply
sabb_non
Posts: 1
Joined: Tue 30. Oct 2018, 16:41

id error messages

Post by sabb_non » Tue 30. Oct 2018, 16:59

Hi,

when monitoring a CAN bus with a PEAK USB and PCAN-View, I sometimes see error messages like the following:

Stuff Error, Rx, Data field, RxErr=100, TxErr=0

or

Other Error, Rx, ID.28 to ID.21, RxErr=101, TxErr=0.

I've read about CAN error frames and how they are classified, but I have some doubts:
1. How can I understand which node on the CAN bus is sending the error frame? (there is no ID for error messages in the ID column of PCAN-View)
2. What kind of error is "Other Error" and what does "ID.28 to ID.21" indicate?

I'm sorry if these are trivial questions, but I could not find the answers on the basic manuals.

Thank you,
Bests,

M.Maidhof
Support
Support
Posts: 1753
Joined: Wed 22. Sep 2010, 14:00

Re: id error messages

Post by M.Maidhof » Tue 30. Oct 2018, 17:50

Hi,

here the answers to your questions:

1. An error frame is not a real CAN frame, it is just an info from the CAN-Controller that a frame was corrupt. Due to the fact that the frame could also be defective in the ID area, you will never know, which original frame was made to an errorframe. A simple soulution will be to check the next good frame, because a sender will repeat the CAN frame again, when it was marked as errorframe by one of the CAN nodes. Another solution is to check the timing of the errorframe, to find the corresponding period of that frame.

2. Please see NXP SJA1000 manual and application notes for more details about errorframes definitions of the SJA1000 CAN-Controller:

https://www.nxp.com/docs/en/data-sheet/SJA1000.pdf
https://www.nxp.com/docs/en/application ... N97076.pdf

regards

Michael

Post Reply