Check the noise threshold flag before changing maximum PGA gain. TI documents that the TLV320AIC3104 treats a signal below the programmed noise threshold as silence, sets the flag and brings the gain down to 0 dB. The maximum permitted gain caps the algorithm; it does not force gain when the signal has been classified as silence. Quiet speech can therefore stay weak while the master clock and PCM stream remain valid.
Keep the input routing, sample rate, clock and front end fixed. Apply calibrated signals on both sides of the programmed threshold and hold each one long enough to observe the settled behavior. Record the threshold flag and PCM amplitude together. While that flag is set, the data sheet says to disregard the applied-gain readback and saturation flag. Use them only when the noise-threshold flag is clear. If the quiet input still sets the silence flag after increasing the maximum, another increase is not the answer. If the input is above threshold but the applied gain sits at its limit, check whether that limit is actually restricting the target. The threshold is stated relative to full scale, not as the sound pressure at a chosen distance from a microphone.
Verify intelligibility and unwanted amplification of background noise separately after changing the threshold. Replay the same quiet test signals and representative background. Check the DSO321SR logic levels and the resulting audio sample rate independently. A running audio stream with noise-threshold classification is not the same failure as missing audio frames.
Related selection guide: MERLIN Crystal Timing: TLV320AIC3104 with a 12 MHz oscillator: why does I²C work but 48 kHz audio does not?
Resource link: https://www.mecxtal.com.cn/en/handbook/new-0806.html
