We are encountering a strange situation when we disable the AGC on this codec. After disabling (via page 0 register 94) we program the Mic PGA gain (page 1 register 60) and the ADC volume control (page 0 register 84) back to values that set the gain to 0dB. If, at the instance we disable the AGC, the input signal level is above the AGC noise threshold (page 0 register 87), then the output level from the ADC is as expected (ie with 0dB gain, output signal = input signal). However if the input signal is below the threshold when the AGC is disabled, then output level from the ADC is 30dB below what we expect.
Is there other registers that need re-initializing after the AGC is disabled? Currently we need to perform a software reset of the codec to remove this mysterious 30dB of attenuation. Another workaround is to reduce the threshold to below our noise floor (say -60db) just prior to disabling the AGC.
Regards,
Steve