Patent ID: 7324619
Filing Date: 2008-01-29
Classification: G06F,H04L

Abstract:
1. An apparatus for auto-tracking and compensating a clock frequency, for use in a USB controller to receive a data stream, comprising: an oscillator, for generating a sampling clock signal, a clock extractor, for generating a system clock signal according to the data stream and the sampling clock signal, a pattern extractor, connected to the clock extractor, for extracting a plurality of patterns from the data stream according to the system clock signal, a counter, connected to the pattern extractor, for counting a counting value representing a length of the data stream according to the sampling clock signal and the patterns, an arithmetic logic unit (ALU), connected to the counter and the pattern extractor, for mapping a configuration according to said counting value and a reference value, and a register connected to the ALU and the oscillator, for temporarily storing the configuration and feeding back the configuration to the ALU, wherein the oscillator updating a frequency of the sampling clock signal in response to the configuration.