Figure 71.
Auto-initialization Sequence With Changing Context (REPEAT = 0)
The DSP core sets AUTOINIT=1
and clears REPEAT= 0 to select
the correct auto-initialization mode
The DSP core programs the
desired channel context for the first
block transfer into the configuration
registers and enables the channel
The DSP core sets ENDPROG=1
to indicate it is finished
programming the configuration
No
The DSP core programs the
desired channel context for the
next block transfer into the
configuration registers
7.2.5
MPUI Access Configurations
SPRU890A
ENDPROG = 0 after reset
(EN = 1)
registers
Handshaking
Using ENDPROG
DSP core
detects
ENDPROG=0
?
Yes
As shown in Figure 72, the MPUI_EXCL bit in DMAGCR determines the
relationship between the MPUI and the DMA channels:
When MPUI_EXCL = 0, the MPUI shares memory with the channels.
-
When MPUI_EXCL = 1, the MPUI cannot access DSP external memory,
-
but it can access internal RAM without interruptions from the channels.
The DARAM port and the SARAM port operate as if all the channels were
disconnected from the service chain. Section 7.2.6 describes the service
chain.
DMA detects
ENDPROG = 1
?
Yes
The DMA controller copies
the configuration registers to
the working registers
The DMA controller clears
ENDPROG=0 to indicate it is
finished copying the
configuration registers and
they are available to be
reprogrammed by the DSP
core
The DMA controller enables
the channel and transfers
the block of data according
to the channel context.
When the block transfer is
complete, the DMA disables
the channel (EN = 0).
DSP Subsystem
DSP DMA
No
131