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: How to use external host to play audio from the Eval board

Part Number: TLV320AIC3111EVM-K

Hello, I am trying to connect this eval board to a Linux machine and want to use the eval board as a sound card on the PC.

Well for that test I have got this eval board. Wanted to know if I can connect the four I2S cables to a Linux PC which can act as the master would that be enough or would I need to change some of the jumpers to disable MCLK, etc. 

Thanks 

  • Hi, I found this section on SW2 on one of the posts on this forum, is this information documented in some setup doc for eval board?

  • What should be the condition of the following jumper please: 

    1. JMP5 & JMP7 on USB-MODEVM?

  • Hi,

    If you set up this switch to "USB mode" i.e. using the TAS1020B, your PC will act as the host and the TAS1020B on the USBMOD-EVM will translate the USB signals to I2S for the codec. You would want SW-2[4,5] to be set to ON.

    JMP5 and 7 can be left in their default positions.

    Thank you,

    Jeff McPherson

  • Hi Jeff, thanks for your reply. I did do that but I can only hear clicks on running the playback script from Codec Control but unable to play sound from PC on to the Eval HP and Speaker, 

  • Hi Mitesh,

    Can you use a scope to probe all I2S clocks on the AIC3111EVM itself, not the USBMOD-EVM and share the results? Also can you get a valid I2C read/write using codec control?

    Thank you,

    Jeff McPherson

  • Hi Jeff,

    Here are the details from TLV320AIC3111-EVM board:

    1. TP31 (MCLK) around 11.36MHz

    2. TP32 (BCLK) around 2.8MHz

    3. TP33 (WCLK) around 43.66KHz

    Could you please give me an example on how to read a valid I2C txn using Codec Control app?

    Note: over the weekend my PC was updated to Windows 11 and hope this codec control app still works with this. 

    Thanks 

  • Hi Mitesh,

    I don't have an EVM connected so I can't show the results, but I've attached a screenshot of how you can take a read. If you click "View" -> "Command" you get the I2C command window. Here you can enter in your commands either by hand or via text file. Click "Run" to see the results.

    I've also noticed that you have two open threads for what seems like the same issue? Can we consolidate our efforts to a single thread: either this one or your conversation with Andrew?

    Thanks,

    Jeff McPherson

  • Hi Jeff, go this back 

  • Hi Mitesh,

    I shouldn't have given a reserved register as an example, but the fact you got something non 0 means it worked. Can we consolidate this issue to your thread with Andrew and Peter? I will share with them the info you've given here.

    Thank you,

    Jeff McPherson

  • HI Jeff, for sure. 

    I started with two threads to keep the two issues separate, This one for how to talk to codec from external host like Linux and the other one was how to get out of box example working. 

    Thanks 

  • Hi Mitesh,

    Understood. You did mention that your PC updated to Windows 11 however. Codec Control should still work but our machines still run on Windows 10 so I can't fully verify that. However the user guide only mentions Windows support, not Linux

    Are you still looking for Linux specific support? If so I can loop in our software support team. If you're intending to stick with Windows, can you walk me through your steps and your hardware set up, just to make sure we're clear on the situation and issue?

    Thank you,

    Jeff McPherson

  • Hi Jeff, lets stick with Windows. 

    Windows 11 : The LED to indicate I2C transactions and the sampling frequency has stopped on Windows 11.

    Windows 10 : LED flashes on every time we run the playback script and does display sampling frequency (48000 or 44.1KHz).

    Hardware Setup: 

    1. Eval Codec TLV320AIC3111EVM board is mounted on USBEVM Interface.

    2. On the Codec EVAL board, W1 is 1-2, W2 and W3 are on; W4 is off; W5, W6 are on; W7 and W8 are on 2-3; and W9 on 2-3.W16 to W20 are all on.

    3. On the USBEVM board JMP5 is 2-3; JMP6 is 2-3;  DIP SW2 2 and 8 is OFF. JMP8 is open. 

    4. Connected headphone on J14 and 8Ohms speaker on J8 and J9 pine 1 and 3. 

    5. USB cable from PC to USBEVM board. and LED D3, D4, D5 and D7 are ON and D6 is OFF. D2 and D8 are also on. 

    As soon as I connect the USB port to my PC we can see the Audio drivers

    When we run the playback script using Windows 10 PC, we can hear the clicks on both headphone and speakers. But cannot get beep logic working and cannot play any music from Windows PC on to the Eval board. 

  • Hi Mitesh,

    Nothing seems strange to me with your jumper settings. I talked with Peter who's also supporting you on the other thread. Since we're all on Windows now, we think the root cause between our two threads are the same. It would be better if we could consolidate the problem since you can clearly connect the device to windows; now we need to get output. Can we close this issue and work together on the other thread? You're rate of support will not change.

    Thank you,

    Jeff McPherson

  • Sure, please do. Should I just mark this issue as resolved to consolidate? 

  • You don't need to do anything. I'll take care of it from my side.