主权项 |
1. An auto-determining sampling frequency method for determining sampling frequency for an input signal of a single wire transmission interface, each frame of the input signal comprising a preamble and binary data presented in a plurality of bits, the method comprising:
utilizing a recovered clock signal to acquire a plurality of period widths of a recovered data signal, wherein the recovered data signal is acquired by utilizing the recovered clock signal as a sampling clock to sample the input signal; determining whether a first predetermined period width exists in the period widths, wherein the first predetermined period width corresponds to the preamble; determining whether a second predetermined period width or a third predetermined period width exists in the period widths, wherein the second predetermined period width corresponds to binary data “1” and the third predetermined period width corresponds to binary data “0”; and determining whether to increase, decrease or maintain frequency of the sampling clock according to a determining result for the period widths. |