The caliberation for RTC is one of those "nice to have" feature, not exactly something you should count on right? Should you use it and hope for a meaningful result?
I'm using STM32L431xx series mcus and as with most STM32 mcus, it has an RTC feature with calendar. The RTC has a calibration function by which you can fine-tune the counting scheme of the RTC and improve upon the accuracy of your clock source.
This works well in theory, but in reality, take into consideration that I'm using an internal clock source (LSI), I wonder how and if this should be put to use.
By that I mean if there is a common characteristic for the LSI, as in does it have a consistent tendency to tick slower or quicker over time, and if this consistency can be observed throughout even different batches.
The official tech-docs puts the accuracy of LSI at ±5%, at the first look it implies it could either go faster or slower than it should, thus rendering the calibration really difficult, since:
- There could be no consistency within the same batch
- If the development chip is different than the production chip, the calibration is rendered useless
- Even if consistency is not a major issue for the same batch, calibrations still need to be done for every single different batch.
With these background information provided and concerns listed, my question is:
Should you use the calibration feature in hoping to achieve higher accuracy, given that LSI will be powering the RTC, and LSI is notoriously inaccurate to begin with?