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?
Can the USB Audio 2.0 RD display as a digital interface ?
-
- Member
- Posts: 15
- Joined: Wed Jan 16, 2013 7:28 pm
-
Verified
- XCore Legend
- Posts: 1163
- Joined: Thu Dec 10, 2009 9:20 pm
- Location: Bristol, UK
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 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?
-
- Member
- Posts: 15
- Joined: Wed Jan 16, 2013 7:28 pm
Thanks Ross,
Is it means change the timer in the function CodecConfig of codec.xc ?
Any idea for the USB descriptor?
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 _;