|
COP87L84BC Datasheet, PDF (32/54 Pages) National Semiconductor (TI) – 8-Bit CMOS OTP Microcontrollers with 16k Memory, Comparators, and CAN Interface | |||
|
◁ |
Frame Formats (Continued)
module 1 = error active receiver with a local fault at t1
module 2 = error passive transmitter detects bit error at t2
module 3 = error passive receiver detects stuff error at t2
FIGURE 28. Error Frame â Error Passive Transmitter
DS101137-63
FIGURE 29. Order of Bit Transmission within a CAN Frame
DS101137-64
The following errors can be detected:
⢠Bit Error
A CAN device that is sending also monitors the bus. If the
monitored bit value is different from the bit value that is sent,
a bit error is detected. The reception of a âdominantâ bit in-
stead of a ârecessiveâ bit during the transmission of a pas-
sive error flag, during the stuffed bit stream of the arbitration
field or during the acknowledge slot, is not interpreted as a
bit error.
⢠Stuff error
A stuff error is detected, if the bit level after 6 consecutive bit
times has not changed in a message field that has to be
coded according to the bit stuffing method.
⢠Form Error
A form error is detected, if a fixed frame bit (e.g., CRC delim-
iter, ACK delimiter) does not have the specified value. For a
receiver a âdominantâ bit during the last bit of End of Frame
does NOT constitute a form error.
⢠Bit CRC Error
A CRC error is detected if the remainder of the CRC calcula-
tion of a received CRC polynomial is non-zero.
⢠Acknowledgment Error
An acknowledgment error is detected whenever a transmit-
ting node does not get an acknowledgment from any other
node (i.e., when the transmitter does not receive a âdomi-
nantâ bit during the ACK frame).
The device can be in one of three states with respect to error
handling:
⢠Error active
An error active unit can participate in bus communication
and sends an active (âdominantâ) error flag.
⢠Error passive
www.national.com
32
|
▷ |