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.

DK-TM4C129X: USB audio sample project

Part Number: DK-TM4C129X

Hi,

I am considering a hardware design using Tiva MCU with USB auido CODEC to realize a network audio function. I noticed that Tivaware provides two USB sample projects, one to send audio steam to USB audio and the other to get the audio stream from USB audio. My question is, to be able to play with these two projects, what kind of USB device do I need? Is the PC USB headset ok?

Thanks

Tianlei

  • Hi Tianlei,

    The audio host examples work with USB Audio Class compliant devices. I am not familiar with all PC USB headset products, but if the one you have implements the USB Audio Class, then the examples should work. You should download the USB Audio Class specification files from USB.org and become familiar with the many options. Some devices, like a USB microphone, only provide audio input to a host. Other devices, like USB speakers, only accept audio output from a host. I'm going to guess that most USB headsets provide streams in both directions, for the microphone and headphone speakers.

    I recommend testing each Tiva example on its own, first, to confirm that they work with your headset. If all is well, you can do some firmware development and combine the input and output features. The code is fairly well segregated, so you should be able to transceive the audio streams over the network. You'll also need to write a bit of code in the network section to get all of this working.

    Brian

  • Bravo - IMO - very well thought/presented. (and timely... w/in 1 day of post's arrival)
  • Hi Brian,

    Thanks a lot for you reply. It`s very helpful.

    Tianlei

  • You're welcome. If my response has answered your question, then please mark my posting as an answer. That's the way our forum tracks questions and answers, so that others with the same or similar questions can quickly find useful answers.