<?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>Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124294/watcgdog-timer-resets-my-grtc</link><description>I am using the nrf54l15-dk. I had a look at the datasheet and it shows that a watchdog reset does not reset the GRTC. On my code, I tested that and I see that GRTC resets when WDT resets. Is there any option to avoid this? Something which I may need to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Sep 2025 07:19:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124294/watcgdog-timer-resets-my-grtc" /><item><title>RE: Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/thread/549761?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 07:19:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fee439b-ffc4-4a5b-ae37-6a44ad8e9a4b</guid><dc:creator>bzhou</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;&amp;nbsp;Here is the new link regarding the GRTC reset issue:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/124602/grtc-resets-after-sys_reboot-when-using-mcuboot-ncs-v3-1-0"&gt;GRTC resets after sys_reboot() when using MCUboot (NCS v3.1.0) - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/thread/549756?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 06:57:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9ae4d54-6378-4811-b7e0-f751c746fa15</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;I failed brutally to word myself there. I&amp;#39;ve edited my reply to reflect what I meant. The datasheet is&amp;nbsp;&lt;strong&gt;incorrect&lt;/strong&gt; and we will work on fixing this in the future. The WDT&amp;nbsp;&lt;strong&gt;will&lt;/strong&gt; reset the GRTC.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/bzhou"&gt;bzhou&lt;/a&gt;&amp;nbsp;can you create a separate DevZone ticket for these questions and link to this ticket if necessary?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/thread/549752?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 06:36:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3693189c-53dc-4bdb-8ece-46c92b495704</guid><dc:creator>Jayant Tang</dc:creator><description>&lt;p&gt;Hello Simonr,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m a little confused about what you said:&lt;/p&gt;
[quote userid="75734" url="~/f/nordic-q-a/124294/watcgdog-timer-resets-my-grtc/549115"]The table in the datasheet is what is correct,[/quote]
&lt;p&gt;and&lt;/p&gt;
[quote userid="75734" url="~/f/nordic-q-a/124294/watcgdog-timer-resets-my-grtc/549115"]the WDT is indeed supposed to reset the GRTC[/quote]
&lt;p&gt;Because if the datasheet is correct, the WDT will not reset the GRTC.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1758782185597v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jayant&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/thread/549748?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 05:58:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e34bf326-0a1f-4232-b6de-849e252194ec</guid><dc:creator>bzhou</dc:creator><description>&lt;p&gt;Hello Simonr,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We&amp;#39;re using GRTC on the nRF54L15 to implement RTC calendar functionality. During development, we observed that when using &lt;strong&gt;sysbuild with MCUboot&lt;/strong&gt;, calling &lt;code&gt;sys_reboot(SYS_REBOOT_COLD)&lt;/code&gt; or &lt;code&gt;sys_reboot(SYS_REBOOT_WARM)&lt;/code&gt; causes &lt;code&gt;grtc.SYSCOUNT&lt;/code&gt; to reset. However, if MCUboot is not used, &lt;code&gt;SYSCOUNT&lt;/code&gt; remains unchanged across reboots.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This behavior breaks our calendar logic, which relies on GRTC continuity. We&amp;#39;re using &lt;strong&gt;NCS version v3.1.0&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We suspect MCUboot or its initialization flow is affecting GRTC, possibly via driver reinitialization or a configuration like &lt;code&gt;CONFIG_NRF_GRTC_CLEAR_AT_INIT&lt;/code&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;Questions:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;What part of MCUboot or sysbuild causes GRTC.SYSCOUNT to reset?&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Is there a recommended way to preserve GRTC across reboots when using MCUboot?&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span&gt;Can we disable GRTC clearing during boot, or use retention RAM to store offsets?&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Thanks in advance!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/thread/549115?ContentTypeID=1</link><pubDate>Thu, 18 Sep 2025 07:21:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba9a1475-9acf-484a-9192-46f72c0a9b3c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Nikollao&lt;/p&gt;
&lt;p&gt;I had a chat with a developer today, and the mystery is solved. The table in the datasheet is &lt;span style="text-decoration:line-through;"&gt;what is&lt;/span&gt; &lt;strong&gt;not&amp;nbsp;&lt;/strong&gt;correct, as the WDT is indeed supposed to reset the GRTC, so what you&amp;#39;re seeing is the intended behavior. We will update the datasheet to reflect this as soon as we can. Thank you for your report!&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/thread/548914?ContentTypeID=1</link><pubDate>Tue, 16 Sep 2025 14:33:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df1b47f4-048a-489b-922c-9c44d5b99e9f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry about the late reply, but I am still looking into this issue, and will need some more time before I have a proper answer for you. Thank you so much for your patience. I&amp;#39;ll get back to you with an update by Friday at the latest.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/thread/548722?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2025 10:38:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b9e9461-9f15-4ba1-9b97-ef75121dd9e3</guid><dc:creator>Nikollao</dc:creator><description>&lt;p&gt;Any updates on this ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/thread/548504?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 13:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:454044df-816a-4e4f-8c0a-2e84b8205524</guid><dc:creator>Nikollao</dc:creator><description>&lt;p&gt;Hi, so I am pretty sure I don&amp;#39;t do anything to reset the grtc, i simply let the watchdog reset and grtc is reset. the default watchdog reset is reset_soc, if I try to use reset_cpu_core which is a software reset, watchdog does not get initialised. I think the watchdog reset itself causes the grtc reset. can you please have a proper look into this&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Watcgdog timer resets my GRTC</title><link>https://devzone.nordicsemi.com/thread/548503?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 13:18:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:906f21f7-7b13-4940-a9e4-e951179b1ee4</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;So, the WDT reset doesn&amp;#39;t reset the GRTC in and of itself, but something tied to the watchdog reset must be resetting the GRTC or SYS counter in your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>