Adjusting the USB Audio RD to work without an I2S CODEC

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
User avatar
eladmmor
Member++
Posts: 21
Joined: Tue May 01, 2012 1:58 pm

Adjusting the USB Audio RD to work without an I2S CODEC

Post by eladmmor »

Hello there!
I've just discovered a very disturbing fact about the Reference design compatibility with a SPDIF CODEC[1]:
The audio thread must be connected to a CODEC that supports I2S (other modes
such as “left justified” can be supported with firmware changes).

We would like to use the XMOS to design a USB to SPDIF converter, which means that there will be no I2S CODEC connected to the XMOS at all.
The SPDIF output will be connected to an external DAC.

What FW changes would I have to make in order to achieve this goal?
How hard would it be for junior embedded programmer to deal with?

Thanks!!

[1] http://www.xmos.com/published/usb-audio ... ion=latest page 23


User avatar
lilltroll
XCore Expert
Posts: 956
Joined: Fri Dec 11, 2009 3:53 am
Location: Sweden, Eskilstuna

Post by lilltroll »

You may desolder the I2S CODEC from the PCB on the reference design, and the S/PDIF output would still work. The S/PDIF is separatet from the I2S output, both on HW and SW.

You do not need to do anything, just to compile the code with the S/PDIF option. The only thing missing on the PCB on the reference design is the RCA connector, but the signal can be found near the TOSLINK connector @ TP10.