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.

TLV320AIC3262: TLV320AIC3262 - how to do AGC with digital mic input?

Part Number: TLV320AIC3262

I have a TLV320AIC3262 with digital MEMS microphone input (Knowles SPK0415HM4H-B-7).

The application is a handheld communications device similar to a smartphone. So primarily capturing speech audio, sometimes in noisy environments.

I need to implement AGC with the digital microphone to ensure a consistent audio output from the AIC3262 to the host system of -16 dBm0.

From everything I've read, PurePath Studio only supports AGC on analogue microphone input, not digital.

How do I implement AGC in the TLV320AIC3262 with digital microphone?

Thanks in advance for any help you can offer.

  • Hi John,

    Our Purepath Studio and TLV320AIC3262 expert Diego is out on holiday, But he will return tomorrow. 

    My impression of the PPS AGC was that it was entirely digital and within the DSP.  In which case it wouldn't care whether the input was from an analog mic or digital mic.   There is an AGC configurable by book 0, page 0, registers 86-101 and that uses the Analog PGA,  which would mean that it would not work with a PDM input.  do you have an EVM to try this?  

    Diego will return tomorrow and he will be able to say for certain.  

    best regards, 

    -Steve Wilson

  • Hi, John,

    As Steve mentioned, the AGC in the miniDSP of the device operates in the digital domain and is different from the AGC that is located before the ADC, which can be considered to be in the analog domain. The AGC in the miniDSP is capable of processing the digital mic data.

    Best Regards,

      -Diego Meléndez López
       Audio Applications Engineer

  • Hi Diego,

    Thanks for the confirmation.

    Is it possible to add and configure the miniDSP AGC using PurePath studio?

    If so, how?

    Thanks again.

  • John,

    The AGC in PPS is in the components window under Dynamic processing. drag the AGC2 block into the process flow diagram. you can right click the aGC block and open the properties window. All of the control parameters are there.

    best regards,
    -Steve wilson