In a mobile communication device, a method for compensating for a
frequency adjustment in an oscillator shared between a communication
circuit and a positioning signal receiver is provided. In one embodiment,
a method for determining the operating frequency of an oscillator detects
a beginning time point of a reference signal received by the mobile
communication device and enables a counter to count in step with a clock
signal derived from the oscillator. When an ending time point of the
reference signal is received by the mobile communication device, the
count is stopped, and the frequency of the oscillator is determined based
on the count in the counter and an expected time that elapsed between the
beginning time point and the ending time point.