Skip to main content
Visitor II
May 6, 2024
Question

Optical SPDIF - MCU takes as input - Process - Output the SPDIF signal

  • May 6, 2024
  • 1 reply
  • 895 views

Hi,

I need help in selecting a MCU which takes optical SPDIF as an input (coming from a source like TV) and be able to process the data by applying some algorithm and then output the data over optical SPDIF. Any reference or evaluation board recommendation?

1 reply

LCE
Principal II
May 6, 2024

Several STM32 MCUs have an extra "SPDIFRX" peripheral, most of their SAIs (serial audio interface) have an SPDIF TX option (I use that a lot for audio debugging, quite easy to use).

The main problem might be to retrieve and use the SPDIF RX source clock, I have never tried that, but from my experience that might cause the biggest trouble. (I like to use a sample rate converter.)

Which MCU you will finally use might also depend on how heavy the audio processing will be and the sampling rate. That's why I would start with an F7 or H7 Nucleo board.
Connecting optical IO to a Nucleo is not that hard, as it's usually only 3 pins (signal, VCC, GND).