Chained Dma - Analog Devices SHARC ADSP-214 Series Hardware Reference Manual

Table of Contents

Advertisement

Programming Models
4. If scatter/gather DMA is desired, program additional writes to the
and
TCEP
5. Enable DMA using the
using the
desired, set the
flushed using the
Once the DMA control register is initialized, the DMA engine fetches the
DMA descriptors from the address pointed to by
descriptors are fetched then the DMA (or the tap list DMA) process starts.
Once the DMA (or tap list DMA) is complete, the new DMA descriptors
are loaded and the process is repeated until
tion interrupt is generated at the end of each DMA block or at the end of
entire chained DMA, depending on the

Chained DMA

Use the following procedure to set up and run a chained DMA on the
external port.
1. Clear the chain pointer register.
2. Configure the
wait states, the data bus width, and so on. Configure the
ister to enable the SDRAM/DDR2, configure the desired clock and
timing settings, data bus width, and other parameters.
3. Initialize the
required after the end of each DMA block. Set the
ferent DMA direction is required in conjunction with the
in the
DMACx
3-122
www.BDTIC.com/ADI
registers.
TPEP
DMAEN
bit in the
TRAN
DMACx
bit. It is advised that the DMA FIFOs are
TLEN
bit when DMA is enabled.
DFLSH
registers to enable the AMI, set the desired
AMICTLx
register and set the
CPEP
register.
ADSP-214xx SHARC Processor Hardware Reference
bit, and set the transfer direction
registers. If scatter/gather DMA is
. Once the DMA
CPEP
= 0x0. A DMA comple-
CPEP
bit setting.
PCI
bit if interrupts are
PCI
reg-
SDCTL
bit if dif-
CPDR
bit
OFCEN

Advertisement

Table of Contents
loading

Table of Contents