Patent ID: 8896385

Claim:
A circuit, comprising: a reference clock comprising: a reference oscillator configured to produce a reference oscillator signal having an arbitrary frequency that is not a power of 2; counter circuitry configured to receive the reference oscillator signal and count a number of oscillations of the reference oscillator signal; and comparator circuitry configured to compare the number of oscillations of the reference oscillator signal as counted by the counter circuitry to a reference number and to produce a comparator output exhibiting a state change when the number of oscillations of the reference oscillator signal equals or exceeds the reference number, wherein the reference clock is configured to output a reference clock signal with a time base based on the number of oscillations of the reference oscillator signal counted by the counter circuitry; a real time clock coupled to the reference clock and configured to receive the reference clock signal having the time base, and configured to produce an output indicative of current time; and a feedback loop between an output of the counter circuitry and a reset port of the counter circuitry.