2 toslink out on a Pi?

Member
Joined 2003
Paid Member
Ohoj!

How can I get 2 toslink (opto) output on one RPi?

Can one RPi house 2 hats? Like 2 HifBerry Digi+ ?

My aim would to run latest Volumio with the now contined Camilla DSP to control 2 DACs (i.e. 4 channels).

//
 
Do you want 4 individual channels, or 2 copies of a stereo signal?
The first one isn't possible with hats since the i2s output of the pi only handles stereo. The second might be possible, but it's likely easier to make some y-split of the spdif signal from a single output.
 
That's equivalent to using 2 stereo I2S lines, instead of just one (if available). I2S is always stereo (unless TDM format - then 2...e.g. 8). You could connect 2 SPDIF transmitters = 4channels.

If you want 4 SPDIF lines, you can use all 4 I2S lines and keep the even/odd channels silent - zeros.