sparkJulio wrote: ↑Tue Oct 22, 2024 10:37 pm
Thanks for your reply.
I'm having a lot of fun :)
Just a few more questions:
If it's problematic to have more than 1 SPDIF receiver, could I use I2S followed by SPDIF RX like the DIR9001?
Is it better to have SPDIF output directly through the XMOS or is all I2S followed by SPDIF RX/TX IC's the best topology to implement?
regards.
You can run multiple S/PDIF receivers on an xcore, that's no issue. The problem is each input will have its own independent, recovered clock (assuming they are not all coming from the same source..).
This is why most products don't support more than 1 digital input.
You'll have the same issue with multiple DIR9001 devices each outputting their own clock signals. You'd require sample rate conversion to deal with this, which you could add, but thats quite a bit of work.
An external IC that has S/PDIF -> ASRC -> I2S would make things easy (you can use an xcore do to this.. see
https://www.xmos.com/file/an02003-spdif ... with-asrc/).
One issue with this is your S/PDIF streams will no longer be bit-perfect, so encoded streams are a no-go.
Multiple transmit is much easier as you don't have this clocking issue to worry about, the code changes would be trivial.