Pages: [1]   Go Down
Author Topic: Playing USB Audio through Due  (Read 1171 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to use the Due to act as a USB Audio class device. Specifically, being able to plug it into an Android and allowing the Due to play music using its onboard DAC.

I know the hardware is capable of doing this, as this video shows a hacked version of the Google ADK firmware being loaded onto a Due and playing USB audio through the DAC:


But I cannot figure out how to do this with the official Arduino SDK. The Audio library https://github.com/arduino/Arduino/tree/ide-1.5.x/hardware/arduino/sam/libraries/Audio shows me one half of the picture - how to send music to the DAC.

But I cannot figure out how to make the Due identify itself as USB Audio class device to the host machine, and how to read audio data from the host. Any pointers on how to do this?

Thank you in advance.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 5
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Learn anything interesting?  I'm also trying to make the Due appear over USB as an Audio device.  Using Atmel Studio. 

I found some interesting examples in LUFA for AVR8.  And examples for ASF as an audio host (acting as an MP3 player).  But both seem rather different from a Due (AVR32) as an Audio device.
Logged

Pages: [1]   Go Up
Jump to: