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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DIRECT MEMORY ACCESS UNIT<br />

When the DMA request is granted, the Bus Interface Unit provides the bus signals for the DMA<br />

transfer, while the DMA channel provides the address information for the source and destination<br />

devices. The DMA Unit does not provide a discrete DMA acknowledge signal, unlike other DMA<br />

controller chips (an acknowledge can be synthesized, however). The DMA channel continues<br />

transferring data as long as the request is active and it has not exceeded its programmed transfer<br />

limit.<br />

Every DMA transfer consists of two distinct bus cycles: a fetch and a deposit (see Figure 10-1 on<br />

page 10-2). During the fetch cycle, the byte or word is read from the data source and placed in an<br />

internal temporary storage register. The data in the temporary storage register is written to the<br />

destination during the deposit cycle. The two bus cycles are indivisible; they cannot be separated<br />

by a bus hold request, a refresh request or another DMA request.<br />

Fetch<br />

Deposit<br />

CLKOUT<br />

TI T1 T2 T3<br />

T4 T1 T2 T3 T4<br />

ALE<br />

AD15:0<br />

Source<br />

Address<br />

Source<br />

Data<br />

Destination<br />

Address<br />

Destination<br />

Data<br />

RD<br />

WR<br />

A1186-0A<br />

Figure 10-1. Typical DMA Transfer<br />

10-2

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

Saved successfully!

Ooh no, something went wrong!