0

I have a simple S/PDIF protocol question that I can't find the answer to anywhere. I'm trying to understand the protocol, and everywhere I look says the same thing: The length of a preamble pattern is 8 bits, but the allocated length in the word frame is only 4 bits. Here's an example from an ST application note:

enter image description here

enter image description here

Everywhere else I have looked says the same thing too. How do I reconcile this information? Is the preamble slot 4 or 8 bits?

ezra_vdj
  • 600
  • 6
  • 17

1 Answers1

1

The preamble length is 4 unencoded bits as the whole data frame is 32 unencoded bits.

The preamble length is 8 biphase Manchester encoded time slots as the whole data frame is 64 time slots.

As the preamble violates the bit encoding it can only be represented as 8 encoded symbols and not unencoded bits.

Justme
  • 127,425
  • 3
  • 97
  • 261
  • That makes perfect sense, thank you. So you can scan the bitstream for a violation and you know it’ll be a sync point (preamble)? – ezra_vdj Jul 31 '23 at 06:34