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.

TLV320AIC3106EVM-K: Dtailed testing procedure of audio codec

Part Number: TLV320AIC3106EVM-K
Other Parts Discussed in Thread: TLV320AIC3106

Dear Team,

We recently purchased the TLV320AIC3106EVM-K audio codec evaluation module from TI. I have started the initial setup and followed the steps provided in the "Quick-Start Guide for TLV320AIC310xEVM Control (Rev. A)" up to the point of launching the application.

Could you please share the detailed testing procedure for this audio codec since i need to validate the audio record and audio playback ? Additionally, we would like to know whether any external circuitry is required to perform full functional testing.

Thanks & Regards,
Ashritha 

  • Hi Ashritha,

    You can find a detailed testing procedure in the user guide found here: https://www.ti.com/lit/ug/slau209a/slau209a.pdf

    The GUI can be found on the EVM product page here: https://www.ti.com/tool/TLV320AIC3106EVM-K#order-start-development

    Best,

    Garret

  • Hello Garret,

    Thank you for the support.

    Since, I am using the TLV320AIC3106EVM‑K with the AC‑MODEVM interface board on Windows 10. The device appears in Device Manager as “TI USB Audio 2.0”, but it shows Code 10 (This device cannot start) and does not appear in Windows Sound Output/Input. 

    Hardware ID from Device Manager:

    - USB\VID_0451&PID_BB04

    I installed the AIC310x EVM GUI (SLAC249) and also tried the Thesycon USB Audio Class 2.0 evaluation driver, but the device still fails to start.

    Please provide the official TI Windows driver package for AC‑MODEVM that supports VID_0451 & PID_BB04, or advise the correct driver/installation procedure.

    Regards,
    Ashritha

  • Hi Ashritha,

    The driver is installed when you install the GUI. Can you try removing the "USB MODE" jumper on the AC-MODEVM that is installed by default?

    Best,

    Garret

  • Dear Garret,

    I have moved from Windows 10 to Windows 11, and the device is now detected by the PC.

    Since I am using AC‑MODEVM, the USB Mode jumper is not present on my board.

    I need a clear testing procedure to verify audio playback and record using the GUI — specifically:

    - Which GUI tabs/controls must be enabled
    - Which preset to select and load
    - What connections are required

    At the moment, when I select a preset and click Load, the other controls do not change, so I’m unsure whether the configuration is applied. The documents I have are a bit confusing, and this has become a
    blocking issue for us. Kindly guide us with the exact steps to validate playback and recording.

    Regards,
    Ashritha

  • Additionally
    1. Please confirm the difference between USB‑MODEVM and AC‑MODEVM
    2. Can AC‑MODEVM be used stand‑alone with FPGA integration, or must we bypass it and connect the codec directly to the FPGA (I2C + I2S)?

  • Hi Ashritha,

    The GUI controls you will apply are completely dependent on your application. The Preset Configurations offer simple setup scripts that can enable quick setup to validate playback or recording. After you click Load, the GUI will generate a script in the Command Line Interface tab, where you can verify the specific commands that have been executed, and use this to send from an external processor.

    The Quick Start tab also shows exactly how to set up the AC-MODEVM for the clock source (USB or External ASI). If External ASI is selected, clocks can be applied at the header pins on the bottom right of the board.

    The AC-MODEVM is an updated version of the USB-MODEVM with a different processor on-board. Both serve the same function of supplying power and configuration to the EVM.

    You can connect external I2C + I2S directly to the AC-MODEVM from an FPGA or other processor using the header pins on the right side of the AC-MODEVM. The AC-MODEVM also needs power, so remove the J6 jumper and supply 5V at J5 if not powering via USB.

    Best,

    Garret

  • Hello Garret,

    As you mentioned, “You can connect external I2C + I2S directly to the AC-MODEVM from an FPGA or other processor using the header pins on the right side of the AC-MODEVM.”

    Does this mean that the AC-MODEVM cannot be tested as a standalone device and that it requires external configuration from a processor or FPGA?

    Regards,
    Ashritha S

  • Hi Ashritha,

    The AC-MODEVM cannot program the EVM on its own. The EVM requires external configuration from a PC over USB using the GUI or other I2C master, or through the external ASI header pins from a processor.

    Best,

    Garret

  • Hi Garret,

    Thank you for confirming. We are already using the PC over USB with the GUI as you described — the board is detected in Windows 11 as 'TI USB Audio UAC2.0' and the GUI shows 'Located on: AC-MODEVM, Version V0.71'.

    However, we are facing a persistent I2C communication failure:

    - bus error LED → GREEN (lit)
    - req error LED → GREEN (lit)
    - req done LED → GREEN (lit)

    This happens every time we load any preset configuration. The register writes in the Command Buffer are not reaching the TLV320AIC3106 codec.

    We have already verified the following:
    1. Both AC-MODEVM and TLV320AIC3106EVM boards are physically connected via edge connector
    2. JMP10, JMP11, JMP12 are all set to pins 3-5 (I2C mode, A0=0, A1=0)
    3. I2C address is 0x30 in GUI — tried both Standard and Fast mode
    4. SOURCE S0 switch is set to USB/ON
    5. USB MODE jumper tried both installed and removed — no change
    6. Software Reset performed before loading preset — no change
    7. Updated AC-MODEVM preset configuration files installed- as mentioned in this thread "">e2e.ti.com/.../faq-tlv320aic3104evm-k-when-testing-tlv320aic3104evm-k-preset-configuration-what-do-i-do-when-ac-modevm-controller-board-is-used"

    Since the GUI is connected and the board is powered, but I2C writes are failing, could you please advise:
    1. What could cause persistent bus error even when PC + GUI is used over USB?
    2. Is there a specific jumper or hardware setting on the AC-MODEVM that enables the I2C path to the codec?
    3. Can you provide a step-by-step register verification procedure to confirm I2C communication is working?

    This is a blocking issue for us. Your guidance would be greatly appreciated.

    Regards,

    Ashritha

  • Hi Garret,

    Thank you for your continued support. I would like to first validate the USB Audio Interface Configuration as shown in the GUI's Quick Start tab.

    However, I have the following concern:

    The Quick Start tab in the GUI states:
    "For a Quick Start, set SW2 on the USB-MODEVM as shown on the USB Audio Interface Configuration and select a corresponding preset from the Preset Configurations tab."

    But I am using the AC-MODEVM, which does NOT have an SW2 switch. So I have the following questions:

    1. What is the equivalent of SW2 on the AC-MODEVM for the USB Audio Interface Configuration? Which switch or jumper on AC-MODEVM replaces SW2 functionality?

    2. For the USB Audio Interface Configuration on AC-MODEVM specifically, what are the exact step-by-step controls to enable in the GUI — which tabs, which settings, and in what order?

    3. We are seeing persistent bus error and req error LEDs lit in the GUI after loading any preset. Since the Quick Start diagram references USB-MODEVM SW2 which does not exist on our AC-MODEVM, could this mismatch be contributing to the I2C communication failure?

    4. Is there a Quick Start procedure document specific to AC-MODEVM (not USB-MODEVM) that we should be following instead of SLAU209A?

    This is a blocking issue and any detailed step-by-step guidance specific to AC-MODEVM would be greatly appreciated.

    Regards,
    Ashritha

  • Hi Ashritha,

    Here is a quick start document for AC-MODEVM and updated GUI: https://www.ti.com/lit/ug/slau855a/slau855a.pdf

    Here is the Quick Start tab for the AC-MODEVM:

    The equivalent of SW2 on the AC-MODEVM is S0. However, either way will send I2C via the PCB.

    Make sure the EVM is connected over USB before the GUI is opened. If you have persistent bus errors, try to Disconnect and Connect using the button in the lower left of the GUI, as shown in the image above.

    Using the Command Line Interface, you can read back any configured registers to ensure the command has written. See below:

    This was after selecting the "Stereo Playback to Capless Headphone Outputs" DAC preset configuration, the clicking "Load".

    I then went to the Command Line Interface and added a read command "r 30 24 02" to ensure the script loaded correctly. This means to read the two registers (02) after 0x24 (24), which are 0x25 and 0x26. You can see E0 and 10 are correctly read in the Read Data column on the right of the image, since we wrote these values in Lines 6-7 of the Command Buffer.

    Notice the bus error and req error LEDs are not lit, indicating a successful transaction. The only hardware configuration to set I2C mode are JMP10, JMP11, JMP12 to pins 3-5 (I2C mode, A0=0, A1=0), which you have set.

    Best,

    Garret

  • Dear Garret, 

    We have connected EVM I2S pins and I2C pins to a external arm64 processor based custom platform which runs in  yocto linux, in which we are able to play audio and listen in J7 audio jack using aplay command, but we are not able to do audio record operation(only noise heard in recorded audio) with MK1 or J6 mic jacks. Is there any amixer settings has to be done to enable recording ?, aslo is there any jumper settings need to be done in EVM to record audio?

    Regards,
    Ashritha

     

  • For MK1 recording, JMP2 and JMP3 should be shorted. For external Mic plugged in at J6, JMP2 and JMP3 should be open. For both cases, short JMP1 2-3 to connect MICBIAS.

    You can use the example script from the GUI preset to ensure the software configurations are correct in your driver. Here is the script for on-board mic recording to the digital output:

    w 30 66 A0
    w 30 11 0F
    w 30 12 F0
    w 30 16 7C
    w 30 13 7C
    w 30 0F 00
    w 30 10 00
    w 30 19 80

    Best,

    Garret

  • Dear Garret

    We have did all the necessary settings and during audio recording 2.5v also observed in mic biase test point, but there is nothing heard in recorded audio.

    We have tested with evk alone with gui app, there also only audio out is working but recording is not working.

    Kindly guide us resolving this.

    Regards,
    Ashritha

  • Hi Ashritha,

    Make sure your data receiver clocking format matches the setting on the AIC3106. Please provide a step by step procedure on how you are setting up the recording and how you verify that it is not working.

    I follow this format and see data on DOUT during recording:

    1) Ensure JMP2 and JMP3 are placed, and S0 is set to ON if clocks are sent via USB from PC. If clocks are sent via External ASI, switch S0 to OFF and apply the clocks at the header pins next to the switch.

    2) Plug in USB to AC-MODEVM. Make sure EVM is seated properly on AC-MODEVM.

    3) Open AIC310x EVM GUI and select 3106 device.

    4) Ensure its reads TLV320AIC3106 - Connected at the bottom of the GUI next to a green circle.

    5) Click Preset Configurations tab.

    6) Click on bubble for On-board Microphone to record with MK1, or Differential Input to record via J1/2 (LINE1L/R).

    7) Click Load.

    8) You should be able to record data via DOUT.

    I verified this for both recording presets and for both USB and external clock options. I verified the output with APx Audio Analyzer.

    Best,

    Garret