Part Number: MSP430F5342
Hello everyone,
We are observing some unusual behavior in our system and are looking for the root cause. Our system is composed of an MSP430F5342 microcontroller with a 32kHz crystal on XT1, the DCO running at 20MHz, and the PMM core voltage set to level 2.
On initialization, we calibrate the DCO to 20MHz using the FLL with the 32kHz crystal as the source. This calibration is successful, after which we disable the FLL.
After disabling the FLL, however, the DCO begins a steady drift, reducing its frequency very rapidly. After about half an hour, the frequency drops to about 75% its original value. The crystal correctly remains at its nominal frequency.
The issue seems to be exacerbated by entering and exiting LPM0: the above drift is observed by waking up the microcontroller every second. If, instead, it wakes up every 50ms, the drift is much faster, dropping to 75% frequency in a few minutes.
The drop seems to be too fast to be explained by temperature shift. We do not observe drift this severe on our other systems, even in ones using the same microcontroller.
Leaving the FLL enabled fixes the issue. However, some of our systems cannot leave the FLL enabled constantly and are very timing-critical, so we are looking for a way to diagnose the root cause of this issue, or a way to prevent it on the first place.
Thanks in advance!
