
FIFO to Memory Data Transfer
11-20
ADSP-2126x SHARC Processor Hardware Reference
5. Connect all of the inputs to the IDP by writing to the
SRU_DAT3
,
SRU_DAT4
,
SRU_FS1
,
SRU_FS2
,
SRU_CLK1
, and
SRU_CLK2
registers.
Keep the clock and frame sync of the ports connected to
LOW
when
data transfer is not intended.
6. Enable DMA, IDP, and PDAP (if required) by setting each of the
following bits to one:
• The
IDP_DMA_EN
bit (bit 5 of the
IDP_CTL
register)
• The
IDP_PDAP_EN
bit (bit 31 in
IDP_PDAP_CTL
register)
• The
IDP_ENABLE
bit (bit 7 in the
IDP_CTL
register)
A DAI interrupt is generated at the end of each DMA.
DMA Transfer Notes
The following items provide general information about DMA transfers.
• A DMA can be interrupted by changing the
IDP_DMA_EN
bit in the
IDP_CTL
register. None of the other control settings (except for the
IDP_ENABLE
bit) should be changed. Clearing the
IDP_DMA_EN
bit
(= 0) does not affect the data in the FIFO, it only stops DMA
transfers. If the IDP remains enabled, an interrupted DMA can be
resumed by setting the
IDP_DMA_EN
bit again.
• Using DMA transfer overrides the mechanism used for inter-
rupt-driven manual reads from the FIFO. When the
IDP_DMA_EN
bit is set, the eighth interrupt in the
DAI_IRPTL_L
or
DAI_IRPTL_H
registers (
IDP_FIFO_GTN_INT
) is
not
generated. This interrupt
detects the condition that the number of data available in FIFO is
more than the number set in the
IDP_NSET
bits (bits [3:0]) of the
IDP_CTL
register).
Содержание ADSP-21261 SHARC
Страница 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Страница 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Страница 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Страница 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Страница 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Страница 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...