<?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>Using FreeRTOS without external 32,768 Hz crystal on nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55599/using-freertos-without-external-32-768-hz-crystal-on-nrf52840</link><description>I am developing a firmware on a nrf52840 board with FreeRTOS. Unfortunately, due to a mistake during the development process, the board misses the XTAL 32,768 Hz. 
 Is there any way we can configure FreeRTOS without this XTAL? 
 Thanks a lot.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Dec 2019 13:50:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55599/using-freertos-without-external-32-768-hz-crystal-on-nrf52840" /><item><title>RE: Using FreeRTOS without external 32,768 Hz crystal on nrf52840</title><link>https://devzone.nordicsemi.com/thread/225383?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 13:50:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b615ebf-b5c4-4189-b93f-f6144bcbd64d</guid><dc:creator>dao</dc:creator><description>&lt;p&gt;Thanks Bjorn, it worked.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using FreeRTOS without external 32,768 Hz crystal on nrf52840</title><link>https://devzone.nordicsemi.com/thread/225372?ContentTypeID=1</link><pubDate>Fri, 13 Dec 2019 13:20:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14c4d8da-b4fa-4249-b984-627ddd13b7a5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Dao,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, you can run any BLE example ( regardless if you&amp;#39;re using FreeRTOS or not) without the external XTAL 32,768kHz, you can use the internal 32kHz RC oscillator. This is done by setting the following defines in the sdk_config.h file.&amp;nbsp;&amp;nbsp;&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 0 &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>