USB Audio Interface

I have been working on adding an usb audio interface to the arduino due. So far I got the descriptors working, but when I enable it, the computer doesn't load the driver anymore. When I disable it, it works again. Do I need to modify the driver or something? (The audio interface should work next to the hid and cdc interface)

1 Like

Okay, the enumeration works now correctly if I disable cdc and hid. (There were some little things that eere wrong)
But now I have the problem that the arduino does not correctly handle the SELECT_INTERFACE command.

The audio interface now fully works correctly (when hid and cdc are disabled). But I need to solve the synchronization problem between the adc and the usb interface.

I got it all working now. It can stream Stereo 48000 Hz 16 (actually 12) bit audio from the arduino's ADC.

USBAudioInterface.PNG

Hi Gericom, I'm interested in your ADC → USB Audio code for the Arduino Due. Do you still have it somewhere around and would share it with us? I suppose it uses DMA?
Thanks a lot and all the best,
Philipp