10.3.3DMA Destination Address High Register

(High Order Bits) (D0DSTH, Offset C6h, D1DSTH, Offset D6h)

Each DMA channel maintains a 20-bit destination and a 20-bit source register. Each register takes up two full 16-bit registers (the high register and the low register) in the peripheral control block. For each DMA channel to be used, all four registers must be initialized. These registers can be individually incremented or decremented after each transfer. If word transfers are performed, the address is incremented or decremented by 2 after each transfer. If byte transfers are performed, the address is incremented or decremented by 1.

Each register can point into either memory or I/O space. The user must program the upper four bits to 0000b in order to address the normal 64K I/O space. Because the DMA channels can perform transfers to or from odd addresses, there is no restriction on values for the destination and source address registers. Higher transfer rates can be achieved on the Am186ER microcontroller if all word transfers are performed to or from even addresses so that accesses occur in single, 16-bit bus cycles.

Figure 10-4 DMA Destination Address High Register (D0DSTH, D1DSTH, offsets C6h and D6h)

15

7

0

Reserved

DDA19–DDA16

The value of D0DSTH and D1DSTH at reset is undefined.

Bits 15–4: Reserved

Bits 3–0: DMA Destination Address High (DDA19–DDA16) —These bits are driven onto A19–A16 during the write phase of a DMA transfer.

10-6

DMA Controller

Page 140
Image 140
AMD Am186TMER, Am188TMER user manual DMA Controller