J1850 Transmit Message Structure; J1850 Transmitter (J_Tx) Register - Intel 87C196CA Supplement To User’s Manual

Microcontroller
Table of Contents

Advertisement

8XC196L X SUPPLEMENT
J_TX
The J1850 transmitter (J_TX) register transfers data in byte increments to the J1850 bus from the
microcontroller CPU. This register is buffered to allow for transmission of a second data byte while the
first data byte is being shifted out. This byte register can be read or written, and is addressable
through windowing .
7
Bit
Bit
Number
Mnemonic
7:0
DB7:0
Transmitting the message requires that you first program the J1850 command (J_CMD) register
to specify the number of bytes you want to transfer across the J1850 bus. The number of bytes
specified must include the header byte(s). After the start of frame (SOF) symbol is put on the bus,
the first header byte is transferred to J_TX for transmission. This byte will automatically be trans-
ferred into the J1850 transmit buffer (JTX_BUF) and the second byte of the message frame will
be written to J_TX. The transfer of the first byte to JTX_BUF triggers the transmission process
and generates the J1850 transmission (J1850TX) interrupt (if it is enabled), signaling that J_TX
is available for another byte (Figure 8-13).
CPU
After the byte in JTX_BUF is transmitted, the byte residing in J_TX is automatically shifted into
JTX_BUF, freeing J_TX for another byte. This process continues until the CSM has resolved the
number of message bytes (MSG3:0) programmed into the J_CMD register.
If the last message byte being transmitted is shifted out before the MSGx count expires, a
J1850ST core interrupt is generated and the OVR_UNDR (J_STAT.3) bit records a transmitter
underflow error in the J_STAT register.
8-14
Transmit Byte
Data Bits
These eight bits compose the data byte to be transmitted to the J1850 bus.
Figure 8-12. J1850 Transmitter (J_TX) Register
J_TX
JTX_BUF
Figure 8-13. J1850 Transmit Message Structure
Address:
Reset State:
Function
Message transmit
interrupt (J1850TX) set
J1850 Bus
1F50H
00H
0
A5235-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196jx8xc196kx8xc196lxXc196kx

Table of Contents