Technical Data
MC68HC908AS60 — Rev. 1.0
338
Byte Data Link Controller-Digital (BDLC-D)
MOTOROLA
Byte Data Link Controller-Digital (BDLC-D)
21.5.2.2 In-Message Data Bytes (Data)
The data bytes contained in the message include the message
priority/type, message ID byte (typically the physical address of the
responder), and any actual data being transmitted to the receiving node.
The message format used by the BDLC is similar to the 3-byte
consolidated header message format outlined by the SAE J1850
document. See SAE J1850 Class B Data Communications Network
Interface for more information about 1- and 3-byte headers.
Messages transmitted by the BDLC onto the J1850 bus must contain at
least one data byte, and, therefore, can be as short as one data byte and
one CRC byte. Each data byte in the message is eight bits in length and
is transmitted MSB to LSB (least significant bit).
21.5.2.3 Cyclical Redundancy Check Byte (CRC)
This byte is used by the receiver(s) of each message to determine if any
errors have occurred during the transmission of the message. The BDLC
calculates the CRC byte and appends it onto any messages transmitted
onto the J1850 bus. It also performs CRC detection on any messages it
receives from the J1850 bus.
CRC generation uses the divisor polynomial X8 + X4 + X3 + X2 + 1. The
remainder polynomial initially is set to all 1s. Each byte in the message
after the start-of-frame (SOF) symbol is processed serially through the
CRC generation circuitry. The one’s complement of the remainder then
becomes the 8-bit CRC byte, which is appended to the message after
the data bytes, in MSB-to-LSB order.
When receiving a message, the BDLC uses the same divisor
polynomial. All data bytes, excluding the SOF and end of data symbols
(EOD) but including the CRC byte, are used to check the CRC.
If the message is error free, the remainder polynomial will equal
DATA
E
O
D
OPTIONAL
I
F
S
IDLE
SOF
PRIORITY
(DATA0)
MESSAGE ID
(DATA1)
DATAN
CRC
N
B
IFR
EOF
IDLE
Figure 21-6. J1850 Bus Message Format (VPW)
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
..
.