DCO Setup and Calibration
VLO 'Calibration'
The app note and library mentioned on the slide below can be used to calibrate the VLO clock at
runtime. While originally not known for its high accuracy, the VLO can be ‘calibrated’ using
another clock. The example shown here uses the DCO and TIMER_A to calibrate the VLO.
Calibrate the VLO during runtime
Example:
Timer_A clocked at calibrated 1MHz (from DCO)
Capture with rising edge of ACLK/8 from VLO
f
VLO
= 8MHz/Counts
Code library on the web (search for “SLAA340”)
Run Time ‘Calibration’ of VLO
TAR
Calibrated 1 MHz DCO
CCRx
ACLK/8 from VLO
f
VLO
= 8MHz/Counts
MSP430 Workshop - MSP430 Clocks & Initialization 4 - 31