<?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>My code is hanging in sd_softdevice_enable()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40098/my-code-is-hanging-in-sd_softdevice_enable</link><description>Hi, 
 I designed my custom board with RF52832. I was able to detect my board using the debugger. 
 I am using the BLE mesh default &amp;quot;Light switch proxy server&amp;quot;. 
 I could get the debug message &amp;quot; main.c, 310, ----- BLE Mesh Light Switch Proxy Server Demo</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Nov 2018 07:40:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40098/my-code-is-hanging-in-sd_softdevice_enable" /><item><title>RE: My code is hanging in sd_softdevice_enable()</title><link>https://devzone.nordicsemi.com/thread/155861?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 07:40:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eff7ab81-7341-45db-b70a-d7729fe0d899</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Ashok,&lt;/p&gt;
&lt;p&gt;You are using the recommended settings for the RC oscillator so you should not encounter any problems related to the clock source and it&amp;#39;s not required to use a LF crystal for BLE devices.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My code is hanging in sd_softdevice_enable()</title><link>https://devzone.nordicsemi.com/thread/155814?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 18:11:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0bf9919-7819-4ca2-84a6-77b2d9675831</guid><dc:creator>AshokY</dc:creator><description>&lt;p&gt;Thanks for the support.&lt;/p&gt;
&lt;p&gt;Currently I am going ahead without external RTC crystal.&lt;/p&gt;
&lt;p&gt;Hence, I made changes in two places in my code.&lt;/p&gt;
&lt;p&gt;1)&amp;nbsp;#define NRF_SDH_CLOCK_LF_SRC 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC&lt;/p&gt;
&lt;p&gt;2)&amp;nbsp;#define NRF_SDH_CLOCK_LF_ACCURACY 1&amp;nbsp; &amp;nbsp;//&amp;nbsp;NRF_CLOCK_LF_ACCURACY_500_PPM&lt;/p&gt;
&lt;p&gt;3)&amp;nbsp;#define NRF_SDH_CLOCK_LF_RC_CTIV 16&lt;/p&gt;
&lt;p&gt;4)&amp;nbsp;#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2&lt;/p&gt;
&lt;p&gt;With these changes..my code is not stopping at the place I mentioned above, also working for my application.&amp;nbsp; Please correct me if any of my changes are wrong. Thanks for the support.&lt;/p&gt;
&lt;p&gt;BTW, by not using the external RTC crystal, will there be any issues can any one anticipate in future?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ashok&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My code is hanging in sd_softdevice_enable()</title><link>https://devzone.nordicsemi.com/thread/155740?ContentTypeID=1</link><pubDate>Fri, 02 Nov 2018 11:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a2d9ab1-b64b-45eb-912f-1d2207ac4205</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Agree, this code is waiting for the external LFXO to start. See &lt;a class="el" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.1.0/structnrf__clock__lf__cfg__t.html"&gt;nrf_clock_lf_cfg_t&lt;/a&gt; for recommended LFRC configuration. Note that .accuracy must be set to 500 ppm when using the RC oscillator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: My code is hanging in sd_softdevice_enable()</title><link>https://devzone.nordicsemi.com/thread/155640?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 17:56:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59e2cbf5-7819-4e94-927c-14f50fcb8447</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Normally this is caused by not including the external RTC crystal in the new design.&amp;nbsp; All DKs have an external RTC crystal and the SD parameters in the examples are structured for it.&amp;nbsp; If this is true that your new board was designed to use internal RC RTC then change the SD parameters to RTC_RC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>