SLAU846B June 2023 – November 2024 MSPM0G1105 , MSPM0G1106 , MSPM0G1107 , MSPM0G1505 , MSPM0G1506 , MSPM0G1507 , MSPM0G1519 , MSPM0G3105 , MSPM0G3105-Q1 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3505 , MSPM0G3505-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3519
The RTC module provides calibration mechanisms for reducing timekeeping error due to crystal offset error and crystal temperature drift. Crystal offset error can be corrected by measuring the crystal frequency through the RTC_OUT output and adjusting calibration registers in the RTC. Crystal temperature drift can be corrected by measuring the system temperature with software, computing a correction factor in ppm based on the measured temperature, and applying the correction factor to the RTC.
Up to ±240 ppm of offset correction or up to ±240 ppm of temperature compensation correction can be applied individually, but the total correction allowed when both offset correction and temperature compensation are used together is ±240 ppm. This means that the signed addition of offset error and temperature compensation should not exceed the maximum of ±240 ppm, else the values in excess of ±240 ppm will be ignored by hardware.