03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DIRECT MEMORY ACCESS UNIT<br />

10.1.4.1 Source Synchronization<br />

A typical source-synchronized transfer is shown in Figure 10-3. Most DMA-driven peripherals<br />

deassert their DRQ line only after the DMA transfer has begun. The DRQ signal must be deasserted<br />

at least four clocks before the end of the DMA transfer (at the T1 state of the deposit phase)<br />

to prevent another DMA cycle from occurring. A source-synchronized transfer provides the<br />

source device at least three clock cycles from the time it is accessed (acknowledged) to deassert<br />

its request line if further transfers are not required.<br />

CLKOUT<br />

Fetch Cycle<br />

T1 T2 T3 T4<br />

Deposit Cycle<br />

T1 T2 T3 T4<br />

DRQ (Case 1)<br />

1<br />

DRQ (Case 2)<br />

2<br />

NOTES:<br />

1. Current source synchronized transfer will not be immediately<br />

followed by another DMA transfer.<br />

2. Current source synchronized transfer will be immediately<br />

followed by another DMA transfer.<br />

A1188-0A<br />

Figure 10-3. Source-Synchronized Transfers<br />

10.1.4.2 Destination Synchronization<br />

A destination-synchronized transfer differs from a source-synchronized transfer by the addition<br />

of two idle states at the end of the deposit cycle (Figure 10-4). The two idle states extend the DMA<br />

cycle to allow the destination device to deassert its DRQ pin four clocks before the end of the<br />

cycle. If the two idle states were not inserted, the destination device would not be able to deassert<br />

its request in time to prevent another DMA cycle from occurring.<br />

The insertion of two idle states at the end of a destination synchronization transfer has an important<br />

side effect. A destination-synchronized DMA channel gives up the bus during the idle<br />

states, allowing any other bus master to gain ownership. This includes the CPU, the Refresh<br />

Control Unit, an external bus master or another DMA channel.<br />

10-5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!