<?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>Disabling the clock hangs when using LFCLK with an active watchdog</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58069/disabling-the-clock-hangs-when-using-lfclk-with-an-active-watchdog</link><description>Using LFCLK, enabling and running the WDT causes the nRF52840 to hang until the watchdog reset when calling nrf_drv_clock_lfclk_release . This is with SDK v15.2.0 Steps to recreate 1) start the lfclk by 2) stop the clock 3) init the BLE Device as mentioned</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 20 Feb 2020 12:24:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58069/disabling-the-clock-hangs-when-using-lfclk-with-an-active-watchdog" /><item><title>RE: Disabling the clock hangs when using LFCLK with an active watchdog</title><link>https://devzone.nordicsemi.com/thread/235443?ContentTypeID=1</link><pubDate>Thu, 20 Feb 2020 12:24:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e0a7c0b-84fc-4a4a-a8df-8a8399ed1efa</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The reason the program gets stuck in this while loop is that it&amp;#39;s not possible the release the LF clock while the WD timer is running.&amp;nbsp; Excerpt from the PS:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/wdt.html"&gt;When started, the watchdog will automatically force the 32.768 kHz RC oscillator on as long as no other 32.768 kHz clock source is running and generating the 32.768 kHz system clock, see chapter CLOCK — Clock control. &lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;But is it necessary to disable the LF clock source in your case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>