<?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>Source of HFCLK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82456/source-of-hfclk</link><description>Hi, 
 We have a custom PCB with external crystal for HFCLK. Can you tell whether the external crystal is used by default for HFCLK or it has to be selected in the HFCLKSTAT register? 
 How do you select HFCLK source in zephyr? 
 CONFIG_APP_ENABLE_HFXO</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Dec 2021 11:30:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82456/source-of-hfclk" /><item><title>RE: Source of HFCLK</title><link>https://devzone.nordicsemi.com/thread/342299?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 11:30:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ed684be-1f0a-4f0a-9c72-fbd250aa4b3b</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Yes, the Bluetooth LE Controller will use the external oscillator as the accuracy is needed for the radio.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Source of HFCLK</title><link>https://devzone.nordicsemi.com/thread/342283?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 10:14:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d335215-f5b4-4a7d-b5aa-73e3b436edb3</guid><dc:creator>Christoffer Brask</dc:creator><description>&lt;p&gt;Hi Bendik,&lt;/p&gt;
&lt;p&gt;From what i&amp;#39;m reading, as i&amp;#39;m using BLE, some lowlevel library code will select the use of an external oscillator instead of the internal rc?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Source of HFCLK</title><link>https://devzone.nordicsemi.com/thread/342280?ContentTypeID=1</link><pubDate>Tue, 07 Dec 2021 10:08:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bfc9663-1d03-4305-9dd5-0ea406521d3e</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The external crystal oscillator is used when a higher accuracy clock is needed. In order to lower the power usage the crystal oscillator is only running when needed, and otherwise the RC oscillator is used. If you don&amp;#39;t care about the current consumption and always want the external crystal oscillator running, you can start the crystal oscillator at startup and leave it running. The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfx/drivers/clock/driver.html"&gt;Clock Driver API&lt;/a&gt; can be used for this.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>