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

Table of Contents

Advertisement

Listing 3-6. EPDMA With Read Optimization
ustat1=dm(DDR2CTL0);
bit set ustat1 DDROPT|DDRMODIFY2;
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,
DDR2MODIFY
then the DMA modifier should match the
Self-Refresh Mode
This mode causes refresh operations to be performed internally by the
DDR2, without any external control. This means that the SDC does not
generate any auto-refresh cycles while the DDR2 is in self-refresh mode.
Self-refresh entry—Self-refresh mode is enabled by writing a 1 to the
bit of the DDR2 memory control register (
DDR2SRF
serts the
DDR2CKE
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;
pin and puts the DDR2 in self-refresh mode if no access
External Port
setting.
DDR2MODIFY
). This deas-
DDR2CTL0
3-79

Advertisement

Table of Contents
loading

Table of Contents