<?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>NRF52 Watchdog Reset When only reset source is soft reset?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18204/nrf52-watchdog-reset-when-only-reset-source-is-soft-reset</link><description>I&amp;#39;m working on a battery - operated device where the battery is soldered onto the device, which makes it inconvenient to pull power to the device. I might be able to get to the reset pin on the nRF52, but that&amp;#39;s unlikely. 
 Is there any way (documented</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 08 Dec 2016 11:35:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18204/nrf52-watchdog-reset-when-only-reset-source-is-soft-reset" /><item><title>RE: NRF52 Watchdog Reset When only reset source is soft reset?</title><link>https://devzone.nordicsemi.com/thread/70286?ContentTypeID=1</link><pubDate>Thu, 08 Dec 2016 11:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8284f37d-4930-4527-8cb7-40c3e65f9229</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Curtis,&lt;/p&gt;
&lt;p&gt;Thanks for your suggestions.&lt;/p&gt;
&lt;p&gt;If you are using that mode WDT-&amp;gt;CONFIG-&amp;gt;SLEEP set to 0, please be aware of PAN #88 &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52/dita/nrf52/errata.html?cp=2_2_1"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Watchdog Reset When only reset source is soft reset?</title><link>https://devzone.nordicsemi.com/thread/70285?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 13:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb716673-6aa3-44f3-8c98-78f2aa2595ea</guid><dc:creator>CurtisHx</dc:creator><description>&lt;p&gt;If you configured the WDT to not run while the CPU is asleep (WDT-&amp;gt;CONFIG-&amp;gt;SLEEP set to 0), then you can&amp;#39;t go to sleep while waiting for the WDT to expire because the WDT won&amp;#39;t run (which is how we have our WDT configured).&lt;/p&gt;
&lt;p&gt;There&amp;#39;s a couple of different options for future designs of the WDT:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Provide an unlock sequence to allow WDT reconfiguration without a reset.  Something like &amp;quot;you have to write 0x24 0x44 0x66 0xBE 0x81 in that exact order to the UNLOCK register to reconfigure the WDT&amp;quot;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;ol start="2"&gt;
&lt;li&gt;Reset the WTD as part of a soft reset.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Watchdog Reset When only reset source is soft reset?</title><link>https://devzone.nordicsemi.com/thread/70284?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 13:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3b9222e-bee6-4ee2-b965-da2da3962a1d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure why you need to keep the CPU awake ?&lt;/p&gt;
&lt;p&gt;But I agree it maybe not the cleanest way. I don&amp;#39;t think any other WDT implementation would allow you to bypass it and reset it without a full hardware reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Watchdog Reset When only reset source is soft reset?</title><link>https://devzone.nordicsemi.com/thread/70283?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 12:58:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6baa6c74-8124-4b17-833e-e795e9897ca0</guid><dc:creator>CurtisHx</dc:creator><description>&lt;p&gt;It looks like that&amp;#39;s pretty much my only option at this point.  It&amp;#39;s not a great option because we have to run the CPU while waiting for the WDT to expire (increased current consumption), plus it causes one of those &amp;quot;WFT?&amp;quot; moments in the code.  If I was looking for the spot in the code that triggers a system reset, I&amp;#39;d be initially looking for &amp;quot;NVIC_SystemReset()&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Watchdog Reset When only reset source is soft reset?</title><link>https://devzone.nordicsemi.com/thread/70282?ContentTypeID=1</link><pubDate>Wed, 07 Dec 2016 12:13:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a16aa5-8751-4e9b-8635-862f9cfd15ae</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Curtis: What about letting the WDT resets itself ? You can write something to the retention register to tell the chip the next time it wakes up that the reset was on purpose and can reconfigure the WDT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>