FIFO to Memory Data Transfer
11-18
ADSP-2126x SHARC Processor Hardware Reference
Interrupt-Driven Transfer Notes
The following items provide general information about interrupt driven
transfers.
• The three LSBs of FIFO data are the encoded channel number.
These are transferred “as is” for this mode. These bits can be used
by software to decode the source of data.
• The number of data samples in the FIFO at any time is reflected in
the
IDP_FIFOSZ
bit field (bits 31–28 in the
DAI_STAT
register),
which tracks the number of samples in FIFO.
When using the interrupt scheme, the
IDP_NSET
bits (bits 3–0 of
the
IDP_CTL
register) can be set to
N
, so
N
+ 1 data can be read
from the FIFO in the interrupt service routine (ISR).
• If the
IDP_BHD
bit (bit 4 in the
IDP_CTL
register) is not set, attempts
to read more data than is available in the FIFO results in a core
hang.
DMA Transfers
DMA access is enabled when the
IDP_DMA_EN
bit (bit 5 of the
IDP_CTL
reg-
ister) is set (= 1).
Starting DMA Transfers
To start a DMA transfer from the FIFO to memory:
1. Clear and halt the FIFO by setting (= 1) and then clearing (= 0) the
IDP_ENABLE
bit (bit 7 in the
IDP_CTL
register).
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 ...