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

Table of Contents

Advertisement

Ping-Pong DMA
In ping-pong DMA, the parameters have two memory index values (index
A and index B), one count value and one modifier value. The DMA starts
the transfer with the memory indexed by A. When the transfer is com-
pleted as per the value in the count register, the DMA restarts with the
memory location indexed by B. The DMA restarts with index A after the
transfer to memory with index B is completed as per the count value.
The IDP DMA parameter registers have these functions:
• Internal index registers (
registers provide an internal memory address, acting as a pointer to
the next internal memory location where data is to be written.
• Internal modify registers (
the signed increment by which the DMA controller post-modifies
the corresponding internal memory Index register after each DMA
write.
• Ping-Pong Count registers (
the number of words remaining to be transferred to internal mem-
ory on the corresponding DMA channel.
This mode is activated when the
bits, and the
IDP_DMA_ENx
An interrupt is generated after every ping and pong DMA transfer (when
the count = 0).
Note that ping-pong DMA is repeated until stopped by resetting
the
IDP_DMA_ENx
Multichannel DMA Operation
The SIP/PDAP can run both standard and ping-pong DMAs in different
channels. When running standard DMA, initialize the corresponding
,
IDP_DMA_Ix
IDP_DMA_Mx
ADSP-214xx SHARC Processor Hardware Reference
www.BDTIC.com/ADI
IDP_DMA_IxA
IDP_DMA_Mx
IDP_DMA_PCx
bit, the
IDP_EN
bits are set for a particular channel.
IDP_PINGx
bits (OR global
IDP_DMA_EN
and
registers. When running
IDP_DMA_Cx
Input Data Port
,
). Index A/B
IDP_DMA_IxB
). Modify registers provide
). Count registers indicate
bit, the
IDP_DMA_EN
bit).
11-21

Advertisement

Table of Contents
loading

Table of Contents