7 error handling, 1 error detection, Bosch – Rainbow Electronics CAN интерфейс User Manual
Page 61: Error handling

BOSCH
ROBERT BOSCH GmbH, Postfach 300240, D-7000 Stuttgart 30
Sep. 1991
Part B - page 59
7 ERROR HANDLING
7.1 Error Detection
There are 5 different error types (which are not mutually exclusive):
•
BIT ERROR
A unit that is sending a bit on the bus also monitors the bus. A BIT ERROR has to
be detected at that bit time, when the bit value that is monitored is different from the
bit value that is sent. An exception is the sending of a ’recessive’ bit during the
stuffed bit stream of the ARBITRATION FIELD or during the ACK SLOT. Then no
BIT ERROR occurs when a ’dominant’ bit is monitored. A TRANSMITTER sending
a PASSIVE ERROR FLAG and detecting a ’dominant’ bit does not interpret this as
a BIT ERROR.
•
STUFF ERROR
A STUFF ERROR has to be detected at the bit time of the 6th consecutive equal bit
level in a message field that should be coded by the method of bit stuffing.
•
CRC ERROR
The CRC sequence consists of the result of the CRC calculation by the transmitter.
The receivers calculate the CRC in the same way as the transmitter. A CRC
ERROR has to be detected, if the calculated result is not the same as that received
in the CRC sequence.
•
FORM ERROR
A FORM ERROR has to be detected when a fixed-form bit field contains one or
more illegal bits. (Note, that for a Receiver a dominant bit during the last bit of END
OR FRAME is not treated as FORM ERROR).
•
ACKNOWLEDGMENT ERROR
An ACKNOWLEDGMENT ERROR has to be detected by a transmitter whenever it
does not monitor a ’dominant’ bit during the ACK SLOT.
Error Handling