<?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>Nrf52810 Watchdog timer resets every 2 seconds</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56688/nrf52810-watchdog-timer-resets-every-2-seconds</link><description>Hello, 
 I have enabled WDT for nrf52810,S112 with following configuration. 
 static void System_task_initWatchdog(void) { 
 NRF_WDT-&amp;gt;CONFIG = (WDT_CONFIG_HALT_Pause &amp;lt;&amp;lt; WDT_CONFIG_HALT_Pos) | ( WDT_CONFIG_SLEEP_Run &amp;lt;&amp;lt; WDT_CONFIG_SLEEP_Pos); NRF_WDT-&amp;gt;CRV</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 18 Jan 2020 05:10:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56688/nrf52810-watchdog-timer-resets-every-2-seconds" /><item><title>RE: Nrf52810 Watchdog timer resets every 2 seconds</title><link>https://devzone.nordicsemi.com/thread/229718?ContentTypeID=1</link><pubDate>Sat, 18 Jan 2020 05:10:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef31826f-1aa7-4dfa-9f7b-965f69674d37</guid><dc:creator>Dilip.n</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have same issue even when i used the above code, is there any other enable condition for RR reloading or in general to enable WDT?.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Nrf52810 Watchdog timer resets every 2 seconds</title><link>https://devzone.nordicsemi.com/thread/229662?ContentTypeID=1</link><pubDate>Fri, 17 Jan 2020 14:47:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cae0ff54-7cb2-4f09-bc86-e4f6f1476771</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The reason for the reset is that RR0 is enabled by default, as you can see from the reset value of &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/wdt.html?cp=4_2_0_39#concept_ywz_4xw_sr"&gt;RREN register&lt;/a&gt;. So if you only want one channel, you can configure the WDT like this instead:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;static void System_task_initWatchdog(void)
{
    NRF_WDT-&amp;gt;CONFIG = (WDT_CONFIG_HALT_Pause &amp;lt;&amp;lt; WDT_CONFIG_HALT_Pos) | ( WDT_CONFIG_SLEEP_Run &amp;lt;&amp;lt; WDT_CONFIG_SLEEP_Pos);
    NRF_WDT-&amp;gt;CRV = 2*32768; // 2 sec. timout
    NRF_WDT-&amp;gt;TASKS_START = 1;
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And then feed the watchdog like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_WDT-&amp;gt;RR[0] = WDT_RR_RR_Reload; //Reload watchdog register 0.&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>