<?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>The simplest way to maintain an RTC counter</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82807/the-simplest-way-to-maintain-an-rtc-counter</link><description>Right now I use the app_timer_cnt_get() method to get a current tick count. It appears to return a counter that increases with 32768 counts per second. However, it overflows after 512 seconds. I need this counter to monotonically increase as long as there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Jan 2022 11:04:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82807/the-simplest-way-to-maintain-an-rtc-counter" /><item><title>RE: The simplest way to maintain an RTC counter</title><link>https://devzone.nordicsemi.com/thread/346898?ContentTypeID=1</link><pubDate>Mon, 10 Jan 2022 11:04:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4575f4f5-90d9-423c-8f12-723af88f461e</guid><dc:creator>Otso Jousimaa</dc:creator><description>&lt;p&gt;I have not found a ready library for it in SDKs up to 15.3, personally I trigger the long long increment on RTC overflow interrupt:&amp;nbsp;&lt;a href="https://github.com/ruuvi/ruuvi.drivers.c/blob/2496e5ea04f96d5d78b55ae66919053151a24936/src/nrf5_sdk15_platform/rtc/ruuvi_nrf5_sdk15_rtc_mcu.c#L77"&gt;github.com/.../ruuvi_nrf5_sdk15_rtc_mcu.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>