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 />

Both Requests Asserted<br />

Channel<br />

Priority<br />

Synch<br />

0<br />

Low<br />

SRC<br />

1<br />

Low<br />

SRC<br />

Channel 1 Channel 0 Channel 1 Channel 0<br />

Etc.<br />

Channel<br />

Priority<br />

Synch<br />

Channel<br />

Priority<br />

Synch<br />

0<br />

High<br />

SRC<br />

0<br />

High<br />

Dest<br />

1<br />

Low<br />

SRC<br />

1<br />

Low<br />

SRC<br />

Channel 0<br />

Channel 0<br />

Channel 0 Channel 1 Channel 1<br />

Channel 0 Completes<br />

All Transfers<br />

Channel 1 Channel 0 Channel 1<br />

Destination Synch Releases Bus<br />

Etc.<br />

Etc.<br />

A1190-0A<br />

Figure 10-6. Examples of DMA Priority<br />

10.1.10.1.2 Rotating Priority<br />

Channel priority rotates when the channels are programmed as both high or both low priority. The<br />

highest priority is initially assigned to channel 1 of the module. After a channel performs a transfer,<br />

it is assigned the lower priority. When requests are active for both channels, the transfers alternate<br />

between the two.<br />

10.1.10.1.3 The Internal DMA Request Multiplexer<br />

The source of internal DMA requests for a module is selected by the Internal DMA Request Multiplexer.<br />

The multiplexer controls the routing of internal DMA requests to each channel of the<br />

module. When the multiplexer is programmed to select Timer 2 DMA requests, the internal request<br />

line of each channel is connected to Timer 2. When the multiplexer is programmed to select<br />

serial port DMA requests, channel 0 is connected to the transmitter DMA request and channel 1<br />

is connected to the receiver DMA request. A simplified diagram of the Internal DMA Request<br />

Multiplexer is shown in Figure 10-7.<br />

It is important to note that the Internal DMA Request Multiplexer only selects the source of internal<br />

DMA requests; it does not control whether the channel responds to internal or external<br />

DMA requests.<br />

10-11

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

Saved successfully!

Ooh no, something went wrong!