Hi,
I wonder how a SPDIF input could be realized.
Spdif uses a self-clocking code, called "biphase mark encoding", a variant of the manchester code.
The challenge (i think!) is a) to reconstruct the clocksignal from the bitstream, b) to detect the frame-markers ("Preambles")
a): I think there must exists well-known techniques to do this. I do not know them
So.. how does this work ?
Is it possible with a few gates in hardware ? Perhaps some 74xxx ? or a PLL (74HC/HCT4046??) ? It should be as simple as possible.
I'm not that expirenced with electronics..but i like challenges And i'm willing to learn.
Maybe b) could be done with the i2s-device inside the Teensy if we have a clock.
I wonder how a SPDIF input could be realized.
Spdif uses a self-clocking code, called "biphase mark encoding", a variant of the manchester code.
The challenge (i think!) is a) to reconstruct the clocksignal from the bitstream, b) to detect the frame-markers ("Preambles")
a): I think there must exists well-known techniques to do this. I do not know them
So.. how does this work ?
Is it possible with a few gates in hardware ? Perhaps some 74xxx ? or a PLL (74HC/HCT4046??) ? It should be as simple as possible.
I'm not that expirenced with electronics..but i like challenges And i'm willing to learn.
Maybe b) could be done with the i2s-device inside the Teensy if we have a clock.
Last edited: