Dma Buffer Descriptor - Digi NS7520B-1-C36 Hardware Reference Manual

Table of Contents

Advertisement

D M A b u f f e r d e s c r i p t o r

DMA buffer descriptor

All DMA channels operate using a buffer descriptor. Each DMA channel remains idle
until enabled using the CE bit in the DMA Control register (see "DMA Control register,"
beginning on page 136). When started, a DMA channel reads the DMA buffer
descriptor pointed to by the Buffer Descriptor Pointer register (see "Buffer Descriptor
Pointer register," beginning on page 136). When the current descriptor is completed,
the next descriptor is accessed from a circular buffer.
Each DMA buffer descriptor requires two 32-bit words for fly-by mode and three 32-
bit words stored on four-word boundaries for memory-to-memory operations.
Multiple buffer descriptors are located in 1024-byte circular buffers. The first buffer
descriptor address is provided by the DMA channel's buffer descriptor pointer.
Subsequent buffer descriptors follow the first descriptor. The final buffer descriptor
is defined with its W (wrap) bit set. When the DMA channel encounters the W bit, the
channel wraps around to the first descriptor. If the DMA channel does not encounter a
descriptor with the W bit set, the channel wraps at the 1024-byte address boundary.
Each DMA channel can address a maximum of 128 fly-by or 64 memory-to-memory
buffer descriptors. Figure 18 and Figure 19 show each descriptor type.
Offset + 0
Offset + 4
Figure 18: DMA buffer descriptor — Fly-by mode
Offset + 0
Offset + 4
Offset + 8
Offset + C
Figure 19: DMA buffer descriptor — Memory-to-memory mode
1 3 0
31 30 29 28
W
I
L
Status
31 30 29 28
W
I
L
Status
N S 7 5 2 0 H a r d w a r e R e f e r e n c e , R e v G 9 / 2 0 0 7
16 15
Buffer pointer
F
16 15
Source buffer pointer
F
Destination buffer pointer
Reserved
0
Buffer length
0
Buffer length

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NS7520B-1-C36 and is the answer not in the manual?

This manual is also suitable for:

Ns7520b seriesNs7520b-1-i46Ns7520b-1-c55

Table of Contents