<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>RTC system time inaccuracy</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17022/rtc-system-time-inaccuracy</link><description>I have a 1 second app_timer running which increments a 1 second variable used as unix time. We have a 32Khz Xtal, etc, which should result in good accuracy. 
 I have noticed drift of several seconds per day over several devices just sitting on a shelf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Oct 2016 00:04:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17022/rtc-system-time-inaccuracy" /><item><title>RE: RTC system time inaccuracy</title><link>https://devzone.nordicsemi.com/thread/65305?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2016 00:04:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:182317b9-9def-4162-a297-7ea95d98db4e</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Before overcomplicating the code you should understand why it is the timer isn&amp;#39;t accurate. Are you getting too long intervals between ticks (or too short) or are you missing ticks now and again? Do you have the timer set up to be a repeating timer, or are you rescheduling the next 100ms after the expiration of the previous one?&lt;/p&gt;
&lt;p&gt;Nor do you need to use app_timer at all if you just want something as simple as a clock. You don&amp;#39;t say whether you&amp;#39;re using nRF51 or nRF52, the latter has an extra RTC you could use with a large prescalar to count slowly, then all you have to do is deal with overflow and you have an accurate clock.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>