PCM9211: PCM9211

Genius 15115 points

Replies: 5

Views: 37

Part Number: PCM9211

Hi Sir,

Pls kindly advise 2 questions as below, thanks.

Q1.

We use ARC (TV) continuous output music to soundbar, soundbar will have S/PDIF signal to PCM9211 RXIN3, then through Main output port to DSP.

We will also monitor register 0x38 and 0x39 Port Sampling Frequency Calculate Status; register 0x38 Calculate Status is “0:Calculated” ; 

but sometimes will read 0x38 is “1:Calculating”, and music will discontinuous (ON-OFF-ON-OFF...).

For above issue, if what we can check something happen? 

(Format is DD or DD+)

 

Q2.

When DIR using in wide mode (192K-Hz),  if Register 24h/OSCAUTO need set to 1?

Thanks, Ian.

5 Replies

  • Hi Ian,

    There are a number of DIR errors that can be monitored with the PCM9211. From section 8.3.8.6.8 of the datasheet:

    "There are several allowable error sources from the DIR:

    • Change of incoming S/PDIF sample frequency (Register 25h / EFSCHG)

    • Out-of-range incoming S/PDIF signal (Register 25h / EFSLMT)

    • Non-PCM data (Register 25h / ENPCM)

    • Data invalid flag is the stream (Validity bit = 1) (Register 25h / EVALID)

    • Parity error (Register 25h / EPARITY)

    • PLL unlock (default) (Register 25h / EUNLOCK)

    The error sources can be selected using Register 25h. There are also several interrupts within the device that can be masked:

    • Error in DIR (this error is selectable from the list above in Register 25h)

    • When the device detects non-PCM data

    • When the Emphasis flag in the channel status of the incoming data has been set

    • When DTS-CD data have been detected by the device

    • When the Channel Status (CS) is updated

    • When Burst Preamble (PC) is updated

    • When the sampling frequency is changed.

    • When the analog input crosses the Analog Input Detect level (available only on INT1).

    Each interrupt source can be masked by Register 2Ah (INT0) and Register 2Bh (INT1)"

    Reading the error registers will give you an indication of what the problem is and from there it will be easier to debug. One things to keep in mind is that the PCM9211 is intended for stereo applications and does not support the full bandwidth that Dolby Digital does for encoding 6 channels of data. If non-PCM data is input to the DIR, it will be output without decoding and there are various preamble registers and sync signals that can be output for use by the processor that will need to decode the data.

    For register 24h if you are using the sample frequency calculator then you should keep OSCAUTO set to 0 so that the internal oscillator will be active (it is needed for the sample rate calcaulation). It is also needed when wide mode is being set thus I recommend you leave this set to 0.

    Best,

    Zak

    Regards,

    Zak Kaye
    Precision Amplifiers Applications 

  • In reply to Zak Kaye:

    Hi Zak,

    Thanks for help, Which case is for register 24h/OSCAUTO=1?

    Thanks, Ian. 

  • In reply to Ian Wang:

    Hi Ian,

    You would set 24h to 1 if you are not operating in wide mode and do not need the sample rate calculator.

    Best,

    Zak

    Regards,

    Zak Kaye
    Precision Amplifiers Applications 

  • In reply to Zak Kaye:

    Hi Zak,

    The data rates of Dolby Digital Plus can scale from 32 kbps all the way up to 6 Mbps.

    What is the maximum data rates for PCM9211 DIR?

     Thanks, Ian.

  • In reply to Ian Wang:

    Hi Ian,

    The PCM9211 supports up to 216kHz.

    Best,

    Zak

    Regards,

    Zak Kaye
    Precision Amplifiers Applications