<?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>RTC0 as a real time clock on nRF9151?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124877/rtc0-as-a-real-time-clock-on-nrf9151</link><description>Hello, is it possible to somehow use RTC0 peripheral onboard an nRF9151DK to store real time so it will be available (sustained) even after resetting the device? As far as I know there is no battery onboard? Are there any other tricks to achive that?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Oct 2025 11:09:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124877/rtc0-as-a-real-time-clock-on-nrf9151" /><item><title>RE: RTC0 as a real time clock on nRF9151?</title><link>https://devzone.nordicsemi.com/thread/551105?ContentTypeID=1</link><pubDate>Fri, 10 Oct 2025 11:09:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c460d6a-dca5-479f-8ab8-07acf9f2804d</guid><dc:creator>Mich@l</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;for the response! Everything&amp;rsquo;s clear now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTC0 as a real time clock on nRF9151?</title><link>https://devzone.nordicsemi.com/thread/550991?ContentTypeID=1</link><pubDate>Thu, 09 Oct 2025 10:15:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba9a9c6c-0759-4ed0-9236-ff9a330211b4</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please note that the RTC peripheral on the nRF9151 is a Real Time &lt;em&gt;Counter&lt;/em&gt;, not a Real Time &lt;em&gt;Clock&lt;/em&gt;. The counter is reset on reset, similar to other timer peripherals. There are in other words no tricks to keep the counter counting through a reset. In order to keep track of time, you would therefore either need to keep the device on, use an external real time clock, or poll the current time over a network connection or other source.&lt;/p&gt;
&lt;p&gt;Depending on the type of reset, and depending on how accurate time tracking you need, it could be possible to keep the last known time in retained RAM, or written to Flash, to keep track of time through certain types of reset (but with some uncertainty depending on how frequently the time is stored and/or how long the device is not operating during the reset.) See &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9151/page/pmureset.html#ariaid-title9"&gt;reset behavior&lt;/a&gt; for what is retained and reset on various reset sources. Please note that the Flash on the nRF9151 &lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9151/page/nvmc.html#ariaid-title22"&gt;is rated for 10 000 write/erase cycles&lt;/a&gt;, which means if storing time to flash you should do so in a manner which does not wear out Flash before the expected life time of your device.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>