Patent ID: 11962677
Assignee: STMICROELECTRONICS S.R.L.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 8:
9. A method for resynchronizing a data stream, the method comprising:
oversampling the data stream to form a sampled data set, wherein a sampling rate of the oversampling is determined by a sampling clock, the sampled data set being stored in a data buffer;
counting a measured number of cycles of the sampling clock over an observation window, wherein the length of the observation window is determined by a reference clock;
indicating the end of the observation window by sending a trigger to a data stream recovery method;
after sending the trigger to the data stream recovery method, executing the data stream recovery method in response to receiving the trigger, the data stream recovery method comprising:
determining a difference between the measured number of cycles of the sampling clock over the observation window and an expected number of cycles of the sampling clock over the observation window; and
adding or subtracting a number of samples equal to the difference from the sampled data set in the data buffer; and

after executing the data stream recovery method, decoding the sampled data set.