Patent ID: 8922292

Claim:
A device for compensating impedance and gain of a transmission interface, coupled to a channel, the device comprising: a correcting and compensating unit, coupled to the channel, used to receive a channel signal, and compensating the channel signal according to a control signal to generate a compensation signal; a clock data recovering unit, coupled to the correcting and compensating unit, and used to receive the compensation signal and generate a data signal; a decoder, coupled to the clock data recovering unit, and used to decode the data signal and perform detection to generate an error information and a correct information; a calculating unit, coupled to the decoder, and used to count times of generating the error information and times of generating the correct information to accordingly generate a reference data; and an adaptive control unit, coupled to the calculating unit and the correcting and compensating unit, used to receive the reference data and calculate the reference data to generate the control signal to the correcting and compensating unit.