Pages: [1]   Go Down
Author Topic: USB Audio Interface  (Read 626 times)
0 Members and 1 Guest are viewing this topic.
The Netherlands
Offline Offline
Full Member
***
Karma: 1
Posts: 139
MKDS hacker and Programmer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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)
« Last Edit: December 04, 2013, 01:34:31 am by Gericom » Logged

Subscribe my youtube channel: http://www.youtube.com/user/MKDS3

The Netherlands
Offline Offline
Full Member
***
Karma: 1
Posts: 139
MKDS hacker and Programmer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Subscribe my youtube channel: http://www.youtube.com/user/MKDS3

The Netherlands
Offline Offline
Full Member
***
Karma: 1
Posts: 139
MKDS hacker and Programmer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Subscribe my youtube channel: http://www.youtube.com/user/MKDS3

The Netherlands
Offline Offline
Full Member
***
Karma: 1
Posts: 139
MKDS hacker and Programmer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


* USBAudioInterface.PNG (43.86 KB, 414x461 - viewed 62 times.)
Logged

Subscribe my youtube channel: http://www.youtube.com/user/MKDS3

Pages: [1]   Go Up
Jump to: