English
Language : 

Z8F1601 Datasheet, PDF (98/246 Pages) Zilog, Inc. – Z8 Encore Microcontrollers with Flash Memory and 10-Bit A/D Converter
Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
Z8 Encore!®
80
Figures 68 and 69 illustrates the asynchronous data format employed by the UART with-
out parity and with parity, respectively.
Idle State
of Line
lsb
1
Data Field
msb
Start Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7
0
Figure 68. UART Asynchronous Data Format without Parity
Stop Bit(s)
1
2
Idle State
of Line
lsb
1
Data Field
msb
Start Bit0 Bit1 Bit2 Bit3 Bit4 Bit5 Bit6 Bit7 Parity
0
Stop Bit(s)
1
2
Figure 69. UART Asynchronous Data Format with Parity
Transmitting Data using the Polled Method
Follow these steps to transmit data using the polled method of operation:
1. Write to the UART Baud Rate High and Low Byte registers to set the desired baud
rate.
2. Enable the UART pin functions by configuring the associated GPIO Port pins for
alternate function operation.
3. Write to the UART Control 1 register to enable Multiprocessor (9-bit) mode functions,
if desired.
4. Write to the UART Control 0 register to:
– Set the transmit enable bit (TEN) to enable the UART for data transmission
– Enable parity, if desired, and select either even or odd parity.
– Set or clear the CTSE bit to enable or disable control from the receiver using the
CTS pin.
PS017610-0404
UART