Part Number: TLV320AIC3254
See below from customer on customer. Can you help explain the gain and why clipping may be occurring with 50 mV input?
As I mentioned, there seems to be a 12-15dB gain in the system I can't account for. The primary reference block diagram is the "analog routing diagram" Fig 2-1 of the app note.
Here's what I have:
* Datasheet specs ~ 500mVrms full-scale at the ADC (numerous references, e.g. Datasheet THD spec sec 8.9, app note references for 0.9v common mode ~ VCM, etc)
* Input distortion using Hilbert program begins at ~10-30mVpp (freq dependent). Result is oscillation and spurious phase inversion at output, with 150mVpp output prior to distortion when measured by oscilloscope on LINE_OUT
* Result is the same at input 1p (our primary input), but also at input
2 and 3 (differential or single-ended, if Vpp is adjusted to be constant). Return to single-ended mode from here on, rule out DC bias.
* Assumed this clipping is either over-driven input or digital saturation of filters.
* Simplified program to "pass-through" block diagram (ADC input, DSP-A/DSP-D transfer block, DAC output). No change to clip point. No filters, filter saturation is unlikely.
* Built tone generator program for 1khz tone direct to output (no DSP-A/DSP-D transfer), with no input. Set digital oscillator amplitude to 1.0. No distortion or clipping, output amplitude is about 350mVpp and very clean. Output overdrive is unlikely since this is well past the clip point we saw with our Hilbert program.
* Based on this, I believe the problem is input gain, and the oscillation merely is due to reconstruction filter and/or output interpolator interacting with clipped data. Ignore oscillation for now and focus on input gain.
* Return to pass-through program to investigate gain settings. Setting input PGA gain resistors to 40Kohm to IN1 for INL_P, 40Kohm to VCM1 for INL_R (INR unused). Input drive now clips at 50mVpp. Retain 40k PGA from here on.
* Changes to different INL_N (external DC bias, mic input, etc) do not improve the situation. Clip point is asymmetric, clipping more on positive peaks than negatives (when overlay input vs output on scope).
IN1L_P must have a built in bias of VCM that I didn't see in app note.
Leave INL_N to VCM from here on.
* Change input volume control to -12dB. Output amplitude down to ~50 mV prior to clip, with quantization noise apparent on oscilloscope connected to LINE_OUT. Returning to 0dB input volume control.
* Changed output volume control to -12dB. Similar results above.
Results suggest clip is prior to the ADC proper, at the analog buffer (PGA or earlier).
* Enabled input AGC, target to -24dBFS. Significant distortion (looks like harmonic distortion, but FFT not available - may be intermodulation). AGC returned to 0dB and disabled. Results suggest AGC is performed digitally after the ADC has clipped.
* Repeated 40kohm "pass-trhough" program with different values for oversampling ratio (AOSR/DOSR) on the ADC and DAC. Minimal difference to clip point, although the character of what we see on LINE_OUT changes, particularly the quantization noise. This suggests the AOSR and DOSR do not in general provide gain.
* Tried new program using the sidetone circuit to go from PGA directly to LINE_OUT amp. No DSP blocks in block diagram, no ADC or DACs. This program only adjusts the register banks. Clip point still at 50mVpp for 40k PGA resistor. This also suggests the clip is somewhere at- or near the PGA
Bottom line is, by walking the signal from the output backwards, we see that the only improvement occurred with changing PGA resistor settings.
Best result is 50mV at the input. This is consistent with a change from default 10kohm to 40kohm resulting in a change of clip from 10mV to 50mV. This is why I suggested the 1:10 voltage divider at the input of the TLV320AIC chip. We see approx 10 dB of unaccounted for gain before we reach the spec'd 500mVpp ADC clip point.
In reply to Luis Fernando Rodríguez S.:
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. 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 respect to these materials. 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.