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.

TLV320AIC3104 CODEC: can AGC provide an RSSI signal?

Other Parts Discussed in Thread: TLV320AIC3104

I am developing a system using the TLV320AIC3104 CODEC, which has an AGC module I am not using. Is it possible to use the AGC to estimate and output the strength of a line-in signal, without it affecting gain in the PGA? I am wondering if I can set up the AGC to compute the gain it would like to apply, which I could read from the AGC gain registers (32 and 33), and which then gives me a measure of the line in signal strength.

  • Unfortunately, once you turn on the AGC, it will change gain in the PGA. You can limit the maximum gain that will be applied and use the noise gate to to know when your signal goes over a certain level, but the PGA gain is likely to change.

     

    If you have a mono signal, you could apply the signal to both channels and only use the AGC on the unused channel. Then the gain registers would give you what you are looking for, but you would lose one channel.

  • Hi Converter Apps--I appreciate your help.

    We will generally pass stereo audio though the CODEC from I2S to line out and from line in to I2S. Instead of an RSSI signal, is there any way to just get a yes/no as to whether there is a signal on the line in?

  • No. The only thing available would be the AGC. 

     

    You might want to look at the AIC3254 which does have this feature. The AIC3254 has an internal miniDSP which can be programmed via PurePath Studio GDE. There are level detection algorithms that can be programmed. It is a very flexible although more complicated part.