Patent ID: 7652545
Filing Date: 2010-01-26
Classification: G06F

Abstract:
1. A system for real time clock (RTC) calibration, the system comprising: a timer counter; a clock generator; a calibration parameter refresh unit, for outputting a first calibration parameter comprising a first calibration period, a first average calibration value and a first remainder calibration value until the final second of the first calibration period is reached, and outputting a second calibration parameter instead of the first calibration parameter when reaching the final second of the first calibration period; and a clock calibration unit, coupled between the timer counter, the clock generator and the calibration parameter refresh unit, for incrementing the timer counter according to a plurality of clock cycles generated by the clock generator, and the first or second calibration parameter provided by the calibration parameter refresh unit, wherein the clock calibration unit calibrates counting of the clock cycles generated by the clock generator by the first average calibration value in a second other than the final second of the first calibration period, and calibrates counting of the clock cycles generated by the clock generator by the first average calibration value and the first remainder calibration value in the final second of the first calibration period, the first average calibration value and the first remainder calibration value are determined by a total number of clock cycles to be calibrated and the first calibration period.