Patent ID: 7940667

Claim:
A method for measuring a delay in a distributed wireless system, said method comprising: detecting a group of frame pulses; selecting two reference frame pulses from the group of frame pulses; performing a state-machine based coarse grain measurement using a coarse grain finite state machine to obtain a coarse grain delay between said two reference frame pulses; performing a state-machine based fine grain measurement using a fine grain finite state machine to obtain a phase offset between said two reference frame pulses, and holding the coarse grain finite state machine in a WAIT state whenever a fine grain measurement is underway; calculating a total delay between said two reference frame pulses using said coarse grain delay and said phase offset; wherein said total delay corresponds to said delay in said distributed wireless system; and further comprising the sequential steps of: a. storing a first delay line tap setting corresponding to a first rising edge of a clock signal associated with the first selected reference frame pulse; b. storing a second delay line tap setting corresponding to a first rising edge of a clock signal associated with the second selected reference frame pulse; and c. storing a third delay line tap setting corresponding to the next rising edge of the clock signal associated with the first selected reference frame pulse.