Method and device for dynamically calibrating frequency
AssigneeHoltek Semiconductor Inc.
InventorsChun-Hsiung Chen, Sheng-Ho Wang
Life of this patent
Estimating the term…
Abstract
The method and the device thereof for dynamically calibrating a frequency is provided. The method includes steps of: (a) providing a first system frequency; (b) obtaining a first parameter of timer counting number; (c) providing a second system frequency; (d) obtaining a second parameter of timer counting number if there is a frequency drift between said first system frequency and said second system frequency; (e) obtaining a third parameter of timer interrupt interval by comparing said first parameter of timer counting number with said second parameter of timer counting number; and (f) calibrating a frequency output according to said third parameter of timer interrupt interval.
Claims14
A method for dynamically calibrating a frequency comprising steps of:
- (a) providing a first system frequency;
- (b) obtaining a first parameter of timer counting number;
- (c) providing a second system frequency;
- (d) obtaining a second parameter of timer counting number if there is a frequency drift between said first system frequency and said second system frequency;
- (e) obtaining a third parameter of timer interrupt interval by comparing said first parameter of timer counting number with said second parameter of timer counting number;
- and
- (f) calibrating a frequency output according to said third parameter of timer interrupt interval.
A device dynamically calibrating a frequency for calibrating an output frequency of a frequency generator, comprising:
- a microcontroller with a counter having a parameter of timer interrupt interval electrically connecting to said frequency generator;
- and
- a resistor-capacitance oscillator formed by a resistor and a capacitance in series connection, and electrically connected to said microcontroller, and having a datum frequency and a system frequency,
- wherein said microcontroller corrects said parameter of timer interrupt interval of said counter according to said datum frequency and said system frequency.
Dependencies are inferred from the claim text.