beautypg.com

3 error frame, Bosch, Error frame – Rainbow Electronics CAN интерфейс User Manual

Page 18

background image

BOSCH

ROBERT BOSCH GmbH, Postfach 50, D-7000 Stuttgart 1

Sep. 1991

Part A - page 16

3.1.3 ERROR FRAME

The ERROR FRAME consists of two different fields. The first field is given by the
superposition of ERROR FLAGs contributed from different stations. The following
second field is the ERROR DELIMITER.

In order to terminate an ERROR FRAME correctly, an ’error passive’ node may need
the bus to be ’bus idle’ for at least 3 bit times (if there is a local error at an ’error
passive’ receiver). Therefore the bus should not be loaded to 100%.

ERROR FLAG
There are 2 forms of an ERROR FLAG: an ACTIVE ERROR FLAG and a PASSIVE
ERROR FLAG.

1.

The ACTIVE ERROR FLAG consists of six consecutive ’dominant’ bits.

2.

The PASSIVE ERROR FLAG consists of six consecutive ’recessive’ bits unless it
is overwritten by ’dominant’ bits from other nodes.

An ’error active’ station detecting an error condition signals this by transmission of an
ACTIVE ERROR FLAG. The ERROR FLAG’s form violates the law of bit stuffing (see
CODING) applied to all fields from START OF FRAME to CRC DELIMITER or destroys
the fixed form ACK FIELD or END OF FRAME field. As a consequence, all other
stations detect an error condition and on their part start transmission of an ERROR
FLAG. So the sequence of ’dominant’ bits which actually can be monitored on the bus
results from a superposition of different ERROR FLAGs transmitted by individual
stations. The total length of this sequence varies between a minimum of six and a
maximum of twelve bits.
An ’error passive’ station detecting an error condition tries to signal this by transmission
of a PASSIVE ERROR FLAG. The ’error passive’ station waits for six consecutive bits

Data

Frame

Error Flag

Error Delimiter

Interframe

Space or

ERROR FRAME

Overload
Frame

superposition of

Error Flags

Error Frame