Part Number: PCM9211
Pls kindly advise 2 questions as below, thanks.
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+)
When DIR using in wide mode (192K-Hz), if Register 24h/OSCAUTO need set to 1?
There are a number of DIR errors that can be monitored with the PCM9211. From section 220.127.116.11.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.
Zak Kaye Precision Amplifiers Applications
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Zak Kaye:
Thanks for help, Which case is for register 24h/OSCAUTO=1?
In reply to Ian Wang:
You would set 24h to 1 if you are not operating in wide mode and do not need the sample rate calculator.
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?
The PCM9211 supports up to 216kHz.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.