<?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 enters WFE deadlock depending on power source!? Maybe a softdevice power management issue?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34803/nrf52-enters-wfe-deadlock-depending-on-power-source-maybe-a-softdevice-power-management-issue</link><description>I am programming a BL652 module (contains an nRF52832 with populated DC/DC inductors). I am programming it through the nRF52 DK in SEGGER studio. 
 When I run the blank (no softdevice) peripheral/gpiote example, everything works fine, independently of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 May 2018 20:29:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34803/nrf52-enters-wfe-deadlock-depending-on-power-source-maybe-a-softdevice-power-management-issue" /><item><title>RE: NRF52 enters WFE deadlock depending on power source!? Maybe a softdevice power management issue?</title><link>https://devzone.nordicsemi.com/thread/133711?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 20:29:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1052b835-8748-41d2-8688-2a6e55b7fa8b</guid><dc:creator>Krastanov</dc:creator><description>&lt;p&gt;Hello, Bjorn,&lt;/p&gt;
&lt;p&gt;This was indeed the source of the issue. I was using the defaults for the Nordic dev board config, not anything modified for the BL652.&lt;/p&gt;
&lt;p&gt;Originally it was&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
#define NRF_SDH_CLOCK_LF_SRC 1&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The only change I made after your suggestion was&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
#define NRF_SDH_CLOCK_LF_SRC 0

#define NRF_SDH_CLOCK_LF_RC_CTIV 16&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This still does not really explain why it was working fine with a certain power source and not working with all the other power sources, but it does not really matter - I should not have expected it to work at all.&lt;/p&gt;
&lt;p&gt;Thanks for the help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 enters WFE deadlock depending on power source!? Maybe a softdevice power management issue?</title><link>https://devzone.nordicsemi.com/thread/133680?ContentTypeID=1</link><pubDate>Mon, 28 May 2018 14:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da7a619d-9587-4d75-b843-f0a0862c6a60</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Krastanov,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;when the application code is hanging at&amp;nbsp;sd_softdevice_enable(), then its usually due to the wrong LF clock source being configured. It appears that the&amp;nbsp;BL652 does not have a 32kHz crystal so I could&amp;nbsp;be that&amp;nbsp;the SoftDevice is waiting for the LF clock to start up. Could you post the clock_lf_cfg configuration you&amp;#39;re using?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>