Setting Up DMA
7-30
ADSP-2126x SHARC Processor Hardware Reference
All of the I/O processor’s registers are memory-mapped, ranging from
address 0x0000 0000 to 0x0003 FFFF. For more information on these
registers, see
.
Setting Up DMA
Because the I/O processor registers are memory-mapped, the processor has
access to program DMA operations. A processor sets up a DMA channel
by writing the transfer’s parameters to the DMA parameter registers. After
the index, modify, and count registers (among others) are loaded with a
starting source or destination address, an address modifier, and a word
count, the processor is ready to start the DMA.
The SPI port, parallel port, serial ports and input data ports each have a
DMA enable bit (
SPIDEN
,
PPDEN
,
SDEN
or
IDP_DMA_EN
) in their channel
control register. Setting this bit for a DMA channel with configured DMA
parameters starts the DMA on that channel.
If the parameters configure the channel to receive, the I/O processor trans-
fers data words received at the buffer to the destination in internal
18
IDP_CTL
IDP_DMA_I6, IDP_D-
MA_M6, IDP_DMA_C6
IDP_FIFO
DAI IDP Channel 6
19
IDP_CTL
IDP_DMA_I7, IDP_D-
MA_M7, IDP_DMA_C7
IDP_FIFO
DAI IDP Channel 7
20
SPICTL
IISPI, IMSPI, CSPI,
CPSPI
RXSPI, TXSPI
SPI Data
21
PPCTL
EIPP, EMPP, ECPP, IIPP,
IMPP, ICPP
RXPP, TXPP
Parallel Port Data
Table 7-5. DMA Channel Registers: Controls, Parameters
and Buffers (Cont’d)
DMA
Channel
Number
Control
Registers
Parameter Registers
Buffer Registers
Description
Summary of Contents for ADSP-21261 SHARC
Page 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Page 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Page 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Page 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Page 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Page 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Page 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Page 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Page 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Page 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Page 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Page 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...