<?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>LF SoftDevice Configuration on nRF52840 Custom Board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63502/lf-softdevice-configuration-on-nrf52840-custom-board</link><description>Hi all, 
 I&amp;#39;ve been trying to get BLE up and running on our custom board after writing firmware on the DK. I am able to get other peripherals on our board up and running (i.e. UART, I2C, LEDs) so the nRF appears to be programming and running well. However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Jul 2020 13:47:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63502/lf-softdevice-configuration-on-nrf52840-custom-board" /><item><title>RE: LF SoftDevice Configuration on nRF52840 Custom Board</title><link>https://devzone.nordicsemi.com/thread/259217?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 13:47:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6e0fad9-6a15-40cc-b4b1-c3d2293d6880</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The config file is correct. There shouldn&amp;#39;t be a need for starting the LF clock manually as the Softdevice should do it auto if you use it. Does it work now?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LF SoftDevice Configuration on nRF52840 Custom Board</title><link>https://devzone.nordicsemi.com/thread/258895?ContentTypeID=1</link><pubDate>Wed, 08 Jul 2020 04:36:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef11d9bb-f633-45e3-b16d-34a2bdd4af7e</guid><dc:creator>mstanisz</dc:creator><description>&lt;p&gt;Alright so I dug through more posts until I found one referencing clock_initialization().&amp;nbsp; &amp;nbsp;I found one of the radio examples and added this code to my project and called it in main():&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**@brief Function for initialization oscillators.
 */
void clock_initialization()
{
    /* Start 16 MHz crystal oscillator */
    NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART    = 1;

    /* Wait for the external oscillator to start up */
    while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0)
    {
        // Do nothing.
    }

    /* Start low frequency crystal oscillator for app_timer(used by bsp)*/
    NRF_CLOCK-&amp;gt;LFCLKSRC            = (CLOCK_LFCLKSRC_SRC_RC &amp;lt;&amp;lt; CLOCK_LFCLKSRC_SRC_Pos);
    NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED = 0;
    NRF_CLOCK-&amp;gt;TASKS_LFCLKSTART    = 1;

    while (NRF_CLOCK-&amp;gt;EVENTS_LFCLKSTARTED == 0)
    {
        // Do nothing.
    }
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Now it works!&amp;nbsp; I tried removing the code block and it seems to still work, so I&amp;#39;m a bit confused what I triggered.&amp;nbsp; Should I need this code snippet?&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>