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
Содержание 87C196CA
Страница 1: ...8XC196Lx Supplement to 8XC196Kx 8XC196Jx 87C196CA User s Manual August 2004 Order Number 272973 003...
Страница 9: ...1 Guide to This Manual...
Страница 10: ......
Страница 13: ...2 Architectural Overview...
Страница 14: ......
Страница 22: ......
Страница 23: ...3 Address Space...
Страница 24: ......
Страница 33: ...4 Standard and PTS Interrupts...
Страница 34: ......
Страница 43: ...5 I O Ports...
Страница 44: ......
Страница 51: ...6 Synchronous Serial I O Port...
Страница 52: ......
Страница 56: ......
Страница 57: ...7 Event Processor Array...
Страница 58: ......
Страница 65: ...8 J1850 Communications Controller...
Страница 66: ......
Страница 89: ...9 Minimum Hardware Considerations...
Страница 90: ......
Страница 93: ...10 Special Operating Modes...
Страница 94: ......
Страница 98: ......
Страница 99: ...11 Programming the Nonvolatile Memory...
Страница 100: ......
Страница 106: ......
Страница 107: ...A Signal Descriptions...
Страница 108: ......
Страница 118: ......
Страница 119: ...Glossary...
Страница 120: ......
Страница 133: ...Index...
Страница 134: ......