10.4.1Synchronization Timing

DRQ1 or DRQ0 must be deasserted before the end of the DMA transfer to prevent another DMA cycle from occurring. The timing for the required deassertion depends on whether the transfer is source-synchronized or destination-synchronized.

10.4.1.1Source Synchronization Timing

Figure 10-8shows a typical source-synchronized DMA transfer. The DRQ signal must be deasserted at least four clocks before the end of the transfer (at T1 of the deposit phase). If more transfers are not required, a source-synchronized transfer allows the source device at least three clock cycles from the time it is acknowledged to deassert its DRQ line.

Figure 10-8 Source-Synchronized DMA Transfers

 

Fetch Cycle

 

 

Fetch Cycle

 

T1

T2

T3

T4

T1

T2

T3

T4

CLKOUT

DRQ (First case)

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DRQ (Second case)

2

 

 

 

 

 

Notes:

1.This source-synchronized transfer is not followed immediately by another DMA transfer.

2.This source-synchronized transfer is immediately followed by another DMA transfer because DRQ is not deasserted soon enough.

10.4.1.2Destination Synchronization Timing

Figure 10-9shows a typical destination-synchronized DMA transfer. A destination- synchronized transfer differs from a source-synchronized transfer in that two idle states are added to the end of the deposit cycle. The two idle states allow the destination device to deassert its DRQ signal four clocks before the end of the cycle. Without the two idle states, the destination device would not have time to deassert its DRQ signal.

Because of the two extra idle states, a destination-synchronized DMA channel allows other bus masters to take the bus during the idle states. The CPU, the refresh control unit, and another DMA channel can all access the bus during the idle states.

DMA Controller

10-11

Page 145
Image 145
AMD Am188TMER, Am186TMER Source Synchronization Timing, Destination Synchronization Timing, DMA Controller 10-11