8-21
J1850 COMMUNICATIONS CONTROLLER
8.6.4
Programming the J1850 Status (J_STAT) Register
The J1850 status register (Figure 8-19) provides the current status of the message and the four
interrupt sources associated with the J1850 protocol.
J_STAT
Address:
Reset State:
1F53H
00H
The J1850 status (J_STAT) register provides the current status of the message transfer, the receive
and transmit buffers, and the four interrupt sources associated with the J1850 protocol. This byte
register can be directly addressed through
windowing. You must write to this register before
transmitting each message. Reading this register clears all bits except BUS_STAT.
7
0
IFR_RCV
BUS_CONT
BUS_STAT
BRK_RCV
OVR_UNDR
MSG_TX
MSG_RX
J1850BE
Bit
Number
Bit
Mnemonic
Function
7
IFR_RCV
In-frame Response Received
This bit indicates whether the IFR byte has been received and is ready to
be read from the J1850 receiver (J_RX) register.
0 = no action
1 = IFR byte received
6
BUS_CONT
J1850 Bus Contention
This bit indicates whether bus contention has been detected and arbitration
has been lost.
0 = no action
1 = bus contention
5
BUS_STAT
J1850 Bus Status
This bit indicates whether a transmission or reception is in progress on the
J1850 bus.
0 = J1850 bus idle
1 = J1850 bus busy
4
BRK_RCV
Break Received
This bit indicates whether a BRK symbol has been detected on the J1850
bus.
0 = no action
1 = BRK symbol detected
3
OVR_UNDR
Receive Overrun/Transmit Underflow Interrupt
This bit indicates whether a receive buffer overrun (OVR) or transmit buffer
underflow (UNDR) has occurred. An overrun occurs when a symbol is
received while both J_RX and JRX_BUF contain unread bytes. An
underflow occurs when a transmission is attempted while both J_TX and
JTX_BUF are empty.
0 = normal operation
1 = OVR or UNDR detected
Figure 8-19. J1850 Status (J_STAT) Register
Summary of Contents for 87C196CA
Page 9: ...1 Guide to This Manual...
Page 10: ......
Page 13: ...2 Architectural Overview...
Page 14: ......
Page 22: ......
Page 23: ...3 Address Space...
Page 24: ......
Page 33: ...4 Standard and PTS Interrupts...
Page 34: ......
Page 43: ...5 I O Ports...
Page 44: ......
Page 51: ...6 Synchronous Serial I O Port...
Page 52: ......
Page 56: ......
Page 57: ...7 Event Processor Array...
Page 58: ......
Page 65: ...8 J1850 Communications Controller...
Page 66: ......
Page 89: ...9 Minimum Hardware Considerations...
Page 90: ......
Page 93: ...10 Special Operating Modes...
Page 94: ......
Page 98: ......
Page 99: ...11 Programming the Nonvolatile Memory...
Page 100: ......
Page 106: ......
Page 107: ...A Signal Descriptions...
Page 108: ......
Page 118: ......
Page 119: ...Glossary...
Page 120: ......
Page 133: ...Index...
Page 134: ......