Patent ID: 8724745

Claim:
A method for decoding coded data streams, wherein each coded data steam includes a plurality of frames, and wherein each frame includes a preamble of fixed length and a series of data bits, comprising: oversampling a coded data stream including an embedded input clock signal and a data stream using a high frequency clock signal having a substantially higher frequency than a frequency of the embedded input clock signal to measure substantially sequentially a plurality of pulse widths in a current frame using a sync and reference value acquisition digital logic, wherein measuring substantially sequentially the plurality of pulse widths comprises: measuring substantially sequentially the plurality of pulse widths of at least two positive pulses or at least two negative pulses in the current frame; acquiring sync of the coded data stream based on the measured plurality of pulse widths using the sync and reference value acquisition digital logic; snatching the measured plurality of pulse widths and declaring them as reference pulse width values upon acquiring the sync of the coded data stream using the sync and reference value acquisition digital logic; detecting a type of preamble based on a pattern with respect to the snatched reference pulse width values using a data decoder; and decoding the coded data stream based on the measured pulse widths of the at least two positive pulses or the at least two negative pulses in the current frame using the data decoder.