<?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>nRF52840 BLE doesn&amp;#39;t work but no errors</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63250/nrf52840-ble-doesn-t-work-but-no-errors</link><description>Hello, 
 
 Problem: BLE doesn&amp;#39;t work on a OurBoard with nRF52840 (Schema1). 
 1) BLE example is working DevBoard (can see BLE server by scanner). On the OurBoard the examle is running without any errors, but BLE server is not visible by scanners. 
 Example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jul 2020 08:48:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63250/nrf52840-ble-doesn-t-work-but-no-errors" /><item><title>RE: nRF52840 BLE doesn't work but no errors</title><link>https://devzone.nordicsemi.com/thread/258544?ContentTypeID=1</link><pubDate>Mon, 06 Jul 2020 08:48:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b523b034-02a7-4846-9f5e-d1ae36966ba0</guid><dc:creator>dmitry.kurochkin</dc:creator><description>&lt;p&gt;We found the issue in 32 MHz crystal circuit.&amp;nbsp;Now BLE is working.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE doesn't work but no errors</title><link>https://devzone.nordicsemi.com/thread/258394?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 16:49:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4210b00f-6c73-404e-8277-8ef21a736a8b</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Maybe the 32kHz crystal has an issue, so worth trying not using the 32kHz crystal to test that possibility. Add something like this at the start of sdk_config.h:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// add &amp;quot;_NO_32_KHZ_CRYSTAL&amp;quot; to project preprocessor (or just comment out)
//#if defined(_NO_32_KHZ_CRYSTAL)
#define NRFX_CLOCK_CONFIG_LF_SRC         0
#define CLOCK_CONFIG_LF_SRC              0
#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 // &amp;lt;1=&amp;gt; NRF_CLOCK_LF_ACCURACY_500_PPM
//#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In bsp_init use this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;   APP_ERROR_CHECK(nrf_drv_clock_init());
   nrf_drv_clock_lfclk_request(NULL);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This works on my boards which don&amp;#39;t have reliable 32kHz crystals&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE doesn't work but no errors</title><link>https://devzone.nordicsemi.com/thread/258393?ContentTypeID=1</link><pubDate>Fri, 03 Jul 2020 16:27:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:403dc349-1924-49b8-85d4-d10e1f00b4c6</guid><dc:creator>dmitry.kurochkin</dc:creator><description>&lt;p&gt;Thanks for the reply&lt;/p&gt;
&lt;p&gt;We changed the load caps that you suggest on 15 pF, but this does not work too.&lt;/p&gt;
&lt;p&gt;The same antenna and&amp;nbsp;circuit of&amp;nbsp;&lt;span&gt;clock&lt;/span&gt;&amp;nbsp;works in our other project with nRF52832.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 BLE doesn't work but no errors</title><link>https://devzone.nordicsemi.com/thread/257894?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2020 14:27:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:014bf33c-fc0b-4287-9989-9d2d5255f33c</guid><dc:creator>ketiljo</dc:creator><description>&lt;p&gt;What&amp;#39;s the CL value of the 32 MHz and the 32 kHz crystals you are using? You can calculate the values of the load caps:&lt;/p&gt;
&lt;p&gt;Ccap = CL * 2 - Cpin, where Cpin = 4 pF. Round down to the nearest standard value. 12 pF load caps are good only for crystals with a CL value of 8 pF&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>