Analog Devices SHARC ADSP-214 Series Hardware Reference Manual page 514

Table of Contents

Advertisement

Programming Model
3. Configure all DMA parameter registers (index, modify and count).
4. Configure the SPORT operation mode and enable DMA operation
(
).
SPCTLx
Setting Up and Starting Chained DMA
To set up and initiate a chain of DMA operations, use the following
procedure.
1. Clear the chain pointer register.
2. For internal memory transfers, set up all TCBs in internal memory.
3. Write the address containing the index register value of the first
TCB to the chain pointer register, which starts the chain.
4. Write to the
and the chaining enable bit to one. Setting these bits loads the
DMA parameter registers.
Enter DMA Chain Insertion Mode
Chain insertion lets the SPORTs insert a single SPORT DMA operation
or another DMA chain within an active SPORT DMA chain.
1. Enter chain insertion mode by setting
the channel's DMA control register. The DMA interrupt indicates
when the current DMA sequence is complete.
2. Copy the address currently held in the chain pointer register to the
chain pointer position of the last TCB in the chain that is being
inserted.
10-56
www.BDTIC.com/ADI
register by setting the DMA enable bit to one
SPCTLx
ADSP-214xx SHARC Processor Hardware Reference
= 0 and
SDENx
SCHENx
= 1 in

Advertisement

Table of Contents
loading

Table of Contents