
Kerry Wong writes:
DS3232 is an extremely accurate RTC with a guaranteed accuracy of 2.5 ppm (0 °C to 40 °C), which translates into an error of just 80 seconds over the course of a year under the worst case scenario. I had done a few projects using this chip before (you can read about them here).
While by default DS3232 is already very accurate, we can push its accuracy even higher by adjusting its aging offset register (8bit). This adjustment works by adding or subtracting the corresponding capacitance to or from the oscillator capacitor array. The adjustable range is represented as 2′s complement (-128 to 127) and each LSB change corresponds to roughly 0.1 ppm of change in frequency. So the overall adjustment range can be achieved programmatically is roughly ±13 ppm.
Check out the video after the break.
