<?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>Peripherals and clock source</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72517/peripherals-and-clock-source</link><description>Hello, 
 
 I am using the nrf52832 and would like to know the clock sources used by the external peripherals. From the searches, I found that PCLK16M is used for most of the peripherals but doesn&amp;#39;t that mean the HFCLK will be on as long as the clocks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Aug 2022 16:17:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72517/peripherals-and-clock-source" /><item><title>RE: Peripherals and clock source</title><link>https://devzone.nordicsemi.com/thread/380206?ContentTypeID=1</link><pubDate>Thu, 04 Aug 2022 16:17:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fc9ae1e-b8f3-4f9e-9df1-f412e8a18671</guid><dc:creator>jcondon</dc:creator><description>&lt;p&gt;This information belongs in the Product Specification document. A proper clock tree diagram is an important part of MCU documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripherals and clock source</title><link>https://devzone.nordicsemi.com/thread/298949?ContentTypeID=1</link><pubDate>Wed, 10 Mar 2021 10:07:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ff950c1-3524-4fff-aa1c-a99351bd067b</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="GOAA"]I have a softdevice and I am not enabling HFXO nor HFINT anywhere. So, it will be by default HFCLK and whenever radio is ON, HFXO will be used right?[/quote]
&lt;p&gt;You are correct. The HFXO will then be started only on-demand by the softdevice, and after its done; you will go back to using HFINT.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&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: Peripherals and clock source</title><link>https://devzone.nordicsemi.com/thread/298895?ContentTypeID=1</link><pubDate>Wed, 10 Mar 2021 07:13:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acb78293-6ef1-442b-9670-7b27b20e2ef2</guid><dc:creator>GOAA</dc:creator><description>&lt;p&gt;Thanks for your answer,&lt;/p&gt;
[quote userid="2115" url="~/f/nordic-q-a/72517/peripherals-and-clock-source/298578#298578"]his clock tree is sourced by the HFCLK, which can be HFXO (external 32M crystal) or HFINT (64 MHz internal RC oscillator)[/quote]
&lt;p&gt;I have a softdevice and I am not enabling HFXO nor HFINT anywhere. So, it will be by default HFCLK and whenever radio is ON, HFXO will be used right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Peripherals and clock source</title><link>https://devzone.nordicsemi.com/thread/298578?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 08:21:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eedb1735-46ce-4753-861c-d2fa089e3d97</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=""]What is the clock source used by GPIO and GPIOTE and other such peripherals? What&amp;#39;s the clock source used for flash write and RAM operations?[/quote]
&lt;p&gt;The clock source for &lt;em&gt;most*&amp;nbsp;&lt;/em&gt;peripherals is always PCLK16M. This clock tree is sourced by the HFCLK, which can be HFXO (external 32M crystal) or HFINT (64 MHz internal RC oscillator).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;* some are sourced by the LFCLK, like the RTC peripheral. Same principle applies there; you choose which source for the LFCLK (internal RC, external 32k, or synthesized from HFCLK).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;R/W to both RAM and Flash is performed on the CPU speed, ie. 64MHz.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]Is there any site where I can refer what clock source is used by what peripheral?[/quote]
&lt;p&gt;No, unfortunately not. All peripherals that are asynchronous, like UART without hardware flow control, will&amp;nbsp;keep the HFCLK active in sleep.&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: Peripherals and clock source</title><link>https://devzone.nordicsemi.com/thread/298547?ContentTypeID=1</link><pubDate>Tue, 09 Mar 2021 02:47:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:967c0046-bd41-4453-b0d9-64e876d13261</guid><dc:creator>Mehmet Nuri</dc:creator><description>&lt;p&gt;its your choice actually. If you chose to have &amp;quot;high accuracy&amp;quot; interrupts(not work in sleep modes), it will use high frequency xtal. But you can initiate internal&amp;nbsp;32.768 kHz and have sleep mode enabled interrupts. Depends on your application.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>