Fifo Overflow - Analog Devices SHARC ADSP-21368 Hardware Reference Manual

Hide thumbs Also See for SHARC ADSP-21368:
Table of Contents

Advertisement

FIFO to Memory Data Transfer
5. Read the
rupts have been generated.
• If the value(s) are not zero, repeat step 4.
• If the value(s) are zero, continue to step 6.
6. Re-enable the
7. Exit the ISR.
If a zero is read in step 5 (no more interrupts are latched), then all of the
interrupts needed for that ISR have been serviced. If another DMA com-
pletes after step 5 (that is, during steps 6 or 7), as soon as the ISR
completes, the ISR is called again because the OR of the latched bits will
be nonzero again. DMAs in process run to completion.
If step 5 is not performed, and a DMA channel expires during step
4, then when IDP DMA is re-enabled (step 6), the completed
DMA will not have been reprogrammed and its buffer will overrun.

FIFO Overflow

If the data out of the FIFO (either through DMA or core reads) is not suf-
ficient to transfer at the combined data rate of all the channels, then a
FIFO overflow can occur. When this happens, new data is not accepted.
Additionally, data coming from the serial input channels (except for
2
32-bit I
S and left-justified modes) are not accepted in pairs, so that alter-
nate data from a channel is always from left and right channels. If overflow
occurs, then sticky bits in the
generated. Data is accepted again when space has been created in the
FIFO.
7-30
or
DAI_IRPTL_L
DAI_IRPTL_H
bit in the
IDP_DMA_EN
DAI_STAT
ADSP-21368 SHARC Processor Hardware Reference
registers to see if more inter-
register (set to 1).
IDP_CTL0
register are set and an interrupt is

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SHARC ADSP-21368 and is the answer not in the manual?

Questions and answers

Table of Contents