DIRECT MEMORY ACCESS UNIT
10-8
10.1.8 DMA Unit Interrupts
Each DMA channel can be programmed to generate an interrupt request when its transfer count
reaches zero.
10.1.9 DMA Cycles and the BIU
The DMA Unit uses the Bus Interface Unit to perform its transfers. When the DMA Unit has a
pending request, it signals the BIU. If the BIU has no other higher-priority request pending, it runs
the DMA cycle. (BIU priority is described in Chapter 3, “Bus Interface Unit.”) The BIU signals
that it is running a bus cycle initiated by a master other than the CPU by driving the S6 status bit
high.
The Chip-Select Unit monitors the BIU addresses to determine which chip-select, if any, to acti-
vate. Because the DMA Unit uses the BIU, chip-selects are active for DMA cycles. If a DMA
channel accesses a region of memory or I/O space within a chip-select’s programmed range, then
that chip-select is asserted during the cycle. The Chip-Select Unit will not recognize DMA cycles
that access I/O space above 64K.
10.1.10 The Two-Channel DMA Unit
Two DMA channels are combined with arbitration logic to form the DMA Unit (see Figure 10-5).
10.1.10.1
DMA Channel Arbitration
Within the two-channel DMA Unit, the arbitration logic decides which channel takes precedence
when both channels simultaneously request transfers. Each channel can be set to either low pri-
ority or high priority. If the two channels are set to the same priority (either both high or both
low), then the channels rotate priority.
10.1.10.1.1
Fixed Priority
Fixed priority results when one channel in a module is programmed to high priority and the other
is set to low priority. If both DMA requests occur simultaneously, the high priority channel per-
forms its transfer (or transfers) first. The high priority channel continues to perform transfers as
long as the following conditions are met:
•
the channel’s DMA request is still active
•
the channel has not terminated or suspended transfers (through programming or interrupts)
•
the channel has not released the bus (through the insertion of idle states for destination-
synchronized transfers)
Summary of Contents for 80C186XL
Page 1: ...80C186XL 80C188XL Microprocessor User s Manual...
Page 2: ...80C186XL 80C188XL Microprocessor User s Manual 1995...
Page 18: ...1 Introduction...
Page 19: ......
Page 27: ......
Page 28: ...2 Overview of the 80C186 Family Architecture...
Page 29: ......
Page 79: ......
Page 80: ...3 Bus Interface Unit...
Page 81: ......
Page 127: ......
Page 128: ...4 Peripheral Control Block...
Page 129: ......
Page 137: ......
Page 138: ...5 ClockGenerationand Power Management...
Page 139: ......
Page 154: ...6 Chip Select Unit...
Page 155: ......
Page 178: ...7 Refresh Control Unit...
Page 179: ......
Page 193: ......
Page 194: ...8 Interrupt Control Unit...
Page 195: ......
Page 227: ......
Page 228: ...9 Timer Counter Unit...
Page 229: ......
Page 253: ......
Page 254: ...10 Direct Memory Access Unit...
Page 255: ......
Page 283: ......
Page 284: ...11 Math Coprocessing...
Page 285: ......
Page 302: ...12 ONCE Mode...
Page 303: ......
Page 306: ...A 80C186 Instruction Set Additions and Extensions...
Page 307: ......
Page 318: ...B Input Synchronization...
Page 319: ......
Page 322: ...C Instruction Set Descriptions...
Page 323: ......
Page 371: ......
Page 372: ...D Instruction Set Opcodes and Clock Cycles...
Page 373: ......
Page 396: ...Index...
Page 397: ......