USB AUDIO 2.0 REFERENCE DESIGN XMOS, USB AUDIO 2.0 REFERENCE DESIGN Datasheet - Page 41

USB AUDIO 2.0 REFERENCE DESIGN

USB AUDIO 2.0 REFERENCE DESIGN

Manufacturer Part Number
USB AUDIO 2.0 REFERENCE DESIGN
Description
USB AUDIO 2.0 REFERENCE DESIGN
Manufacturer
XMOS

Specifications of USB AUDIO 2.0 REFERENCE DESIGN

Design Resources
USB AUDIO Schematic
Main Purpose
Audio, Audio Processing
Embedded
Yes
Utilized Ic / Part
XS1-L1
Primary Attributes
Audio data up to 24-bit @ 192kHz
Secondary Attributes
I²S and S/PDIF
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
880-1017
USB Audio Software Design Guide
Since the clocks come from fixed oscillators on this board, the clock configuration
functions do not need to do anything. This will be different if the clocks came from
void CodecConfig(unsigned samFreq, unsigned mClk, chanend ?c_codec)
{
}
timer t;
unsigned time;
unsigned portVal;
unsigned tmp;
/* Put codec in reset and set master clock select appropriately */
if ((samFreq % 22050) == 0)
{
}
else if((samFreq % 24000) == 0)
{
}
else
{
}
tmp = port32A_peek();
tmp &= (P32A_LED_A | P32A_LED_B);
port32A_out(portVal | tmp);
/* Hold in reset for 2ms */
t :> time;
time += 200000;
t when timerafter(time) :> int _;
/* Codec out of reset */
portVal |= P32A_COD_RST;
tmp = port32A_peek();
tmp &= (P32A_LED_A | P32A_LED_B);
port32A_out(portVal | tmp);
portVal = P32A_USB_RST;
portVal = (P32A_USB_RST | P32A_CLK_SEL);
if (samFreq == 1234)
printintln(samFreq);
printstr("Unrecognised sample freq in ConfigCodec\n");
assert(0);
return;
Document Revision 1.2
41/57

Related parts for USB AUDIO 2.0 REFERENCE DESIGN