Page 1 of 1
XS1-L1 USB Audio
Posted: Wed Jun 27, 2012 10:47 am
by anitha
Hi
I am using Xs1-L1 Usb Audio Kit. Trying to do audio loopback using I2S and I2C. The code exits whenever trying to readback the value from the address as shown below:
REGWR_CODEC(0x04, 0b00001001);
assert(REGRD_CODEC(0x04) == 0b00001001);
Can i get any working audio loopback example on Xs1-L1 using I2S&I2C.
Regards
Anitha
Re: XS1-L1 USB Audio
Posted: Wed Jun 27, 2012 12:44 pm
by lilltroll
I'm confused, do you mean this board?
http://www.xmos.com/products/development-kits/usbaudio2
The CODEC is used in "stand alone" mode, and do not use any I2C, only I2S.
Re: XS1-L1 USB Audio
Posted: Thu Jun 28, 2012 5:35 am
by anitha
Thanks for the quick response.
Yes i am using the same Hardware Xs1-L1 Usb Audio 2.0 (Usb Audio 2.0 software reference design is working fine on this).
Is it possible to do a standalone audio loop back testing using I2S with Analog Stereo Jack In & Out, without using USB.
I am able to do small programs like leds on/off, push buttons. I have tried the sc_i2s from github, but this code is for L2 sytem.
Can i get any working examples for XS1-L1 Usb Audio 2.0 system.
Regards
Anitha
Re: XS1-L1 USB Audio
Posted: Thu Jun 28, 2012 11:30 am
by anitha
I got to work I2S audio loopback code on Xs1-L1 Usb Audio 2.0 Hardware. But audio is coming with noise added. Even nothing is played on the PC i hear noise continuously. What is the reason for this behavior?
Thanks