<?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>nrf52810: HFXO is not turned on as expected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59688/nrf52810-hfxo-is-not-turned-on-as-expected</link><description>Hi, I have a Nordic 52810/PCA10040 DEV board with the latest zephyr. 
 
 In Zephyr configuration I using hardware clock option -&amp;gt; 32KHz clock source (RC oscillator) 
 
 I expect zephyr using the external 32MHz oscillator (HFXO) as source of the HFCLK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Mar 2020 08:41:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59688/nrf52810-hfxo-is-not-turned-on-as-expected" /><item><title>RE: nrf52810: HFXO is not turned on as expected</title><link>https://devzone.nordicsemi.com/thread/242622?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 08:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d35977cc-fd20-4d7b-b2c5-d98b5a276299</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;
[quote user="SeanKao"]thanks, is there anything I can do to force the HFCLK to work with external 32M crystal? So that I can verify the external 32M crystal is working as expected.[/quote]
&lt;p&gt;You can run this sequence, and if you hang in the while-loop, the hardware has issues with starting up the external HFCLK:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;
while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0);
NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED = 0;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note that this might be overridden by other modules if they also control the HFCLK directly.&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><item><title>RE: nrf52810: HFXO is not turned on as expected</title><link>https://devzone.nordicsemi.com/thread/242601?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 07:52:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e44333a9-dc34-40ac-8aab-6d016db844e9</guid><dc:creator>SeanKao</dc:creator><description>&lt;p&gt;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks, is there anything I can do to force the HFCLK to work with external 32M crystal? So that I can verify the external 32M crystal is working as expected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regard.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52810: HFXO is not turned on as expected</title><link>https://devzone.nordicsemi.com/thread/242581?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 06:30:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53275cb5-a960-4508-b0fe-2bb1e015f621</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;The menuconfig picture is related to the LFCLK (the 32kHz clock source), while the register you&amp;#39;re checking is the high frequency clock (HFCLK). The HFCLK will run only when needed, to save power. The system runs on the more inaccurate HFINT (64M RC oscillator) for generic processing.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SoftDevice also behaves like this, to ensure&amp;nbsp;low power consumption.&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><item><title>RE: nrf52810: HFXO is not turned on as expected</title><link>https://devzone.nordicsemi.com/thread/242570?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2020 03:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be3d83cb-0519-4321-a45a-f89f66f760be</guid><dc:creator>SeanKao</dc:creator><description>&lt;p&gt;I use this example&lt;/p&gt;
&lt;p&gt;west build -p auto -b&amp;nbsp;nrf52810_pca10040 samples/bluetooth/peripheral_hr&lt;/p&gt;
&lt;p&gt;After west flash I power off and on the board then check the register value, even I wait a few minutes and check the register value again, the value is still the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>