<?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>SOFTDEVICE DISABLE ISSUE WHILE WDT IS RUNNING</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113713/softdevice-disable-issue-while-wdt-is-running</link><description>Hello, 
 I need to write to the UICR flash multiple times. Typically, this involves disabling the softdevice, writing to the UICR, and then re-enabling the softdevice. However, when the software WDT is enabled, this process becomes problematic. The enabled</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Oct 2024 08:54:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113713/softdevice-disable-issue-while-wdt-is-running" /><item><title>RE: SOFTDEVICE DISABLE ISSUE WHILE WDT IS RUNNING</title><link>https://devzone.nordicsemi.com/thread/506662?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2024 08:54:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1dc2e45-565d-4c55-a4bd-84a62e9f75d0</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;I think the best approach here is to save some config somewhere that you want to write to UICR on next reset. Reset the chip, write to UICR early in main before you enable the SoftDevice, reset the chip again(for the new UICR to take effect), and then enable the SoftDevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE DISABLE ISSUE WHILE WDT IS RUNNING</title><link>https://devzone.nordicsemi.com/thread/497809?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 12:14:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:971b62d3-0995-4be6-abd8-12ba1a964664</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p&gt;What is purpose of calling&amp;nbsp;&lt;span&gt;nrf_drv_clock_lfclk_release(); in NRF_SDH_EVT_STATE_DISABLED event??&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE DISABLE ISSUE WHILE WDT IS RUNNING</title><link>https://devzone.nordicsemi.com/thread/497807?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 12:12:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cab1cb6-b1b0-46d2-9d65-1aaf04a25c0d</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p&gt;I am using&amp;nbsp;nrf_sdh_disable_request(); and then&amp;nbsp;sd_softdevice_disable(); functions to disable the soft device, which calls nrf_drv_clock_lfclk_release(); in event: NRF_SDH_EVT_STATE_DISABLED of soft device enable/disable state handler.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;By commenting&amp;nbsp;&lt;span&gt;nrf_drv_clock_lfclk_release(); in&amp;nbsp;NRF_SDH_EVT_STATE_DISABLED&amp;nbsp;event there was no issue while disabling the soft device. is it ok to comment&amp;nbsp;nrf_drv_clock_lfclk_release(); for my application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;There will be any impact on other functionalities due to commenting&amp;nbsp;nrf_drv_clock_lfclk_release();&amp;nbsp; ??????&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE DISABLE ISSUE WHILE WDT IS RUNNING</title><link>https://devzone.nordicsemi.com/thread/497790?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 11:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:569399eb-5250-4ab6-a8a8-f74f5c36befe</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Embel_Tech"] because while disabling softdevice there is internal function call for lfclk_stop()[/quote]
&lt;p&gt;What function are you using to disable the softdevice, that is calling&amp;nbsp;&lt;span&gt;lfclk_stop() ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE DISABLE ISSUE WHILE WDT IS RUNNING</title><link>https://devzone.nordicsemi.com/thread/497688?ContentTypeID=1</link><pubDate>Sat, 10 Aug 2024 05:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e1d8347-e729-478e-a227-1b73f9918ff3</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; We are using SDK 15.0.0. WDT preventing the softdevice disabled, because while disabling softdevice there is internal function call for lfclk_stop(), but due to WDT enable, lfclk() forcefully started and hence softdevice is not disabling. so, we can&amp;#39;t be able to write to UICR.&lt;br /&gt;&amp;nbsp; &amp;nbsp; How to disable the softdevice when WDT is enabled??? waiting for your reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SOFTDEVICE DISABLE ISSUE WHILE WDT IS RUNNING</title><link>https://devzone.nordicsemi.com/thread/497331?ContentTypeID=1</link><pubDate>Wed, 07 Aug 2024 12:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:690a4a74-830a-4b8f-bc68-989ad74ff7ef</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]Is there a way to disable the WDT functionality temporarily and re-enable it after writing to the UICR?[/quote]
&lt;p&gt;No.&lt;/p&gt;
[quote user=""]thus preventing the softdevice from being disabled.[/quote]
&lt;p&gt;How did you confirm this?&lt;/p&gt;
&lt;p&gt;PS: There is a known issue with WDT + RTC + software reset in nRF5-SDK v17, file nrf_drv_clock.c , see this page:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63998/freertos-wdt-sdk17-problem/263131"&gt;RE: FreeRTOS+WDT+SDK17 problem&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>