Datasheet

Byte Data Link Controller (BDLC)
MC68HC908AZ60A • MC68HC908AS60A • MC68HC908AS60E Data Sheet, Rev. 6
350 Freescale Semiconductor
27.5.1 Protocol Architecture
The protocol handler contains the state machine, Rx shadow register, Tx shadow register, Rx shift
register, Tx shift register, and loopback multiplexer as shown in Figure 27-13.
Figure 27-13. BDLC Protocol Handler Outline
27.5.2 Rx and Tx Shift Registers
The Rx shift register gathers received serial data bits from the J1850 bus and makes them available in
parallel form to the Rx shadow register. The Tx shift register takes data, in parallel form, from the Tx
shadow register and presents it serially to the state machine so that it can be transmitted onto the J1850
bus.
27.5.3 Rx and Tx Shadow Registers
Immediately after the Rx shift register has completed shifting in a byte of data, this data is transferred to
the Rx shadow register and RDRF or RXIFR is set (see 27.6.4 BDLC State Vector Register) and an
interrupt is generated if the interrupt enable bit (IE) in BCR1 is set. After the transfer takes place, this new
data byte in the Rx shadow register is available to the CPU interface, and the Rx shift register is ready to
shift in the next byte of data. Data in the Rx shadow register must be retrieved by the CPU before it is
overwritten by new data from the Rx shift register.
Rx SHIFT REGISTER
TO CPU INTERFACE AND Rx/Tx BUFFERS
STATE MACHINE
TO PHYSICAL INTERFACE
Rx DATA
Tx DATA
CONTROL
8
Tx SHIFT REGISTER
BDTxD
RxD
CONTROL
8
Rx SHADOW REGISTER
Tx SHADOW REGISTER
LOOPBACK
BDRxD BDTxD
MULTIPLEXER
DLOOP FROM BCR2
ALOOP
LOOPBACK CONTROL