Patent ID: 8886988

Claim:
A method for calibrating signal skew in an MIPI (mobile industry processor interface), comprising: transmitting a clock signal via a clock lane of the MIPI and transmitting a first data signal via a data lane of the MIPI in a calibration mode; providing 1 st to N th test clock signals by delaying the clock signal by 0 to (N−1) units of time, wherein N is an integer larger than 1; providing 1 st to N th first test data signals by delaying the first data signal by 0 to (N−1) units of time; acquiring 2N first latched data by latching the 1 st to N th first test data signals according to the 1 st test clock signal and by latching the 1 st first test data signal according to the 1 st to N th test clock signals, respectively; determining whether each first latched data matches first predetermined data associated with the first data signal; determining a first data pass zone which matches the first predetermined data; acquiring an optimized phase relationship between the clock lane and the data lane according to a center of the first data pass zone; and adjusting a signal delay of the clock lane and a signal delay of the data lane according to the optimized phase relationship when transmitting the clock signal and the first data signal in a normal mode.