SPDIF problems on XK-AUDIO-316-MC-AB

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
vlad_94
Newbie
Posts: 1
Joined: Tue Oct 21, 2025 12:44 pm

SPDIF problems on XK-AUDIO-316-MC-AB

Post by vlad_94 »

Hello,

I'm relatively new to XMOS products and I want to try S/PDIF input; S/PDIF output on multichannel 316-MC board.
I download 7.3.1; 8.1.0 and 9.1.0 audio reference designs and for a pity I can not make it working.
What is working is USB input - but when S/PDIF is enabled (using 2AMi10o10xssxxx) or the one with 2 inputs and 2 outputs (here I enable S/PDIF output) - I have some signal which looks like S/PDIF, but it isn't - when I have 44.1kHz on USB input, I get around 1.5MHz on S/PDIF output. Analogue outputs are working well.
When I try to insert S/PDIF - using RX, and stop usb audio (because I don't know how to select desired input) - there is absolutely nothing on analogue outputs.

Can you help me - where I got this wrong - for now I'm using only pre-compiled xe files from different reference designs and all is the same - only usb input is working.

Many thanks in advance.
Vlad
Joe
Verified
XCore Addict
Posts: 135
Joined: Sun Dec 13, 2009 1:12 am

Post by Joe »

Hi, there may be some confusion. The sw_usb_audio software is primarily implementing a usb interface to i2s/spdif/adat etc. It will not implement spdif to i2s or vice versa etc. All of that is possible but would require different software.

USB host streaming audio data to spdif output will work however is this what you are trying? AT 44.1kHz, the spdif output will be at 2.822Mbps biphase mark encoded.

Cheers,
Joe
XMOS hardware grey beard.