Skip to content

RTC Calibration #893

Answered by microPaul
intakenick asked this question in Q&A
Jan 9, 2023 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

If you are not using a watch crystal then I think I most of your time drift would go away if you did. Having said that, I've done some work with the 32kHz crystal calibration register and with that you can get things to 20 ppm if your crystal loading is correct (crystal load is 1/2 of the cap value used, since it's effectively two in series, plus stray - I use 12 pf loading caps on each xtal leg, so the total loading is then 6 pF from caps which is then in parallel with 6 pF from stray capacitance). To determine the adjustment register value I see how many seconds the clock is off after running 8 hours (for time reference I use time.gov or WWV sound track on 303-499-7111), determine the P…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by intakenick
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@intakenick
Comment options

@SpenceKonde
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants