AVR053: Internal RC Oscillator Calibration for
Introduction
This application note describes a fast and accurate method to calibrate the
internal RC oscillator of the Atmel
have ISP or JTAG interfaces. It offers firmware source code that allows
calibration using the
AVRISP
programming tools. It could also be adapted to production programmers.
These are covered in the
Microcontrollers" application note.
Many tinyAVR and megaAVR devices offer the possibility to run from an
internal RC oscillator. Typically, this oscillator can be user calibrated to within
±1% of the frequency specified in the datasheet. This feature offers
significant cost savings compared to using an external oscillator.
Factory calibration is performed at a fixed operating voltage and
temperature. The calibration technique in this application note can be
performed by the user to achieve higher accuracy than the standard
calibration offers, to match a specific operating voltage or temperature, or
even to tune the oscillator to a different frequency.
In some systems it may be necessary to perform run-time calibration of the
oscillator using an external crystal. This is covered in the
32kHz XTAL for run-time calibration of the internal
Features
•
Calibration using the following programming tools: AVRISP mkII,
JTAGICE mkII, JTAGICE3, and Atmel-ICE
•
Support for tinyAVR and megaAVR devices with tunable RC oscillator
and ISP, or JTAG interface
•
Adjustable internal RC oscillator frequency with ±1% accuracy typical
•
Tune RC oscillator to any frequency at any operating voltage and
temperature within specification
•
No external components required for calibration
Atmel-2555H-Internal-RC-Oscillator-Calibration-for-tinyAVR-and-megaAVR-Devices_AVR053_Application Note-09/2016
AVR 8-bit Microcontrollers
tinyAVR and megaAVR Devices
®
®
tinyAVR
and megaAVR
mkII,
JTAGICE
mkII, JTAGICE3, or
"AT06015: Production Programming of Atmel
RC" application note.
APPLICATION NOTE
®
devices that
Atmel-ICE
"AVR055: Using a
Need help?
Do you have a question about the AVR053 and is the answer not in the manual?
Questions and answers