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.

TLV320AIC3111EVM-K: Unable to play music from PC on to the Eval kit.

Part Number: TLV320AIC3111EVM-K


Hello, I am recently got this eval kit and have tried to configure as per the documentation and following E2E forum but I am still unable to get audio from PC to be played on the Eval kit. 

I have connected two 8Ohms speaker to J8 and J9 connector and also headphone to J14 and can detect on my PC as "USB-AudioEVM" under Sounds, Video and game controllers and also as "Line (USB-AudioEVM)" twice under Audio inputs and outputs. 

When I use the Codec Control application and select "playback" and run the script I can hear click sound. And there is USB connective as well. And the USB Fs is set to 44100.

Thanks 

  • Hello Mitesh,

    Thank you for reaching out. Judging from your post I am assuming this means that all the jumpers are in the default (out of the box) state. Still, please verify SW2 is set to position 1, 3, 4, 5, 6, 7 to ON and position 2 and 8 to OFF. 

    I have connected two 8Ohms speaker to J8 and J9 connector and also headphone to J14 and can detect on my PC as "USB-AudioEVM" under Sounds, Video and game controllers and also as "Line (USB-AudioEVM)" twice under Audio inputs and outputs.

    Your connections sound corrects. Please uninstall one of the "Line (USB-AudioEVM)" drivers and see if this fixes your issue. I have had this be an issue before.  After uninstalling one of the drivers disconnect the EVM and re-run the full device initialization script in CodecControl.

    Let me know if this helps.

    Best,
    Andrew

  • Hi Andrew, thanks for your reply.

    Yes, the SW2 is as mentioned. in your port. 

    I did uninstall one of the Line (USB-AudioEVM) and unplug and re-plug and USB port, port of Eval board and connected via CodecControl and ran then init script by clicking on the chip symbol and View->init script and Run. 

    No difference. The issue is as soon as I plug the USB cable it auto install the drivers and I can see two line (USB-Audio EVM) and still can't play music from my PC. 

    Thanks. 

  • Mitesh,

    I have tested an TLV320AIC3111EVM-K for this on my end. When testing, music played normally after running CodecControl. However, no sound played after disconnecting and re-connecting the EVM (even after running the initialization script as you have in your last post).  

    Please try the following steps. 

    1. Disconnect the EVM and exit CodecControl
    2. (optional) Uninstall all instances of "Line (USB-AudioEVM)"
    3. Reconnect the EVM and Play your test music
    4. Run CodecControl

    After completing these steps music would begin to play again.

    Let me know if your problem persists.

    Best,
    Andrew

  • Andrew, I am just trying to play Spotify from my PC on to the eval board but still unsuccessful. 

  • Hi,

    Try this:

    • Disconnect EVM from PC
    • Open Device Manager
    • Under View tab, select show hidden devices
    • Remove/Uninstall any Line (USB-AudioEVM) from Audio inputs/outputs, Sound, video and game controllers or any component with Line (USB-AudioEVM)
    • Connect back EVM and load the preset configuration you want to test

    Regards,

  • Hi Pdjuandi, tried your steps. As soon as I connect EVM to my PC, Windows PC auto loads the divers and I get "Line USB-AudioEVM".

    But still doesn't work. 

  • Hi both, I have also just tired to connect Audio Codec EVM to a Linux system and still the same outcome. 

    Linux command: 

    $aplay --device plughw:CARD=USBAudioEVM,DEV=0 /usr/share/sounds/alsa/Front_Centre.wav 

    And can hear nothing. 

    Can we go through all the jumpers and settings needed to check if the setup is correct please? been almost a week trying to get the eval board working now. 

    Any help to resolve this is appreciated. 

    Thanks 

  • The jumper settings are the same as in the user guide Table 2 and I have taken a picture of my setup for your reference.

      

    Once EVM is connected you can run the init file as shown below, this should allow playback and record using the EVM.

    When you playback a song, make sure your select audio output to Line (USB-AudioEVM) in your PC sound setting.

    Regards,

  • Thanks for the photo of your eval board. There are differences in the jumper settings:

    1. W16 to W20 are all connected on my eval. (should these be removed?)

    2. W7 and W8 are 2-3 (What should these be?)

    3. All of the above jumpers are on Audio codec Eval board. I have send set jumpers to use built-in mic diff mono.

    Yes, I am selecting "USB-AudioEVM" when playing music from PC. but still can't hear anything. 

  • I suggest you follow the jumper settings per the user guide to start with, so W16 to W19 are not populated and use a headset to listen.

    Installing W16 to W19 will allow signal with DC to pass through and using the on-board 16Ohm load. If you connect a headset in this setting it could damage the headset and the load will be reduced which means higher drive power is needed.

    W20 needs to be populated.

    W7: 2-3 for MIC1LM as differential MIC input with MIC1LP

    W8: 2-3 for differential MIC input

    Regards.

  • Tried this setup Pdjuandi and this made no difference. 

  • Strange. You have ensured the headphone/speaker are working and volume from PC is loud enough - yes?

    Try different connector on the kit like J15 and J10/J11 and probe the WCLK, BCLK and DIN as well with scope.

    Regards.

  • Yes have checked the speaker and headphones do work and I can hear the clicks when running the playback script from codec control. have checked all the I2S signals and details were posted on https://e2e.ti.com/support/audio-group/audio/f/audio-forum/1209610/tlv320aic3111evm-k-how-to-use-external-host-to-play-audio-from-the-eval-board/4563407#4563407 but all looked sane. 

    Tried with different connectors J15, J10/J11 and again no difference. 

  • Are those clocks measured numbers or are you just estimating?

    You should see exact 44.1KHz WCLK and 2.8224MHz for BCLK.

    Did you see anything on SDIN (Ch4) something like this when you play music?

  • Here are the details from TLV320AIC3111-EVM board:

    1. TP31 (MCLK) around 11.4MHz (not very clock like)

    2. TP32 (BCLK) around 2.82MHz

    3. TP33 (WCLK) around 44.1KHz

    4. And SDIN changes as I play music from my PC. 

  • MCLK

    BCLK

    WCLK 

    SDIN

    SDIN triggered with BCLK

    SDIN triggered with BCLK

  • The data shows it's only right channel data if the alignment follows what you shown by the 2 cursor lines. is that what you have set?

    Another test is to use Audacity and create a 1KHz sine tone and monitor on your HP output test point see you have 1 KHz tone on the HP output.

    Regards.

  • No, I haven't setup to be only right channel. 

    When I play 1KHz tone, I can hear on my PC but not on EVAL board. 

  • Tested on both Test point TP27 and 28 using scope also. 

  • But when tested the SDIN pin after generating the tone, I see data on it. but not to HP output. or Speaker for that matter. 

  • Can you check all power levels and probe I2C lines using logic analyzer so we can ensure all register transactions are happening when you load the script?

  • Hi, we have checked all power levels and apart form the -5v all are okay, and we did do a I2C read transaction and we do hear the click noise when we run the playback script. 

  • Hi Mitesh,

    Do you have access to a logic analyzer? We tested a single read, but it would be good to know that the whole script is being written correctly i.e. no NACKs are being returned. Can you also set your PC to play a dual mono tone? Just so that if both the left and right channel are playing the same thing we might catch an edge polarity mismatch like Peter was suggesting.

  • Hi Jeff, no luck with mono tone settings on my PC. And  no I don't have access to logic analyser. But I am able to still hear the click when I run the playback scripts. 

    Is there any other test we can do? We have checked clocks and mono tone settings and playback scripts. 

    Thanks

  • Wow, after sending you the message, I closed the codec control app and played music on the PC and I can hear music over the EVal board but only on the headphones now!!! 

  • But ONLY the Left Channel (on headphones)... irrespectively to mono audio settings on the PC. 

  • And when I scope on the headphone and speaker signals only left headphone has some signal. also, noticed the USB Fs = 1 on the codec control application. 

  • Hello again Mitesh,

    Glad to see you are making progress. From your inputs above it seems that the codec is working, however the CodecControl application and Windows driver interaction is causing some difficulty. 

    After repeated testing in the lab sometimes the CodecControl applications has some issue configuring the device. Please try the following steps one more time, since these steps work for our devices when similar issues occur. 

    1. Disconnect the EVM from the PC
    2. Exit CodecControl
      1. Please also verify that the jumper settings are in the initial position as per 's earlier instructions.
    3. Uninstall all instances of "Line (USB-AudioEVM)"
      1. Open Device Manager
      2. Under View tab, select show hidden devices.
      3. Remove/Uninstall any Line (USB-AudioEVM) from Audio inputs/outputs, Sound, video and game controllers or any component with Line (USB-AudioEVM)
    4. Reconnect the EVM and Play your test music.
      1. Makes sure "Line (USB-AudioEVM)" is selected as your output device.
      2. Ensure the headphone jack is a "TRRS" jack and fully plugged into J14.
      3. W16 to W19 should not be populated. 
      4. J15 can be used for a headphone only jack (TRS) and J8 and J9 should work with an 8 Ohm speaker.
    5. Run CodecControl as Administrator
      1. Usually, music can be heard at after CodecControl opens. 
        1. if not, then the load the preset configuration again.
      2. USB Fs should be 44.1kHz by default. Other values here may indicate some connection issue.

    After completing these steps music would begin to play again.

    Let me know if you have questions any of the steps above. 

    Best,
    Andrew

  • Hi Andrew, the above procedure did work for me as well. I have TRS headphones and when connected to J14 I get stereo music as long as I play the codec control first and until I disconnect and re-connect headphones but that is just an observation. 

    In terms of the speakers, we have 4 Ohms speakers and not 8 Ohms would these not work at all? 

    Thanks 

  • Corrections, they are 8 Ohm speaker and I have connected to Pin 1 and 3 of J8 & J9 but can't hear them with or without headphones connected to J14.

    Thanks 

  • Mitesh,

    Glad to see we are making progress. 4 Ohm or 8 Ohm speakers will work fine in the EVM, and the default demo script should play music from both the headphones and speakers.

    Please check the following:

    1. W11 and W12 are installed: these are the power rails for left and right speaker channels.
    2. SW1 is in position 2-3: 3.9V is connected to SVDD (Speaker power rails)
    3. TP11 and TP12 are 3.9V
      1. There is no voltage at these points check that U4 is powered with +5V at TP7

    Let me know if this resolves your issue.

    Best,
    Andrew

  • Andrew, yes W11 and W12 are installed. 

    SW1 is set to BATT (towards left) and moved to right and the voltage at the TP 11 and TP12 is 3.78

    and TP7 is 4.97

  • By changing the SW1 to SVDD the audio is now outputting from speaker.

    Thanks Andrew. This did the trick!