Data strobe encoding
|Data strobe encoding and recovered clock.|
Data strobe encoding (or D/S encoding) is an encoding scheme for transmitting data in digital circuits. It uses two signal lines (e.g. wires in a cable or traces on a printed circuit board), Data and Strobe. These have the property that either Data or Strobe changes its logical value in one clock cycle, but never both. More precisely data is transmitted as-is and strobe changes its state if and only if data stays constant between two data bits. This allows for easy clock recovery with a good jitter tolerance by XORing the two signal line values.
There is an equivalent way to specify the relationship between Data and Strobe. For even-numbered Data bits, Strobe is the opposite of Data. For odd-numbered Data bits, Strobe is the same as Data. From this definition it is more obvious that the XOR of Data and Strobe will yield a clock signal. Also, it specifies the simplest means of generating the Strobe signal for a given Data stream.
Gray code is another code that always changes one logical value, but never more than one.