Can the USB Audio 2.0 RD display as a digital interface ?

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
pasnew
Member
Posts: 12
Joined: Wed Jan 16, 2013 7:28 pm

Can the USB Audio 2.0 RD display as a digital interface ?

Postby pasnew » Wed Jan 16, 2013 7:39 pm

Hello,
I'm using a USB Audio 2.0 RD.
It shows as a speaker in the Audio settings.
I haved changed the terminal type of the terminal descriptor of Audio Class 1.0 to 0x0602 and it shows as a digital audio interface now.
But when I changed the terminal type of Audio Class 2.0 to 0x0602, nothing happened !
It shows still as a speaker.
Is there anyway to do it?


another question, I want to use a relay to choose MCLK in my design,
but it will have a set-up delay of 10ms after the pin CLK_SEL change, is it too big
to let the system work properly?
User avatar
Ross
XCore Expert
Posts: 738
Joined: Thu Dec 10, 2009 9:20 pm

Postby Ross » Mon Jan 21, 2013 11:25 am

pasnew wrote:I want to use a relay to choose MCLK in my design,
but it will have a set-up delay of 10ms after the pin CLK_SEL change, is it too big
to let the system work properly?


You should try and use the Clocking config calls (like the reference design does). Make sure these functions do not return until your clocking is fully setup (either using a timer, or checking for a valid clock). The device will then nak the host until the sample frequency change is fully completed.
pasnew
Member
Posts: 12
Joined: Wed Jan 16, 2013 7:28 pm

Postby pasnew » Sat Jan 26, 2013 5:09 pm

Thanks Ross,
Is it means change the timer in the function CodecConfig of codec.xc ?

Code: Select all

 /* Hold in reset for 2ms */
    t :> time;
    time += 2 00000;
    t when timerafter(time) :> int _;


Any idea for the USB descriptor?

Return to “Other XMOS Development Kits”

Who is online

Users browsing this forum: No registered users and 7 guests