Patent ID: 8199868

Claim:
A clock and data recovery circuit, comprising: a clock generator to generate a synchronous clock signal; a phase detector to compare a phase of the synchronous clock signal obtained by the clock generator with a phase of input serial data and to obtain a phase error signal corresponding to a comparison result; a phase tracking loop to acquire a phase correction control signal for tracking a phase shift of the input serial data based on the phase error signal; and a frequency tracking loop to acquire a frequency correction control signal for tracking a frequency shift of the input serial data based on the phase error signal, wherein the clock generator corrects the phase of the synchronous clock signal based on the frequency correction control signal and the phase correction control signal, the phase tracking loop includes a first integrator, being an up/down counter having a predetermined count width, to smooth the phase error signal and obtain the phase correction control signal, the frequency tracking loop includes a pattern generator to count an integral of the first integrator and generate the frequency correction control signal based on a first count result, a pattern length of the pattern generator is equal to or larger than a threshold that becomes larger as the count width of the first integrator becomes larger, the frequency tracking loop further includes a second integrator, being an up/down counter having a predetermined count width, to smooth the integral of the first integrator, the pattern generator counts an integral of the second integrator and generates the frequency correction control signal based on a second count result in combination with said first count result, and a product of the pattern length of the pattern generator and the count width of the second integrator is equal to or larger than the threshold.