1

I am looking for optical Toslink input for Raspberry pi (any model). If I just connect a DLR-1140 receiver to PCM_DIN, would that work?

My goal is to build a sound server. I have a TV that outputs Toslink signal, a sound system that needs analog 6ch input, bluetooth clients and network pulseaudio clients. The main missing piece is the Toslink input.

I already tried a CM106-based USB card, but found out that it does not allow encoded signal into the system (only passthrough is allowed). It cannot decode it either.

1 Answers1

2

It's not as simple as directly connect a S/PDIF or Toslink connector to the Pi. From Can I get audio input through the GPIO, the pins that include PCM_DIN directly take PCM streams, like a WAV file. To get data from a Toslink, you'd need some chip to convert from the IEC 60958 protocol to raw PCM. Something like a LC89091JA "Digital Audio Interface Receiver" might work. (Side note: this sounds like an interesting project for an FPGA.)

Additional reading:

Fred
  • 4,592
  • 19
  • 29