chriz2600 / DreamcastHDMI

Dreamcast HDMI
MIT License
154 stars 21 forks source link

SPDIF output? #10

Closed pcercuei closed 4 years ago

pcercuei commented 4 years ago

Does the FPGA convert the digital audio to SPDIF to get it to the ADV7315? If so, it'd be great to have solder pads somewhere, so that a Toslink or RCA connector for SPDIF can be added.

chriz2600 commented 4 years ago

Digital audio goes directly to the ADV7513. The audio output of AICA is I2S. So an external audio transmitter would be required to convert I2S to S/PDIF (IEC-60958), e.g. http://www.ti.com/lit/ds/symlink/dit4096.pdf You could also use an HDMI audio extractor to get S/PDIF from HDMI.

pcercuei commented 4 years ago

Right now I do it with a CS8406, see https://gamesx.com/wiki/doku.php?id=av:dreamcastda

If you have 4 pads connected to free pins on the FPGA, I could try to make a I2S to SPDIF IP.

chriz2600 commented 4 years ago

That would be awesome, but unfortunately in the current design we are out of output pins. There are only some clock inputs left (which could be used as user input pins). I attached a PDF showing all used pins:

10cl025 DCHDMI.pdf

pcercuei commented 4 years ago

So we're just short of one output pin? That sucks xD