Port handshake – Zilog Z86193 User Manual
Page 70

Z8
®
CPU
User Manual
UM001604-0108
Input/Output Ports
63
Port Handshake
When Ports 0, 1, and 2 are configured for handshake operation, a pair of lines from Port 3
are used for handshake controls. The handshake controls are interlocked to properly time
asynchronous data transfers between Z8
®
and a peripheral. One control line (DAV) func-
tions as a strobe from the sender to indicate to the receiver that data is available. The sec-
ond control line (RDY) acknowledges receipt of the sender’s data, and indicates when the
receiver is ready to accept another data transfer.
In input mode, data is latched into the Port’s input register by the first DAV signal, and is
protected from being overwritten if additional pulses occur on the DAV line. This over-
write protection is maintained until the port data is read. In output mode, data written to
Port 0 Handshake Output
P35
RDY0/DAV0
Port 1 Handshake Output
P34
RDY1/DAV1
Port 2 Handshake Output
P36
RDY2/DAV2
Analog Comparator Input
P31
AN1
P32
AN2
P33
REF
Analog Comparator Output
P34
AN1-OUT
P35
AN2-OUT
P37
AN2-OUT
Interrupt Requests
P30
IRQ3
P31
IRQ2
P32
IRQ0
P33
IRQ1
Serial Input (UART)
P30
DI
Serial Output (UART)
P37
DO
SPI Slave Select
P35
SS
SPI Clock
P34
SK
Counter/Timer
P31
T
IN
P36
T
OUT
External Memory Status
P34
DM
Table 17. Port 3 Line Functions (Continued)
Function
Line
Signal
- Z86233 Z86243 Z86733 Z86743 Z86C02 Z86C04 Z86C08 Z86C15 Z86C21 Z86C30 Z86C31 Z86C33 Z86C36 Z86C40 Z86C43 Z86C61 Z86C62 Z86C63 Z86C65 Z86C83 Z86C90 Z86C91 Z86C93 Z86C96 Z86E02 Z86E03 Z86E04 Z86E06 Z86E07 Z86E08 Z86E15 Z86E21 Z86E30 Z86E31 Z86E33 Z86E34 Z86E40 Z86E43 Z86E44 Z86E61 Z86E63 Z86E83 Z86K15 Z86L02 Z86L04 Z86L08 Z86L16 Z8E000 Z8E001 Z8PE003