Run-Time Calibration of Watch Crystals
| The content on this page is a condensed version of Microchip Technology’s Application Note AN1155, which can be downloaded for free at www.microchip.com/lowpower. Visitors will also find information on other application notes, development systems, datasheets, technical training, samples and much more. Designing a Real-Time Clock and Calender (RTCC) with inexpensive watch crystals is a challenge without runtime error calibration. Now, Microchip provides an easy and inexpensive solution to address this issue. Using Microchip’s RTCC you can implement Real-Time Clocks within ±2.59 seconds error/month. For watch and timekeeping applications, 32.768 kHz crystals with an accuracy close to 20 ppm are common, but 20 ppm translates to a ±0.65536 Hz frequency deviation, or a whopping 51.8 seconds error per month. This error only accounts for variation in crystal properties. Other significant sources include temperature, aging, component selection and layout. This application note discusses errors associated with lowcost watch crystals used in RTCC applications and methods to overcome these errors. We also discuss a unique builtin calibration feature in Microchip’s RTCC circuits, which minimizes these errors during run time. The following are the most common factors leading to oscillator errors in crystal sources:
Mechanical vibration should be avoided to minimize crystal errors. If possible, we need to move all vibration sources away from the crystal. Potential vibration sources include buzzers, speakers, motors and so on. For resonance at the correct frequency, the crystal should be loaded with its specified load capacitance, which is the value of capacitance used in conjunction with the crystal unit. Load capacitance is a parameter specified by the crystal manufacturer; typically expressed in pF. A mismatched load capacitor can contribute to an error of up to almost 400 ppm. It is important to consider capacitor value due to parasitic capacitance of the PCB traces and other crystal leads. Contact Information![]() Microchip Technology Inc.2355 W. Chandler Blvd.Chandler, AZ, 85224 USA tele: 480.792.7200 toll-free: 888.MCU.MCHP fax: 480.792.7277 lit_inquiry@microchip.com www.microchip.com |











