English
Language : 

CP3BT23 Datasheet, PDF (98/260 Pages) Texas Instruments – CP3BT23 Reprogrammable Connectivity Processor with Bluetooth and Dual CAN Interfaces
Error Frame
As shown in Figure 38, 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, the
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 er-
ror flag for a previous error condition has already been start-
ed.
If a device is in the error active state, it can send a “domi-
nant” error flag, while 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
various CAN device states, please refer to Error Types on
page 98.
ERROR FRAME
6
<6
8
DATA FRAME OR
REMOVE FRAME
ERROR
FLAG
ECHO
ERROR FLAG
ERROR
DELIMITER
INTER-FRAME OR
OVERLOAD FRAME
Note:
d = dominant
te r =recessive
ddddddd
dd r r r r r r r rd
An error frame can start anywhere within a frame
DS024
Figure 38. Error Frame
Overload Frame
As shown in Figure 39, an overload frame consists of the
overload flag and the overload delimiter bit fields. The bit
le fields have the same length as the error frame field: six bits
for the overload flag and eight bits for the delimiter. The
overload frame can only be sent after the end of frame
(EOF) field and in this way destroys the fixed form of the in-
termission field. As a result, all other nodes also detect an
overload condition and start the transmission of an overload
flag. After an overload flag has been transmitted, the over-
load frame is closed by the overload delimiter.
Note: The CAN module never initiates an overload frame
due to its inability to process an incoming message. Howev-
er, it is able to recognize and respond to overload frames ini-
tiated by other devices.
oOVERLOAD FRAME
s END OF FRAME OR
ERROR DELIMITER OR
OVERLOAD DELIMITER
6
OVERLOAD
FLAG
8
OVERLOAD
DELIMITER
INTER-FRAME SPACE
OR ERROR FRAME
bNote:
d = dominant
Or = recessive
ddddddd r r r r r r r r
An overload frame can only start at the end of a frame
Figure 39. Overload Frame
DS025
Interframe Space
Data and remote frames are separated from every preced-
ing frame (data, remote, error and overload frames) by the
interframe space (see Figure 40). Error and overload
frames are not preceded by an interframe space; they can
be transmitted as soon as the condition occurs. The inter-
frame space consists of a minimum of three bit fields de-
pending on the error state of the node.
97
www.national.com