X
RSS YouTube LinkedIn Twitter XCore IRC

Search




Post new topic Reply to topic   [ 3 posts ] 
Author Message
PostPosted: Wed Jan 16, 2013 7:39 pm 
Joined: Wed Jan 16, 2013 7:28 pm
Posts: 2
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?


Top
Offline Profile View all posts by this user  
 
PostPosted: Mon Jan 21, 2013 11:25 am 
User avatar
XMOS Employee
Joined: Thu Dec 10, 2009 9:20 pm
Posts: 324
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.


Top
Offline Profile View all posts by this user  
 
PostPosted: Sat Jan 26, 2013 5:09 pm 
Joined: Wed Jan 16, 2013 7:28 pm
Posts: 2
Thanks Ross,
Is it means change the timer in the function CodecConfig of codec.xc ?
Code:
 /* Hold in reset for 2ms */
    t :> time;
    time += 2 00000;
    t when timerafter(time) :> int _;


Any idea for the USB descriptor?


Top
Offline Profile View all posts by this user  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic   [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest



Search for:
Jump to: