This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TLV320AIC34 DAC noise

Other Parts Discussed in Thread: TLV320AIC32

Hi, 

we are using the TLV320AIC32 Codec in order to generate audio for a loud speaker and noticed that some white noise was present at the output. After some investigation we discovered that the noise appears to originate from the codec DAC and is subsequently amplified by our gain circuit.   

While performing tests, we observed that the noise is not present when the codec is initially configured and only appears once a non-zero digital input is supplied to the codec. Prior to the activation of the audio input, the noise level is measured at ~30dB less than what can be measured after audio has been applied and removed from the input. Changing the power state of the DAC (performing a power-down/power-up operation in the DAC Power and Output Driver Control Register) seems to return the DAC to the same level as after initialization, however using registers to momentarily disable the DAC is ill suited to the application in which the codec will be used.

Is there a way by which we can decrease the noise generated by the DAC when it is activated or a way by which the output of the DAC can be automatically disabled when a digital silence is received at the codec, attenuating the noise between activation ?  

Here is the output of the codec after configuration (or after a DAC power-down/power-up operation) : 

Here is the output of the codec after digital audio has been applied and removed from the input : 

thanks, 

Vincent

  • Hello Vincent and welcome to E2E!

    Perhaps the problem is related to the DAC start-up sequence. If my understanding is correct, after initializing the device the DAC is configured and it remains powered up. 

    I tried to replicate this in our EVM bud didn't get that behavior. Can you please share the register setup you are using for powering up the DAC?

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego, 

    the issue is that the output noise level from the codec increases after audio has been applied and removed from the output when compared to the initial noise level that is measured after configuration.  

    As example, following power up the codec is configured and an output noise level of -105dB is measured, then after applying and removing digital audio input from the codec the noise level is now measured at -76dB (and a white noise is audible at the speaker). If the DAC is powered down and powered back up (register 37 : D7 & D6 - Left / Right DAC Power Control ) the noise level returns to -105dB until digital audio is applied to the input once more.

    Good News  :  in performing some tests, i've implemented a low pass filter at the output of the codec (recommended in SLAA313) which seemed to have improved the noise level (silence measured at  -93dB) and removed the white noise that was audible at the speaker.  

    The only detail i would like to properly understand is how this 30KHz RC low pass filter is affecting the audible range (40Hz - 20KHz) and attenuating the noise at the output (we are configured for 8KHz sampling rate).

    thanks, 

    Vincent

  • Hello Vincent,

    I'm glad to hear that you have found how to remove the noise. You can find the answer to your question in the document you describe (SLAA313), from page 3: 

    "When a signal containing significant out-of-band noise is reprocessed by another component such as a PWM modulator in a Class-D amplifier, or another A/D converter, the out-of-band noise is modulated or aliased back into the audible band. For this reason, anti-aliasing low-pass filters are recommended between codec outputs and Class-D amplifier or A/D inputs."

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer