<?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>Configuring BLE/Soft Device on Adafruit Feather nRF52840 Sense</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65592/configuring-ble-soft-device-on-adafruit-feather-nrf52840-sense</link><description>I&amp;#39;m trying to get the ble_app_blinky example from the NRF5 Thread SDK working on the Adafruit Feather nRF52840 Sense using the S140 soft device v. 7.0.1 I&amp;#39;m compiling the example successfully on an Ubuntu computer and flashing it to the board successfully</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 07 Sep 2020 11:39:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65592/configuring-ble-soft-device-on-adafruit-feather-nrf52840-sense" /><item><title>RE: Configuring BLE/Soft Device on Adafruit Feather nRF52840 Sense</title><link>https://devzone.nordicsemi.com/thread/268272?ContentTypeID=1</link><pubDate>Mon, 07 Sep 2020 11:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63ba0dfa-869a-4174-80a2-e7593dacb83e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I suspect that the Adafruit Feather doesn&amp;#39;t have an external LFXTAL. This is the most common pitfall when users tries to use &amp;quot;custom&amp;quot; PCBs.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Open sdk_config.h in your project and look for the following definitions, and set them accordingly:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_SDH_CLOCK_LF_SRC 0
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#define NRF_SDH_CLOCK_LF_ACCURACY 1&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I believe that this should solve your issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Some background:&lt;/p&gt;
&lt;p&gt;The nRF has two options for the LFCLK. Either it can use an external LFXTAL, or the internal RC Oscillator. The nRF52840 DK has an external LFXTAL, so it is used by default in most examples. If the custom PCB doesn&amp;#39;t have this external LFXTAL, and the project sets the LFCLK source to an external XTAL, the softdevice will try to start this XTAL, and wait for it to respond. If it doesn&amp;#39;t respond, the softdevice will just stop in this wait state, which is probably what you are seeing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regarding the specific numbers that you should set in the sdk_config.h (pasted above), please see the description of the struct nrf_clock_lf_cfg_t in nrf_sdm.h.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring BLE/Soft Device on Adafruit Feather nRF52840 Sense</title><link>https://devzone.nordicsemi.com/thread/268126?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 19:04:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cb7ab3c-ac32-4d01-bdbe-0b7ad307bf41</guid><dc:creator>Gordon Wallace</dc:creator><description>&lt;p&gt;Thanks for your reply - I did flash the SoftDevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuring BLE/Soft Device on Adafruit Feather nRF52840 Sense</title><link>https://devzone.nordicsemi.com/thread/268119?ContentTypeID=1</link><pubDate>Fri, 04 Sep 2020 17:31:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:126e5655-3788-41b9-972c-65d965475a15</guid><dc:creator>Patrick</dc:creator><description>&lt;p&gt;Did you flash the SoftDevice in addition to the firmware?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>