2023-06-03 11:36 AM
2023-06-21 02:18 AM
Almost every STM32 with a SAI (serial audio interface) has an incorporated SPDIF transmitter.
So you can use on SAI block to connect the ADC, the other block for SPDIF output.
I'm using that all the time (G4, F7, H7), works reliable.