AcroPack Series AP560
CAN Bus Interface Module
- 33 -
Error Frame
The error frame is shown in Figure 5. Any node detecting an error generates
an error frame. The error frame consists of two fields, the error flag field and
the error delimiter. The type of error flag field depends on the error status of
the node, error-active or error-passive (see below). An error-active node
generates an active error flag and an error-passive node generates a passive
error flag.
Active Error Flag:
An active error flag consists of 6 consecutive dominant bits.
This condition violates the rule of bit-stuffing and causes all other nodes on
the bus to generate error flags, known as echo error flags. Therefore, the
error flag field will consist of the superposition of different error flags sent by
individual nodes, resulting in a minimum of 6 and maximum of 12 consecutive
dominant bits. The error flag field is followed by the error delimiter,
consisting of 8 recessive bits.
Passive Error Flag:
A passive error flag consists of 6 recessive bits. This is
followed by the 8 recessive bits of the error delimiter. Therefore, an error
frame sent by an error-passive node consists of 14 consecutive recessive bits.
Since this will not disturb the bus, a transmitting node will continue to
transmit unless it detects the error itself, or another error-active node detects
the error.
Notes:
If the passive error flag is generated by a receiver, it cannot prevail
over any other activity on the bus. Therefore, it must wait for 6 consecutive
bits of equal polarity before completing the error flag. If the passive error flag
is generated by a transmitter, the bit stuffing rule is violated and it will cause
other nodes to generate error flags. Two exceptions to this rule are:
a)
the passive error flag starts during arbitration and another node
prevails and begins transmitting, and
b)
the error flag starts less than 6 bits before the end of the CRC
sequence and the last bits of the CRC sequence all happen to be
recessive.
Содержание AcroPack AP560
Страница 28: ...AcroPack Series AP560 CAN Bus Interface Module 28 Figure 2 Standard Data Frame...
Страница 30: ...AcroPack Series AP560 CAN Bus Interface Module 30 Figure 3 Extended Data Frame...
Страница 32: ...AcroPack Series AP560 CAN Bus Interface Module 32 Figure 4 Remote Frame...
Страница 34: ...AcroPack Series AP560 CAN Bus Interface Module 34 Figure 5 Error Frame...