The invention discloses a
clock data recovery device, which is characterized in that a differential conversion module converts a serial
signal into a single-bit
signal, a
delay module processes the single-bit
signal to obtain a
delay data signal, a sampling module performs sampling to obtain target sampling data, a jump
edge detection module performs XOR operation on the target sampling data, and a
clock data recovery module performs
clock data recovery. The method comprises the following steps: obtaining current data hopping phase information, storing a mapping relation between a sampling phase and an ideal data hopping phase sequence by a storage module, determining the ideal data hopping phase sequence corresponding to the current sampling phase by a
phase adjustment module, and adjusting the current data hopping phase information, a sampling
phase deviation result is searched in the
phase adjustment table based on the adjusted data hopping phase information, the current sampling phase is adjusted based on the search result, the optimal sampling phase is obtained, and a data
clock recovery module carries out data and
clock recovery on target sampling data based on the optimal sampling phase. Therefore, the clock to be recovered can be quickly locked, and the clock locking efficiency is improved.