<?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>Watchdog reconfiguration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54646/watchdog-reconfiguration</link><description>The &amp;quot; 5.3.6.8 Reset behavior &amp;quot; table in nRF52840 Product Specification v1.1 mentions that WDT reset does reset the WDT itself. 
 I&amp;#39;m trying to reconfigure the WDT after a WDT reset but it seems the reload_value is not updated. 
 
 
 Watchdog :: Watchdog</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Nov 2019 13:51:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54646/watchdog-reconfiguration" /><item><title>RE: Watchdog reconfiguration</title><link>https://devzone.nordicsemi.com/thread/221343?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 13:51:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aa88aef-43f3-4407-ae19-877cae69520e</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;What SDK version are you using? There was a bug in SDKs before SDK v.16.0.0 where reload values above 131 seconds will not work due to a calculation overflowing internally in the driver during multiplication.&lt;/p&gt;
&lt;p&gt;The fix is to replace this line with the following three:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;-    nrf_wdt_reload_value_set((p_config-&amp;gt;reload_value * 32768) / 1000);

+    uint64_t ticks = (p_config-&amp;gt;reload_value * 32768ULL) / 1000;
+    NRFX_ASSERT(ticks &amp;lt;= UINT32_MAX);

+    nrf_wdt_reload_value_set((uint32_t) ticks);&lt;/pre&gt;&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: Watchdog reconfiguration</title><link>https://devzone.nordicsemi.com/thread/221136?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2019 15:33:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94ac96b4-5115-4ef4-95e8-4b0dc38fe7f7</guid><dc:creator>Moufti</dc:creator><description>&lt;p&gt;Seems the max value that can be set is around 130 seconds (the timer overflows beyond that)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>