one of those things which i may have misunderstood is that VBAT is mainly for LSE and to retain the few backup registers.
And if I'm right that VBAT works in conjunction with LSE + registers rather than LSI?
Hence, sometimes if VBAT, LSE, RTC + backup registers break, it kind of spoil the soup for me. Apparently, this bundle works as a subsystem.
Then there are lousy 32k crystals which drifts.
So I've this little 'RTC adjustment' piece (in roger's core)
https://github.com/rogerclarkmelbourne/ ... /RTCAdjust
that kind of allows one to compensate drifts in the 32k crystals
while i'd not claim ppm accuracy, after all that 'compensation', i've seen errors of less than a minute in a month (not terribly accurate, but decent).
i used to have a 5c 32k crystal that drifts so much that it is off by minutes the next day. All that 'adjustments' brought that 'less than a minute a month' performance.