Standard Messaging; Header; Crc Byte; Normalization Bit - Intel 87C196CA Supplement To User’s Manual

Microcontroller
Table of Contents

Advertisement

Standard Frame
S
1-3 Bytes
O

Header

F
In-frame Response (IFR) Frame
S
1-3 Bytes
O
Header
F
The number of data bytes to be transferred is unspecified if 0EH is written to J_CMD3:0.
A standard message frame is initiated by the responder and contains no more than 11 data bytes
to be transmitted. An IFR message is a request initiating the recipient(s) to respond by transmit-
ting data within the same frame. The following subsections describe each of the messaging forms.
8.4.1

Standard Messaging

A standard message frame can best be described as a "send mode only" format that is initiated by
the responder either to request information or to reply to a received message from a remote node.
In addition to the actual data that is being transmitted, the standard message is composed of a
header (1–3 bytes), a CRC byte, and a series of start and end symbols.
8.4.1.1
Header
The header provides general information on the physical network and the necessary interface re-
quirements. For a complete description of the header, refer to the Society of Automotive Engineer-
ing (SAE) J1850 specifications (revised May 1994).
8.4.1.2

CRC Byte

The CRC byte, calculated through the cyclic redundancy check generator, is a checksum value
that verifies the accuracy of the data message transmitted onto the bus. The CRC byte is appended
to all data messages and optionally appended to IFR response messages. Upon reception, the
CRC byte is compared with the value C4H. If the values match, the transmitted message is valid;
otherwise, it is invalid, and an error flag in the J_STAT register is set.
8.4.1.3

Normalization Bit

The normalization bit (NB), found only in IFR messaging, defines the start of the IFR message
response data. The NB is triggered by bit J_CMD.6 and is transmitted after an end-of-data (EOD)
symbol is detected on the bus. The timing format of the NB is assigned by the J_CFG register
1 Byte
1-11 Bytes
CRC
Data
1 Byte
1-11 Bytes
CRC
Data
Figure 8-6. J1850 Message Frames
J1850 COMMUNICATIONS CONTROLLER
E
E
I
O
O
F
D
F
S
E
1-32 Bytes
N
O
IFR Data
B
D
E
E
I
0-1 Byte
O
O
F
CRC
D
F
S
A5225-01
8-9

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196jx8xc196kx8xc196lxXc196kx

Table of Contents