Dma Access; Notes On Read Optimization - Analog Devices SHARC ADSP-214 Series Hardware Reference Manual

Table of Contents

Advertisement

DMA Access

Listing 3-3
shows an example of external port DMA using read
optimization.
Listing 3-3. EPDMA With Read Optimization
ustat1=dm(SDCTL);
bit set ustat1 SDROPT|SDMODIFY2;
dm(SDCTL)=ustat1;
nop;
r0=DFLSH;
dm(DMAC1)=r0;
r0=intmem;
r0=2;
r0=N;
r0=2;
r0=extmem;
r0=DEN;
dm(DMAC1)=r0;

Notes on Read Optimization

The core and the DMA engine take advantage of the major improvements
during reads using read optimization. However, in situations where both
the core and DMA need to read from different internal memory banks
with different modifiers at the same time, programs need to choose
whether or not to use optimization. Note that from a throughput prospec-
tive, external port arbitration also is a factor. A good rule is that the
requester with the higher priority should have the same modifier as
. In other words, if DMA has a higher priority over the core, then the
IFY
DMA modifier should match the
ADSP-214xx SHARC Processor Hardware Reference
www.BDTIC.com/ADI
dm(IIEP1)=r0;
dm(IMEP1)=r0;
dm(ICEP1)=r0;
dm(EMEP1)=r0;
dm(EIEP1)=r0;
SDMODIFY
External Port
setting.
SDMOD-
3-43

Advertisement

Table of Contents
loading

Table of Contents