
Programming Model
11-28
ADSP-214xx SHARC Processor Hardware Reference
5. Set the desired values for the
N_SET
variable using the
IDP_NSET
bits in the
IDP_CTL0
register.
6. Set the
IDP_FIFO_GTN_INT
bit (bit 8 of the
DAI_IMASK_RE
register)
to HIGH and set the corresponding bit in the
DAI_IMASK_FE
regis-
ter to LOW to unmask the interrupt. Set bit 8 of the
DAI_IMASK_PRI
register (
IDP_FIFO_GTN_INT
) as needed to generate a
high priority or low priority core interrupt when the number of
words in the FIFO is greater than the value of N set.
7. Enable the PDAP by setting
IDP_PDAP_EN
(bit 31 in the
IDP_PP_CTL
register), if required.
8. Enable the IDP by setting the
IDP_EN
bit (bit 7 in the
IDP_CTL0
register) and the
IDP_ENx
bits in the
IDP_CTL1
register.
In older SHARC processors, the IDP starts shifting data before the
IDP is enabled. However, the shifted data is latched at the next
frame sync edge only if the IDP is enabled. Therefore, whether the
first channel received by the IDP is left/right depends on the
instant when the IDP is enabled— which may lead to channel
swapping.
Additional Notes
When IDPs are used to receive data from external devices, there is a
sequence to be followed to enable the IDP ports when configured to
receive data in I
2
S mode. Failing to follow this sequence can give rise to
channel shift or swap.
1. Connect the frame sync internally using the SRU (Signal Routing
Unit) to the DAI interrupt.
2. Configure the DAI interrupt (MISCA) for the inactive edge of the
frame sync.
www.BDTIC.com/ADI
Summary of Contents for SHARC ADSP-214 Series
Page 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...