<?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>Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/33416/example-of-using-internal-oscillator-with-ble</link><description>Can someone please post a simple example of using the internal oscillator with BLE? Modifying the ble_app_blinky example to use the RC would be ideal. No matter what I do I can&amp;#39;t get it to work (depending on what I try I get different internal errors</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Jul 2022 15:36:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/33416/example-of-using-internal-oscillator-with-ble" /><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/377925?ContentTypeID=1</link><pubDate>Wed, 20 Jul 2022 15:36:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1715c7b-b6be-4714-839f-f4787e5b07dc</guid><dc:creator>Yohann</dc:creator><description>&lt;p&gt;4 years later and I had the same issue, thanks you for this thread!&lt;br /&gt;&lt;br /&gt;I had to solder DEC4 and DEC6 together and set&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#define NRF_SDH_CLOCK_LF_SRC 2 
#define NRFX_CLOCK_CONFIG_LF_SRC 2
#define CLOCK_CONFIG_LF_SRC 2
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/229303?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 20:18:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:239166ca-feaf-44f4-aa6c-158c2a403d8a</guid><dc:creator>Rob Philip</dc:creator><description>&lt;p&gt;Jeff:&lt;br /&gt;&lt;br /&gt;Two years after this &amp;quot;success&amp;quot; posting from you I was searching to try and find out what I was configuring incorrectly on my nRF52840 using the RC clock. I saw your comment on DEC4 to DEC6 and took a look. In fact my hardware guys had *not* connected DEC4 &amp;amp; DEC6. A small flywire and magically my BLE radio began working. Thanks so much for coming back and making that final note on your problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/130025?ContentTypeID=1</link><pubDate>Thu, 26 Apr 2018 17:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00565ba6-c2b8-4c1e-a63c-f1222c1f7d97</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Success! &amp;nbsp;We were missing the external wire connecting DEC4 to DEC6 that changed in the silicon rev.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/129997?ContentTypeID=1</link><pubDate>Thu, 26 Apr 2018 14:33:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d6623988-8bbf-4b24-b85b-aea3689c0482</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Just an update on this. We&amp;rsquo;ve tried using these settings with our custom board with no luck. The BLE stack, gatt, connection, advertising, etc. all happily initialize but there&amp;rsquo;s no energy at all on the antenna and no signal.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Maybe you can clarify something to assist in debugging. The LF clock definitions appear to exist in two places; in the sdk_config and in pca10056 as NRF_CLOCK_LFCLKSRC. Which is the correct one? &amp;nbsp;Is the board definition a holdover from an older sdk? &amp;nbsp;In short, how can I be confident that the dk board is actually using the internal oscillator?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/128435?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 10:57:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79fe4b97-a818-4702-ba4e-d019fda4784a</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;Thanks, I&amp;rsquo;ll give it a try!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/128417?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 09:33:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c92f0a3d-5b29-41ca-84ba-0476dfb7b6fe</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;/p&gt;
&lt;p&gt;In sdk_config.h, make sure that you have the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;/h&amp;gt; 
//==========================================================

// &amp;lt;h&amp;gt; Clock - SoftDevice clock configuration

//==========================================================
// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_SRC  - SoftDevice clock source.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_SRC_RC 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_SRC_XTAL 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_SRC_SYNTH 

#ifndef NRF_SDH_CLOCK_LF_SRC
#define NRF_SDH_CLOCK_LF_SRC 0
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval. 
#ifndef NRF_SDH_CLOCK_LF_RC_CTIV
#define NRF_SDH_CLOCK_LF_RC_CTIV 16
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature. 
// &amp;lt;i&amp;gt; How often (in number of calibration intervals) the RC oscillator shall be calibrated
// &amp;lt;i&amp;gt;  if the temperature has not changed.

#ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
#define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 2
#endif

// &amp;lt;o&amp;gt; NRF_SDH_CLOCK_LF_XTAL_ACCURACY  - External crystal clock accuracy used in the LL to compute timing windows.
 
// &amp;lt;0=&amp;gt; NRF_CLOCK_LF_XTAL_ACCURACY_250_PPM 
// &amp;lt;1=&amp;gt; NRF_CLOCK_LF_XTAL_ACCURACY_500_PPM 
// &amp;lt;2=&amp;gt; NRF_CLOCK_LF_XTAL_ACCURACY_150_PPM 
// &amp;lt;3=&amp;gt; NRF_CLOCK_LF_XTAL_ACCURACY_100_PPM 
// &amp;lt;4=&amp;gt; NRF_CLOCK_LF_XTAL_ACCURACY_75_PPM 
// &amp;lt;5=&amp;gt; NRF_CLOCK_LF_XTAL_ACCURACY_50_PPM 
// &amp;lt;6=&amp;gt; NRF_CLOCK_LF_XTAL_ACCURACY_30_PPM 
// &amp;lt;7=&amp;gt; NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM 

#ifndef NRF_SDH_CLOCK_LF_XTAL_ACCURACY
#define NRF_SDH_CLOCK_LF_XTAL_ACCURACY 1
#endif&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/128372?ContentTypeID=1</link><pubDate>Mon, 16 Apr 2018 00:52:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19ef8619-d113-45f3-9ad4-550726beba19</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;The LF oscillator&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/128368?ContentTypeID=1</link><pubDate>Sun, 15 Apr 2018 23:19:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c69f6a5a-ad1e-4445-94b0-eb1ee44a6d67</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;and you still didn&amp;#39;t answer the question about which internal oscillator you&amp;#39;re trying to use. If it&amp;#39;s the internal HF clock oscillator then the simple answer is you can&amp;#39;t do it.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/128367?ContentTypeID=1</link><pubDate>Sun, 15 Apr 2018 22:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:169b4529-4120-43a6-acb0-a6b36c18f9b1</guid><dc:creator>Jeffrey Haynes</dc:creator><description>&lt;p&gt;I wonder why the forum forces you to select the part if it isn&amp;rsquo;t going to show up here...&lt;/p&gt;
&lt;p&gt;NRF52840. Various errors. I&amp;rsquo;m looking for an example of how to do this correctly, not feedback on what I&amp;rsquo;ve tried. Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Example of using internal oscillator with BLE?</title><link>https://devzone.nordicsemi.com/thread/128366?ContentTypeID=1</link><pubDate>Sun, 15 Apr 2018 22:42:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28e771c0-0c43-4786-a842-4850efc0eefc</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;which internal oscillator, the 32kHz or the 16/64MHz (you don&amp;#39;t say what chip you&amp;#39;re using). What &amp;#39;internal errors&amp;#39;, we can&amp;#39;t guess.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>