<?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>LFCLK Failsafe</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17570/lfclk-failsafe</link><description>Briefly: 
 
 
 Is it possible to switch LFCLKSRC to the internal RC from Xtal with WDT or RTC running? It appears I am only able to do this when Xtal is generating LFCLK correctly. 
 
 
 Is it possible to successfully disable softdevice (S110 in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Nov 2016 12:53:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17570/lfclk-failsafe" /><item><title>RE: LFCLK Failsafe</title><link>https://devzone.nordicsemi.com/thread/67544?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2016 12:53:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aba08e61-2b15-4017-9e7b-15d202b3826e</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you try to change the clock source while the SoftDevice is enabled you will get a hardfault, so that is not an option. So softdevice_handler_sd_disable() doesn&amp;#39;t return, and I&amp;#39;m assuming that sd_softdevice_disable() doesn&amp;#39;t either?&lt;/p&gt;
&lt;p&gt;You could access NVM directly, the SoftDevice doesn&amp;#39;t stop you from doing this, but I recommend doing some testing. I&amp;#39;m not sure what will happen if the crystal disconnected and connected again.&lt;/p&gt;
&lt;p&gt;Another solution may be to have the unlogged data in a section of RAM that is retain through a reset, then when you detect crystal disconnection you can set a bool and reset. On boot you check the bool if there is data that should be written to flash. Then you can even enable the SoftDevice again with the LF RC as source. I haven&amp;#39;t tested this, it is just an idea.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK Failsafe</title><link>https://devzone.nordicsemi.com/thread/67545?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2016 23:39:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:244d2cf7-e0cf-4325-a475-f879242ee984</guid><dc:creator>cole</dc:creator><description>&lt;p&gt;Hi Petter,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using SDK version 10.0.0 and Softdevice S110 v8.0.0&lt;/p&gt;
&lt;p&gt;Thanks,
Cole&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LFCLK Failsafe</title><link>https://devzone.nordicsemi.com/thread/67543?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2016 10:06:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:166a4e84-c1d8-46bf-884a-b9fb14bc2590</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure if it is possible, but I will look into it. What SoftDevice and SDK version are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>