Hello,
My name is Jeon. I am using the RTC function on a custom board that utilizes the same chipset as the nRF9151. I have configured the RTC to trigger an alarm every 20 minutes in order to send MQTT messages to my database. Under normal conditions, the system functions reliably.
However, after approximately 12 RTC alarms, a time drift of about 3 minutes occurs, as shown in the image below. Following this drift, the interval returns to the expected 20 minutes. I have searched through various discussions on this platform, and some users have reported that similar issues may occur when using multiple threads.
I also attached my code below. If you know how to fix or need more information, just let me know.

