Byte Data Link Controller-Digital (BDLC-D)
BDLC Protocol Handler
MC68HC08AS32A — Rev. 1
Data Sheet
MOTOROLA
Byte Data Link Controller-Digital (BDLC-D)
For More Information On This Product,
Go to: www.freescale.com
79
Figure 4-13. J1850 VPW Bitwise Arbitrations
Since a logic 0 dominates a logic 1, the message with the lowest value will have
the highest priority and will always win arbitration. For instance, a message with
priority 000 will win arbitration over a message with priority 011.
This method of arbitration will work no matter how many bits of priority encoding
are contained in the message.
During arbitration, or even throughout the transmitting message, when an opposite
bit is detected, transmission is stopped immediately unless it occurs on the 8th bit
of a byte. In this case, the BDLC automatically will append up to two extra logic 1
bits and then stop transmitting. These two extra bits will be arbitrated normally and
thus will not interfere with another message. The second logic 1 bit will not be sent
if the first loses arbitration. If the BDLC has lost arbitration to another valid
message, then the two extra logic 1s will not corrupt the current message.
However, if the BDLC has lost arbitration due to noise on the bus, then the two
extra logic 1s will ensure that the current message will be detected and ignored as
a noise-corrupted message.
4.5 BDLC Protocol Handler
The protocol handler is responsible for framing, arbitration, CRC
generation/checking, and error detection. The protocol handler conforms to
SAE
J1850 — Class B Data Communications Network Interface
.
NOTE:
Motorola assumes that the reader is familiar with the J1850 specification before
this protocol handler description is read.
TRANSMITTER A
TRANSMITTER B
J1850 BUS
SOF
DATA
BIT 1
DATA
BIT 4
DATA
BIT 5
0
TRANSMITTER A DETECTS
AN ACTIVE STATE ON
THE BUS AND STOPS
TRANSMITTING
TRANSMITTER B WINS
ARBITRATION AND
CONTINUES
TRANSMITTING
PASSIVE
ACTIVE
PASSIVE
ACTIVE
PASSIVE
ACTIVE
0
0
1
1
1
DATA
BIT 2
1
1
1
DATA
BIT 3
0
0
0
0
1
F
Freescale Semiconductor, Inc.
n
.