Dirk Bruere at NeoPax wrote...
There are a number of circuits on the Net to do this.
For example:
http://sound.westhost.com/project85.htm
In Fig 5 should that IC be a 74HC04 as stated, or 74HCU04?
That's a simple AC signal to DC logic conversion,
.. | \
.. AC ---||---+---| >O--+----
.. | | / |
.. | |
.. '---/\/\---'
I'd say, yes, in the absence of any signal, an HCU04 gate
would do a better job of settling at 1/2 Vcc, and perhaps
do so with less class-A current, but in the absence of a
signal, who cares what happens? In practice, S/PDIF lines
have a continuous AC signal, so this simplified circuit's
feedback RC node should find the average of the incoming
data stream. Also, the continuous huge signal means the
gates won't have a class-A rail-rail current problem.
s/pdif data doesn't have a 50% duty cycle, which gives me
pause, but Andrew Kilpatrick, Randy McAnally and ESP =
Rod Elliott swear by it, so it must be adequate.
http://www.andrewkilpatrick.org/blog/?page_id=215
http://www.andrewkilpatrick.org/blog/wp-content/uploads/2008/07/spdif_circuits.gif
OTOH, you can get official s/pdif receiver connectors and
ICs for a few bucks, and that seems a bit more professional.