<?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>System Clock Frequency</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50195/system-clock-frequency</link><description>### Details 
 MCU- nRF52832 
 DK- nRF52DK 
 
 ### Description 
 
 Hi all, 
 I&amp;#39;m new to Nordic platform and this might come up as a very basic question but, I couldn&amp;#39;t find any exact reference to my confusion. 
 
 What exactly is the clock that the core</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Jul 2019 08:23:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50195/system-clock-frequency" /><item><title>RE: System Clock Frequency</title><link>https://devzone.nordicsemi.com/thread/201155?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 08:23:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb49073a-ad9c-48ae-a705-20c49f869c5e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Clock Frequency</title><link>https://devzone.nordicsemi.com/thread/201151?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 08:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77467abf-e5fc-4606-9168-05e690895d9e</guid><dc:creator>Jay_Shah</dc:creator><description>&lt;p&gt;Thank you &lt;a href="https://devzone.nordicsemi.com/members/bjorn_2d00_spockeli"&gt;bjorn-spockeli&lt;/a&gt; it&amp;#39;s clear now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Clock Frequency</title><link>https://devzone.nordicsemi.com/thread/201145?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 08:02:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecf56e93-bc87-4038-bcff-f41f2656450e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Correct.That is done by the&amp;nbsp;HFCLK clock controller, which provides the following clocks to the system.&lt;/p&gt;
&lt;p&gt;HCLK64M: 64 MHz CPU clock&lt;br /&gt;PCLK1M: 1 MHz peripheral clock&lt;br /&gt;PCLK16M: 16 MHz peripheral clock&lt;br /&gt;PCLK32M: 32 MHz peripheral clock&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Clock Frequency</title><link>https://devzone.nordicsemi.com/thread/201092?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 03:44:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0117976d-4d92-4015-bdf3-2c70b53d1948</guid><dc:creator>Jay_Shah</dc:creator><description>&lt;p&gt;Thank you for your detailed response.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So, should I infer that none of these clocks for e.g. HFINT, HFXO, and PCLK can not be pre-scaled?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Clock Frequency</title><link>https://devzone.nordicsemi.com/thread/200425?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 08:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3afef62b-fa3a-493f-ae21-2f7855779771</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Jay,&amp;nbsp;&lt;/p&gt;
[quote user=""]As per datasheet it states that, &amp;quot;The HFCLK clock controller provides the following clocks to the system.&amp;quot; In my application I don&amp;#39;t explicitly call&amp;nbsp;&lt;strong&gt;HFCLKSTART&amp;nbsp;&lt;/strong&gt;task, does that mean that it always operates using&amp;nbsp;&lt;strong&gt;HFINT &lt;/strong&gt;or the example is internally calling this function whenever it wakes up from sleep? I&amp;#39;ve also read in couple of articles that Softdevice requires HFXO but I couldn&amp;#39;t find any call to&amp;nbsp;&lt;strong&gt;HFCLKSTART&amp;nbsp;&lt;/strong&gt;task.[/quote]
&lt;p&gt;&amp;nbsp;Yes, the CPU and most of the peripherals use the HFINT as the HFCLK source, but some peripherals like the RADIO require the HFXO to function properly.&amp;nbsp;&lt;br /&gt;The SoftDevice will automatically start the HFXO when it needed by the SoftDevice, so this is not something you need to handle in the application. The HFXO takes sometime to startup and stabilize so the HFINT is used util the HFXO is ready.&amp;nbsp;&lt;/p&gt;
[quote user=""]In my sdk_config.h file, the NRF_SDH_CLOCK_LF_SRC- SoftDevice Clock source is set to&amp;nbsp;NRF_CLOCK_LF_SRC_XTAL. Does that mean that the softdevice is running at 32.768KHz external crystal? If so, what exactly is running at 32.768KHz, is it the time scheduling of SoftDevice that runs with 32.768KHz or some other functionality?[/quote]
&lt;p&gt;&amp;nbsp;Yes, the SoftDevice uses the Low Frequency clock(LFCLK) to schedule advertisment, scan, connection events etc.&amp;nbsp;The SoftDevice can either use the internal RC oscillator or an external crystal(LFXO) as the LFCLK source&lt;/p&gt;
&lt;p&gt;The internal LFRC oscillator&amp;nbsp; needs to be calibrated against the HFXO every 4 seconds to be within the +/-250ppm accuracy requirement stated in the Bluetooth specification. The LFXO will typically have an accuracy of +/-20ppm, so no calibration is needed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Clock Frequency</title><link>https://devzone.nordicsemi.com/thread/200365?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 22:12:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df012140-4225-40d1-8b6b-d94b453fe40f</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you can find good answers&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/1723/question-regarding-hfclk-control"&gt;here&lt;/a&gt;, everything is actual for nRF52 series too (except HFXO&lt;span&gt;&amp;nbsp;&lt;/span&gt;frequency that is 32 MHz instead of 16)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Clock Frequency</title><link>https://devzone.nordicsemi.com/thread/200261?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 11:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:240f38a7-e52f-44ac-a3c8-710cad722121</guid><dc:creator>Jay_Shah</dc:creator><description>&lt;p&gt;SDK 6.1&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>