Z8
®
CPU
User Manual
UM001604-0108
Input/Output Ports
65
In applications requiring a strobed signal instead of the interlocked handshake, Z8
®
CPU
can satisfy this requirement as follows:
•
In the Strobed Input mode, data can be latched in the Port input register using the DAV
input. The data transfer rate must allow enough time for the software to read the Port
before strobing in the next character. The RDY output is ignored.
•
In the Strobed Output Mode, the RDY input should be tied to the DAV output.
and
on page 66 display the strobed handshake connec-
tions.
Figure 51. Z8 Output Handshake
Valid Data
(Input To Z8)
State 1.
2
1
3
4
5
RDY
(Output From Z8)
DAV
(Output From Z8)
Data on Port
RDY input is High indicating that the I/O device is ready to accept data.
State 2.
the Z8
®
CPU Writes to the port register to initiate a data transfer. Writing to the port outputs new data and
forces DAV Low if and only if RDY is High.
State 3.
The I/O device forces RDY Low after latching the data. RDY Low causes an interrupt request to be generate
the Z8 CPU can write new data responses to RDY going Low; however, the data is not output until State 5.
State 4.
The DAV output from the Z8 CPU is driven High in response to RDY going Low.
State 5.
The DAV goes High, the I/O device is free to raise RDY High thus returning the interface to its initial state.