<?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>Configure System Clock Faster than 32768Hz in NCS/Zephyr</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60049/configure-system-clock-faster-than-32768hz-in-ncs-zephyr</link><description>It looks to me that in NCS/Zephyr it is only possible to configure the system clock to operate off of the LFCLK. I haven&amp;#39;t been able to find any Kconfig options that would make the HFCLK the source of the clock. It is very important to our application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Apr 2020 10:48:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60049/configure-system-clock-faster-than-32768hz-in-ncs-zephyr" /><item><title>RE: Configure System Clock Faster than 32768Hz in NCS/Zephyr</title><link>https://devzone.nordicsemi.com/thread/244400?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 10:48:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9c57d9d-ea79-4081-9773-a71fbc6f9a97</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Timing in zephyr rtos kernel runs off the 32.768 kHz RTC, as you have already found out. There is no backend for NRF_TIMERx, so in order to get a better resolution, you have to create a module using nrfx_timer driver for instance. Note that this will&amp;nbsp;raise the base current from sub 10 uA to ~800 uA (HFXO, see &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/_tmp/graviton/autodita/CURRENT/parameters.i_timer.html?cp=4_0_0_4_1_0_8"&gt;these specifications&lt;/a&gt;), as the high-speed NRF_TIMER peripheral will require the peripheral clock tree to run in sleep mode.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>