Hopefully only partially hijacking a closed thread here:
I have had one trouble with the my STM32F1 boards.
I have one board with an RTC that runs a bit slow. Whereas the other exact same boards run within spec.
I have changed caps and processor, but not xtal and it is still slow. Didn't have the spare Xtal handy. It loses maybe 20 seconds a day where it should be more like 1 second.
Caps 5.6pF NPO
zero series resistance.
Board capacitance may be a bit excessive as I put a ground plane straight underneath. I measure about 1-2pF with my LCR meter.
But really the RTC is within spec on other similar boards.
I removed one of the load caps completely it actually ran slightly fast. I forgot which leg.
Maybe I should try the series resistor.
I was wondering if a faulty or damaged XTal was likely to cause this? Having replaced everything else. Battery but it's slow even when the board is powered on? or processor?
For future reference is it better to run the ground plane under the XTal? I read somewhere that is isn't.
Does board capacitance count for much, should I allow for it if the processors oscillator only has 6pf load capacitance specified.
http://www.cardinalxtal.com/uploads/files/cpfb.pdf