FORCE Computers SYS68K/ISCSI-1 — SYS68K/ISCSI-1 User's Manual

-~-------------------------------- HD68450, HD68450Y Under this protocol, the communication between peripheral device and the DMAC is performed using 'a three signal REO/ ACK/READY handshake. The READY input to the DMAC is provided by the PCL line. The READY line is active low. When a request is generated using the request method programmed in the control registers, the DMAC obtains the bus and asserts ACK to notify the device that the transfer is to take place. The DMAC waits for READY (pCL input), which is a response from the device, in addition to DT ACK which is a response from memory. When the DMAC accepts both signals, it terminates the trans- fer.

Refer to Figures 33 and 34 for the flowcharts of the data transfer between memory and the device with ACK and READY. Refer to Figure 35 for the transfer timing of the 8-bit device. When the data transfer is from memory to a device, data is valid from the assertion of DT ACK to the negation of LDS and UDS. DTC is asserted a half clock before LDS and UDS are negated, so this line may be used for latching the data by the peripheral device. In this case, READY (pCL input) indicates that the device has received the data. Both DT ACK and READY (pCL input) signals are needed for terminating the DMA cycle.

When the data transfer is from the device to memory, data must be valid on the bus before the DMAC asserts LDS and UDS. Therefore, READY (pCL input) is used as the signal to indicate that the peripheral device has outputted the data on the bus. When the DMAC detects PCL (READY input), then it Device with ACK and READY Transfers asserts LDS and UDS. After asserting LDS and UDS, the DMAC terminates the cycle when DT ACK signal from the memory is detected. When Array Chain or Link Array Chain is set in Device with ACK and READY Transfer mode, READY input is also neces- sary during DMA bus cycles for reading the chain information from memory.

The circuit as shown in Figure 32 may be used in order to generate READY input when reading the chain information from memory. HD68450 Figure 32 READY Circuit When Array or Link Array Chain is set for Device with ACK and READY DMAC Memory ACK and READY Device 1) Set R/W to Read 2) Place Address on A, - A" 3) Place Function Codes on FC. - FC, 4) Assert Address Strobe lAS) 5) Assert Upper Data Strobe IUDS) Address Memory and Lower Data Strobe I LOS) 6) Assert Acknowledge lACK) I 1) Decode Address Present bata 2) Place Data on D.

- DIS 3) Assert Data Transfer Acknowledge (DTACK) I , Terminate Transfer 1) Load Data 2) Assert'REA5V Acquire tata 1) Assert Device Transfer Complete (DTC) 2) Negate UDS and LOS 3) Negate AS, ACK and DTC LI------------------------~t I f Start Next Cycle Term inate Cycle 1) Negate DT ACK Figure 33 Word from Memory to Device with ACK and READY HITACHI 29