<?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>WDT halts RTC after NVIC_SystemReset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14321/wdt-halts-rtc-after-nvic_systemreset</link><description>Hei! 
 I recently added WDT to my existing project. After that the normal behavior/sequence of code is not as it is supposed to. Strangely it works okay every other run now. 
 The sequence/structure is simple: 
 
 Initialize RTC module (also starts</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jun 2016 15:32:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14321/wdt-halts-rtc-after-nvic_systemreset" /><item><title>RE: WDT halts RTC after NVIC_SystemReset</title><link>https://devzone.nordicsemi.com/thread/54658?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2016 15:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31c684cb-df73-4869-906f-613ca208d479</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;hard to say without having a look at the code, but maybe the LFCLK was not started correctly. The watchdog timer will force the LFCLK RC on if it is no 32KHz source is running (described &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.0/wdt.html?cp=2_2_0_38#concept_ywz_4xw_sr"&gt;here&lt;/a&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT halts RTC after NVIC_SystemReset</title><link>https://devzone.nordicsemi.com/thread/54657?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2016 14:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d5368cb-cde3-48bb-b750-527dba754944</guid><dc:creator>Sven</dc:creator><description>&lt;p&gt;Okay understood, but why does not the RTC counter start to increment? Atleast I should get error when initializing it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: WDT halts RTC after NVIC_SystemReset</title><link>https://devzone.nordicsemi.com/thread/54656?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2016 14:19:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6106ee0a-bab1-4624-ba78-724a6ca1fff4</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The WDT registers are retained when doing a soft reset (NVIC_SystemReset), see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.0/power.html?cp=2_2_0_16_6#unique_1090177824"&gt;here&lt;/a&gt; (and the equivalent chapter in nRF51 reference manual if you are using nRF51), and a watchdog reset will retain other registers, which is probably why you see that every other time it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>