Addressing Modes - Texas Instruments OMAP5912 Reference Manual

Multimedia processor device overview and architecture
Hide thumbs Also See for OMAP5912:
Table of Contents

Advertisement

Table 128. DSP DMA DMA_CCR.AUTOINIT, END_PROG and REPEAT Bit Effects
AUTOINIT
END_PROG REPEAT
0
x
1
0
1
1
1
x
4.24.4

Addressing Modes

SPRU755B
The following registers are part of the working set and are accessible to the
user. They always have an effect on the current transfer.
DMA_CSDP
-
DMA_CCR
-
DMA_CICR
-
DMA_CSR
-
An error can occur if the CPU accesses a channel to program it while it is
reloading. To avoid this error, the CPU can use the DMA_CCR.END_PROG
bit as follows:
The CPU must set the bit to 1 once the channel setup is finished.
-
The DMA clears the bit when the programming set of registers is loaded
-
in the working set of registers.
When a transfer finishes, the DMA channel waits until END_PROG is 1 before
proceeding to reload. Once the reload is done, the DMA clears the
END_PROG bit.
For
repetitive
operations
DMA_CCR.REPEAT bit can disable the effect of the END_PROG bit on the
reload behavior. If this bit is set to 1, the DMA channel always reloads its
working set of registers, whatever the END_PROG value is. Table 128
describes the effects of the DMA_CCR.AUTOINIT, END_PROG, and
REPEAT bits.
Autoinitialization Behavior
x
No autoinitialization.
0
At the end of current transfer, the channel waits until end prog = 1
to load the programming register set to its working register set.
0
At the end of current transfer, channel immediately loads the
programming register set in its working register set.
1
The DMA has four addressing modes: Constant, post-incremented, indexed,
and double-indexed.
The amount of data (block size) to transfer is programmed in bytes. This size
can be odd or even.
(reloading
of
the
Direct Memory Access (DMA) Support
DSP DMA
same
context),
the
177

Advertisement

Table of Contents
loading

Table of Contents