Author Topic: Implementing USB Audio / HID  (Read 40793 times)

0 Members and 3 Guests are viewing this topic.

Offline joseph.anand

  • Regular Contributor
  • *
  • Posts: 56
  • Country: in
Re: Implementing USB Audio / HID
« Reply #25 on: July 10, 2013, 09:11:33 am »
Most microcontrollers will not support USB 2.0 High speed (their clock speeds are too low to handle) which is what you will need to be able to implement UAC2. Instead try using the Beaglebone/Beaglebone black (https://groups.google.com/d/topic/beagleboard/qdLcceqH3ms). Also avoid using multiple codecs and decide on one that supports multiple audio input/outputs like the Analog Device's AD193x series (http://www.analog.com/en/codec-afe-mxfe/audio-codecs/ad1937/products/product.html) or the TI's PCM3168A .


I've come to the same conclusion (as a plan). I am going to use 4 CS4270 chips and some sort of FPGA or microcontroller to interface the chips to the PC. My problem is that there doesn't seem to be much information on which boards support UAC1, UAC2, isochronous transfers, or USB communication in general...
« Last Edit: July 10, 2013, 09:29:53 am by joseph.anand »
 

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1192
  • Country: ca
    • VE7XEN Blog
Re: Implementing USB Audio / HID
« Reply #26 on: July 10, 2013, 09:47:18 am »
USB2-HS is not required for UAC2.
73 de VE7XEN
He/Him
 

Offline MLMTopic starter

  • Contributor
  • Posts: 18
  • Country: us
    • Eric Eastwood
Re: Implementing USB Audio / HID
« Reply #27 on: July 10, 2013, 02:02:29 pm »
Instead try using the Beaglebone/Beaglebone black (https://groups.google.com/d/topic/beagleboard/qdLcceqH3ms). Also avoid using multiple codecs and decide on one that supports multiple audio input/outputs like the Analog Device's AD193x series (http://www.analog.com/en/codec-afe-mxfe/audio-codecs/ad1937/products/product.html) or the TI's PCM3168A .

Multiple people have mentioned the Beaglebone Black but I have found no information on using it as a USB peripheral, UAC 1.0. Maybe it is because I do not have it in hand or used it before but could someone explain how to implement this functionality. I am guessing you have to use the USB client port on the bottom.
 

Offline elektrinis

  • Regular Contributor
  • *
  • Posts: 100
Re: Implementing USB Audio / HID
« Reply #28 on: September 25, 2020, 04:41:33 pm »
Old topic. Anyone managed to pull off an easy multichannel I2S solution?
I am interested in a 5.1 audio amp with I2S class-D power stages, so no analog signals inside.
 

Online EverydayMuffin

  • Regular Contributor
  • *
  • Posts: 66
  • Country: ie
Re: Implementing USB Audio / HID
« Reply #29 on: September 26, 2020, 01:49:56 pm »
Old topic. Anyone managed to pull off an easy multichannel I2S solution?
I am interested in a 5.1 audio amp with I2S class-D power stages, so no analog signals inside.

I would think the XMOS xcore-200 devices would be perfect for this application?

https://www.xmos.ai/xcore-200/
 

Offline ua1arn

  • Newbie
  • Posts: 3
  • Country: ru
Re: Implementing USB Audio / HID
« Reply #30 on: September 27, 2020, 12:43:55 pm »
I can share own USB descriptors as example...
https://github.com/ua1arn/hftrx/blob/master/src/usb/usbd_descriptors.c
At OUT direction no feedback methods utilized, only resampling.
« Last Edit: September 27, 2020, 12:52:22 pm by ua1arn »
 

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3342
  • Country: nl
Re: Implementing USB Audio / HID
« Reply #31 on: September 27, 2020, 05:59:55 pm »
Have you thought about using a complete Linux PC as your sound device?

With USB OTG it can be used as a USB device to your windows USB Host, and there is all kinds of software for audio manipulation for Linux available. You can do most software development on a regular Linux box, or emulator or VM in Windows.

A potential problem with with any digital audio is latency. An AES/EBU or S/Pdif stream has very low latency, but when you add buffering of data, extra buffers for changing protocols such as going to USB, and buffers needed to do actual filtering, then they all add up.

Relating to this question also "minidsp" popped up in my memory:
https://www.minidsp.com/
It's just an example, other companies make similar products.
 

Offline ve7xen

  • Super Contributor
  • ***
  • Posts: 1192
  • Country: ca
    • VE7XEN Blog
Re: Implementing USB Audio / HID
« Reply #32 on: October 01, 2020, 12:01:21 am »
Old topic. Anyone managed to pull off an easy multichannel I2S solution?
I am interested in a 5.1 audio amp with I2S class-D power stages, so no analog signals inside.

You can buy an XMOS solution off the shelf from DIYINHK for example https://www.diyinhk.com/shop/eol-product/101-xmos-multichannel-high-quality-usb-tofrom-i2sdsd-spdif-pcb.html

Implementing the XMOS reference code for UAC2 if you wanted to design your own isn't too terribly difficult either.
73 de VE7XEN
He/Him
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14445
  • Country: fr
Re: Implementing USB Audio / HID
« Reply #33 on: October 02, 2020, 04:07:30 pm »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf