www.national.com
90
Error Frame
As shown in Figure 48, the Error Frame consists of the error
flag and the error delimiter bit fields. The error flag field is
built up from the various error flags of the different nodes.
Therefore, its length may vary from a minimum of six bits up
to a maximum of twelve bits depending on when a module
has detected the error. Whenever a bit error, stuff error, form
error, or acknowledgment error is detected by a node, this
node starts transmission of an error flag at the next bit. If a
CRC error is detected, transmission of the error flag starts at
the bit following the acknowledge delimiter, unless an error
flag for a previous error condition has already been started.
If a device is in the error active state, it can send a ‘dominant’
error flag, whereas a error passive device is only allowed to
transmit ‘recessive’ error flags. This is done to prevent the
CAN bus from getting stuck due to a local defect. For the var-
ious CAN device states, please refer to Error Detection and
Management on page 91.
Overload Frame
As shown in Figure 49, an overload frame consists of the
overload flag and the overload delimiter bit fields. The bit
fields have the same length as the error frame field: six bits
for the overload flag and eight bits for the delimiter. The over-
load frame can only be sent after the end of frame (EOF) field
and in this way destroys the fixed form of the intermission
field. As a result, all other nodes also detect an overload con-
dition and start the transmission of an overload flag. After an
overload flag has been transmitted, the overload frame is
closed by the overload delimiter.
Note:
The CR16CAN never initiates an overload frame due
to its inability to process an incoming message. However, it
is able to recognize and respond to overload frames initiated
by other devices.
d d d d
d
d
d
d
6
8
≤
6
ECHO
r r r r
d
r r
r d
r
ERROR
FLAG
ERROR FLAG
ERROR
DELIMITER
DATA FRAME OR
REMOTE FRAME
INTER-FRAME SPACE OR
OVERLOAD FRAME
An error frame can start anywhere within a frame.
ERROR FRAME
Note:
d = dominant
r = recessive
Figure 48.
CAN Error Frame
r
r
d
r r r r
d
r r
d
d d d
d
8
6
OVERLOAD
FLAG
OVERLOAD
DELIMITER
OVERLOAD FRAME
INTER-FRAME SPACE OR
ERROR FRAME
END OF FRAME OR
ERROR DELIMITER OR
OVERLOAD DELIMITER
An overload frame can only start at the end of a frame.
Note:
d = dominant
r = recessive
Figure 49.
CAN Overload Frame