<?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>NRF51822 WDT Cycle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39486/nrf51822-wdt-cycle</link><description>#if (WDT_ENABLED == 1) 
 #define WDT_CONFIG_BEHAVIOUR NRF_WDT_BEHAVIOUR_RUN_SLEEP 
 #define WDT_CONFIG_RELOAD_VALUE (2000) 
 #define WDT_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_HIGH 
 #endif 
 In NRF51822 SDK11.0.0, What is the maximum value of WDT_CONFIG_RELOAD_VALUE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Oct 2018 10:51:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39486/nrf51822-wdt-cycle" /><item><title>RE: NRF51822 WDT Cycle</title><link>https://devzone.nordicsemi.com/thread/153030?ContentTypeID=1</link><pubDate>Tue, 16 Oct 2018 10:51:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f7c41d8-fc4c-414c-8ac0-103961b889ad</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The reload value is given by the CRV register, and from the product specification it is stated that the valid value is between 0x0000000F and 0xFFFFFFFF. You can see form the nrf_drv_wdt_init() implementation that the value written to the register is&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;(p_config-&amp;gt;reload_value * 32768) / 1000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and here reload_value is typically&amp;nbsp;&lt;span&gt;WDT_CONFIG_RELOAD_VALUE. Therefor the maximum value of&amp;nbsp;WDT_CONFIG_RELOAD_VALUE is&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;floor((0xFFFFFFFF*1000)/32768) = 131071999&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>