Uart Receiver Operation; Receiver Shift Register - ZiLOG Z8 Series User Manual

Table of Contents

Advertisement

The bit rate generator is started by setting the Timer Mode Register (TMR) (
bit 0 both to 1 (see
Counter/Timer0 Register to their corresponding down counters. In addition, counting is
enabled so that UART operations begin.

UART Receiver Operation

The receiver consists of a receiver buffer (SIO Register [
shift register, parity checking, and data synchronizing logic. The receiver block diagram is
displayed in

Receiver Shift Register

After a hardware reset or after a character has been received, the Receiver Shift Register is
initialized to all 1s and the shift clock is stopped. Serial data, input through Port 3 bit 0, is
synchronized to the internal clock by two D-type flip-flops before being input to the Shift
Register and the start bit detection circuitry.
The start bit detection circuitry monitors the incoming data stream, looking for a start bit
(a High-to-Low input transition). When a start bit is detected, the shift clock logic is
enabled. The T0 input is divided-by-16 and, when the count equals eight, the divider out-
puts a shift clock. This clock shifts the start bit into the Receiver Shift Register at the cen-
ter of the bit time. Before the shift actually occurs, the input is rechecked to ensure that the
start bit is valid. If the detected start bit is false, the receiver is reset and the process of
looking for a start bit is repeated. If the start bit is valid, the data is shifted into the Shift
Register every sixteen counts until a full character is assembled (see
119).
UM001604-0108
Figure
109). This transfers the contents of the Prescaler 0 Register and
Register F1h
Timer Mode Register (TMR)
(Read/Write)
D7 D6 D5 D4 D3 D2 D1 D0
Figure 109. Timer Mode Register Bit Rate Generation
Figure 105
on page 115.
0 = No Function
1 = Load T
0
0 = Disable T
Count
0
1 = Enable T
Count
0
]), a serial-in, parallel-out
F0h
®
Z8
CPU
User Manual
) bit 1 and
F1h
Figure 110
on page
Serial Input/Output
118

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z8 Series and is the answer not in the manual?

This manual is also suitable for:

Z8 cpu

Table of Contents