8XC196LX SUPPLEMENT

J_STAT

Address:

1F53H

 

Reset State:

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

IFR_RCV BUS_CONT BUS_STAT BRK_RCV

0

OVR_UNDR MSG_TX MSG_RX J1850BE

Bit

Bit

Function

Number

Mnemonic

 

 

 

 

2

MSG_TX

Message Transmit Interrupt

 

 

This bit signals the successful transmission of a message upon detecting

 

 

the EOD symbol.

 

 

0 = no action

 

 

1 = message transmitted

 

 

 

1

MSG_RX

Message Receive Interrupt

 

 

This bit signals the successful reception of a message upon detecting the

 

 

EOD symbol.

 

 

0 = no action

 

 

1 = message received

 

 

 

0

J1850BE

J1850 Bus Error Interrupt

 

 

This bit is set if one or more of the following conditions occur:

 

 

• the calculated CRC for a received message does not equal C4H

 

 

• an incomplete byte is received on the bus

 

 

• an invalid bus symbol is detected on the bus

 

 

• a transmission occurs and the feedback through the receiver is not

 

 

detected within 60 µs

 

 

 

Figure 8-19. J1850 Status (J_STAT) Register (Continued)

8-22

Page 88
Image 88
Intel 8XC196Jx, 8XC196Lx, 8XC196Kx, 87C196CA user manual Msgtx, Msgrx