ADSP-214xx SHARC Processor Hardware Reference
13-23
Sony/Philips Digital Interface
(
DIR_CLK_O
), the serial frame sync (
DIR_FS_O
), and the serial data
(
DIR_DAT_O
). The high frequency clock (
DIR_TDMCLK_O
) derived
from the encoded stream is also available if the system requires it.
2. Initialize the
DIRCTL
register to enable the data decoding. Note that
this peripheral is enabled by default.
Interrupted Data Streams on the Receiver
When using the S/PDIF receiver with data streams that are likely to be
interrupted, (in other words unplugged and reconnected), it is necessary
to take some extra steps to ensure that the S/PDIF receiver’s digital PLL
will re lock to the stream. The steps to accomplish this are described
below.
1. Set up interrupts within the DAI so that the S/PDIF receiver can
generate an interrupt when the stream is reconnected.
2. Within the interrupt service routine (ISR), stop and restart the dig-
ital PLL. This is accomplished by setting and then clearing bit 7 of
the S/PDIF receiver control register.
3. Return from the ISR and continue normal operation.
This method of resetting the digital PLL has been shown to provide
extremely reliable performance when S/PDIF inputs that are interrupted
or unplugged momentarily occur.
The following procedure and the example code show how to reset the dig-
ital PLL. Note that all of the S/PDIF receiver interrupts are handled
through the DAI interrupt controller.
1. Initialize the No Stream Interrupt
/* Enable interrupts (globally) */
BIT SET MODE1 IRPTEN;
/* unmask DAI Hi=Priority Interrupt */
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...