Microcomputer and method for correcting clock thereof
Abstract
Problem A sub clock for a sleep mode in a a microcomputer is retained to be operable with high accuracy. Solution A sub clock 20 counts oscillating pulses of a CR oscillating circuit 21 by a loop counter 22 , and outputs a clock signal each time the oscillating pulses reach a target count Pm. A CPU 11 counts oscillating pulses of the CR oscillating circuit 21 in a predetermined time measured by a time counter 25 in response to a clock signal of a main clock 13 by a crystal oscillator, and corrects the target count Pm according to a pulse count P thereof. Since the real count state is obtained based upon the clock signal of the main clock having high frequency accuracy without the estimation of the sub clock 20 , the high accuracy of the sub clock is retained even if environmental changes such as temperatures occur.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A microcomputer including at least one clock comprising: a) a reference data obtaining unit configured to obtain count data from a reference clock signal source higher in frequency accuracy than the clock; b) a measuring unit configured to measure count data of the clock on a basis of the count data from the reference clock signal source; c) a memory for storing the count data of the clock; and d) a correcting unit configured to correct a clock signal of the clock based upon the measured result by the measuring unit; e) the measuring unit operating the clock by a predetermined time interval at
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗