Custom i2s in with simultaneous S/PDIF & USB out

If you have a simple question and just want an answer.
yes2i2s
Experienced Member
Posts: 73
Joined: Tue Nov 24, 2015 4:06 pm

Custom i2s in with simultaneous S/PDIF & USB out

Post by yes2i2s »

Dear XMOS community. I have an "xCORE-200 Multichannel Audio Platform" development kit and would like to achieve the following:
 
An I2s signal of up to 48k / 24bit comes in to the xmos chip on one of it's I2s inputs at BCLK=64xfs, MCLK=256xfs (I can change these timings if necessary btw)
 
I'd like that signal to be converted to an S/PDIF output (that can run without the USB being connected to the chip, maybe that's standard anyway)
 
I would also like a copy of the I2s signal to be sent out to the USB port, so that a computer can record the signal when it's plugged in. And for these two outputs to be simultaneously running.
 
How do I do this? And are all the I2s lines broken out on this dev board? From the datasheet I can only see the data lines to and from the DAC/ADC are broken out, how do I get to the WCLK/BCLK/MCLK lines?
 
Any help would be very gratefully received!
 
Kind regards
 
Tom
User avatar
infiniteimprobability
Verified
XCore Legend
Posts: 1164
Joined: Thu May 27, 2010 10:08 am

Post by infiniteimprobability »

Please see http://www.xcore.com/forum/viewtopic.php?f=26&t=3504

Also - please try to avoid double posting. Thanks!

Engineer at XMOS