摘要 |
<p>An electronic device has two oscillators, for example a first highly accurate crystal oscillator and a second less accurate low power oscillator. In a normal mode of operation, time is counted based on an output from the crystal oscillator, but in a low power mode of operation, time is counted based on an output from the less accurate oscillator. During the low power mode of operation, a calibration process is performed repeatedly. During a first calibration time period the second oscillator is calibrated against the first oscillator to obtain a first calibration result, and a recalibration is performed during a second calibration time period to obtain a second calibration result. A correction factor is determined from the first and second calibration results, and the correction factor is applied when subsequently counting time based on the output from the second oscillator.</p> |