<?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>51422 Watchdog timer - reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/737/51422-watchdog-timer---reset</link><description>What&amp;#39;s the trick to using the WDT without causing a system reset???
We want to use the WDT for a pause mechanism - then continue from the pause at the same Main location?
tks!</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Oct 2013 10:30:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/737/51422-watchdog-timer---reset" /><item><title>RE: 51422 Watchdog timer - reset</title><link>https://devzone.nordicsemi.com/thread/3734?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2013 10:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd1c440c-f515-4a87-b3ab-a5bd66a699e4</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Correct. Also, if you get a timeout event, there will always be a reset. What you want is therefore not possible. Take a look at section 19.1.3 in the nRF51 Reference Manual for details on how this works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 51422 Watchdog timer - reset</title><link>https://devzone.nordicsemi.com/thread/3733?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2013 14:01:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:416eb4ab-1fb1-4289-b5f0-96059669f319</guid><dc:creator>John Kelley</dc:creator><description>&lt;p&gt;&amp;#39;m not sure what you&amp;#39;re trying to use the WDT for. WDT is typically used to effect a CPU reset in case your code freezes or deadlocks.&lt;/p&gt;
&lt;p&gt;Typical usage is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;set CONFIG to (WDT_CONFIG_SLEEP_Pause &amp;lt;&amp;lt; WDT_CONFIG_SLEEP_Pos) (see nrf51_bitfields.h for more options)&lt;/li&gt;
&lt;li&gt;set the CRV register to 32768 * number of seconds to wait before CPU reset&lt;/li&gt;
&lt;li&gt;set RREN to WDT_RREN_RR0_Msk&lt;/li&gt;
&lt;li&gt;set TASKS_START to 1&lt;/li&gt;
&lt;li&gt;set RR[0] to WDT_RR_RR_Reload on every loop of your main loop (and also any long running subroutine) to prevent WDT from triggering&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>