Meaning
System procedures that adjust the frequency of an on-chip resistor-capacitor oscillator to match a highly stable reference source ensure the timing accuracy of low-power microcontrollers and radios. Running an internal rc calibration allows the integrated circuit to use its low-cost internal oscillator for precise timing tasks instead of relying on an expensive external crystal. This calibration process runs periodically to correct for environmental changes such as temperature and supply voltage drift.
Operational Mechanism
The calibration routine compares the slow, temperature-sensitive internal clock against a high-frequency, crystal-controlled clock or an external radio packet of known duration. During the internal rc calibration cycle, the hardware counts the number of internal clock cycles that occur within a defined period of the reference clock. The ratio of these counts determines the frequency error, which is then corrected by adjusting a digital tuning register that changes the internal oscillator’s capacitance.
This adjustment brings the oscillator’s output back to its nominal target frequency.
Energy Efficiency
Using the internal oscillator during sleep states minimizes the quiescent current draw of the wireless node. However, because the oscillator drifts rapidly when the high-frequency reference is turned off, the internal rc calibration must be executed immediately before the device wakes up to transmit. This timing ensures that the radio synthesizer is properly aligned for transmission and reception.
Balancing the calibration frequency against the sleep duration is necessary to optimize the overall microampere energy budget.
Oscillator Precision
Oscillator precision after calibration is limited by the step size of the digital tuning register. If the calibration steps are too coarse, the remaining error can still affect time-critical protocols.