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.

TLV320AIC3254: test the example stereo AGC

Part Number: TLV320AIC3254

Hi team,

Our customer has the following questions:
1、Use the evaluation software AIC3254 CS to test the AGC in the features on the self-made circuit board. HPL, HPR output is normal. The configuration file is as follows:
 AIC3254 CS file,  Texas Instruments\AIC3254 CS\DATA\EVM\AIC3254\AGC\AGC_ON_BOARD_DIFF_MIC.txt
2、However, the example Stereo AGC in miniDSP is tested on a self-made circuit board. HPL, HPR no output. With SPI configuration, without I2S, MCLK is about 11.4MHZ. The configuration file is as follows:
AIC3254 CS file ,Texas Instruments\AIC3254 CS\DATA\EVM\AIC3254\ST_AGC\ST_AGC.cfg
3、Use the evaluation board to test the example Stereo AGC in miniDSP. HPL, HPR output is normal. MCLK = 11.2896 MHz measured by oscilloscope.

4、When it comes to miniDSP configuration, does it need additional configuration parameters? Or is there anything special you need to pay attention to?

 

  • Hi Amy Luo,

    PurePath Studio (PPS) software is needed to configure the miniDSP. Do you have access to this tool. If not, please request access using https://www.ti.com/tool/AICPUREPATH_STUDIO.

    The AGC scripts that you refer to route the ADC data (digital data) to the serial port. The Headphone amplifier are routed from the DAC or the MAL/R mixer amplifiers. I do not expect the script AGC_ON_BOARD_DIFF_MIC.txt to work unless you are separately configuring the headphone amplifier. Could you please confirm the script that is being used for #1?

    Best Regards.

  • Hi Diljith,

    Thank you for your reply. You are right. The customer added the following configuration to the script (AGC_ON_BOARD_DIFF_MIC.txt)

    w 30 00 01

    w 30 14 25

    w 30 0C 02 02

    w 30 09 33

    w 30 10 00 00

    make the audio output to HPL and HPR

  • Thanks Amy. We'll have to check the custom board to find out the reason for no output. Could you share the schematic of the board as well as the test inputs/pins?

    Best Regards.

  • Hi Amy,

    I assume that you have found a resolution and so I shall close this thread for now. Let us know if you need further assistance on this.

    Best Regards.

  • Hi Diljith,

    The customer has fed back the schematic to me, but I didn't notice that it was my fault. Thank you for your follow-up.

    The customer explained the schematic as follows:

    1. Power supply 3.3V. Use LDO of AIC3254.

    2. MIC input application in1_ L and in1_ R. The output is only HPL.

    3. Configure AIC3254 with SPI (I2C is used on evm-k evaluation board)

    4. The I2S interface is not used,  but about 11.4 MHz clock is provided for MCLK.

    5. The schematic of other parts should be consistent with the evaluation board.

  • Hi Amy,

    Thanks for sharing the schematic. I will review it and get back with comments in a day.

    Best Regards.

  • Amy,

    The AGC algorithm is a mixed signal block that partly runs on the miniDSP. The miniDSP requires the I2S clocks for its operation and since the clocks are not being provided the outputs are not proper.

    We would not recommend using the AGC when using the analog bypass path through the Mixer Amplifiers (both MAL and MAR).

    Our recommendation would be to use the miniDSP path instead of the analog bypass path if AGC is required on the analog inputs.

    Best Regards.