<?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>How to identify the application clock frequency in nrf5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78636/how-to-identify-the-application-clock-frequency-in-nrf5340</link><description>Hello, 
 
 I am working on nrf5340DK board and with sample example central_uart. I wan to find at what speed the application clock is configured and also want to change it to 128M. 
 
 Please help to provide information on how to find the current set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Aug 2021 15:26:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78636/how-to-identify-the-application-clock-frequency-in-nrf5340" /><item><title>RE: How to identify the application clock frequency in nrf5340</title><link>https://devzone.nordicsemi.com/thread/325561?ContentTypeID=1</link><pubDate>Wed, 18 Aug 2021 15:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3f28e69-ce6f-4709-a983-d74e082db82f</guid><dc:creator>SanketC</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for the reply. I will look into it and get back to you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Sanket C&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to identify the application clock frequency in nrf5340</title><link>https://devzone.nordicsemi.com/thread/325369?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 18:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8659899-2370-4448-b921-c3c18b4838ed</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The default CPU frequency is 64 MHz after reset. But it doesn&amp;#39;t look like we have implemented any driver APIs to control the frequency yet, so I think you have to write directly to the clock control register as shown in my code snippet below.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;	/* Set CPU frequency to 128 MHz.
	 * https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/clock/doc/clock.html#concept_mcu_frequency_scaling
	 *
	 * Note: replace NRF_CLOCK_S with NRF_CLOCK_NS if CPU is running in the non-secure domain.
	 * /
	NRF_CLOCK_S-&amp;gt;HFCLKCTRL = (CLOCK_HFCLKCTRL_HCLK_Div1 &amp;lt;&amp;lt; CLOCK_HFCLKCTRL_HCLK_Pos);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>