Patent ID: 8139697

Claim:
A sampling method, comprising: providing a first strobe, a second strobe, a third strobe, and a fourth strobe, wherein all the strobes have the same frequency, the second strobe lags the first strobe a first predetermined phase, the third strobe and the fourth strobe respectively lag the first strobe and the second strobe a second predetermined phase, and the second predetermined phase is half of the first predetermined phase; respectively sampling a digital signal with the first strobe and the second strobe, wherein the digital signal is always sampled at sampling edges of the first strobe and the second strobe, the sampling edges are the rising edges or the falling edges of the first strobe and the second strobe, and the bit length of the digital signal is equal to the strobe cycles of the first strobe, the second strobe, the third strobe, and the fourth strobe; determining positions of data transition points of the digital signal according to the sampling results of the first strobe and the second strobe, wherein the positions of data transition points of the digital signal are relative to the sampling edges of the first strobe and the second strobe; selecting the third strobe or the fourth strobe as a preferable sampling strobe according to the determination result; and sampling the digital signal with the preferable sampling strobe, wherein the sampling edges of the preferable sampling strobe are the same as the sampling edges of the first strobe.