<?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>Increasing CPU clock frequency for BL653</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92297/increasing-cpu-clock-frequency-for-bl653</link><description>Hi, 
 
 I am using nCS on nrf52833 based BL653dvk, I am based on default 32kHz CPU frequency. I need to go higher up to 40MHz, kindly suggest what configuration options I can use to increase my CPU clock frequency up to 40MHz. 
 
 Thanks, 
 Ubaid</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Sep 2022 08:55:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92297/increasing-cpu-clock-frequency-for-bl653" /><item><title>RE: Increasing CPU clock frequency for BL653</title><link>https://devzone.nordicsemi.com/thread/388498?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 08:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a0f11a7-95e4-4a0c-aba7-d8ee6049dacd</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;RTC1 is &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.1.99-ncs1/drivers/timer/nrf_rtc_timer.c#L20"&gt;being used&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing CPU clock frequency for BL653</title><link>https://devzone.nordicsemi.com/thread/388490?ContentTypeID=1</link><pubDate>Thu, 29 Sep 2022 08:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be297628-1311-4e61-a1af-9bc536b90791</guid><dc:creator>Ubaid_M</dc:creator><description>[quote userid="14926" url="~/f/nordic-q-a/92297/increasing-cpu-clock-frequency-for-bl653/388292"]This system clock is by default running off the 32.768 kHz LFCLK and an RTC instance[/quote]
&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/joh2"&gt;J&amp;oslash;rgen Holmefjord&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;Can you please let me know which RTC is being used herein..?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ubaid&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing CPU clock frequency for BL653</title><link>https://devzone.nordicsemi.com/thread/388337?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 11:56:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:900ea76d-48b0-4779-94bd-0ef861fa6966</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;You can only change it to match the available clock sources.&lt;/p&gt;
&lt;p&gt;The configs in &lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/28469#issuecomment-704164283"&gt;this post&lt;/a&gt; should work on nRF52840, and thus likely also on nRF52833. Note that this is not low power and will keep the high-frequency clock running at all times.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing CPU clock frequency for BL653</title><link>https://devzone.nordicsemi.com/thread/388306?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 09:32:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b307df97-9f8a-4e5e-a033-55e8802af007</guid><dc:creator>Ubaid_M</dc:creator><description>[quote userid="14926" url="~/f/nordic-q-a/92297/increasing-cpu-clock-frequency-for-bl653/388292"]This will change the system clock of the Zephyr RTOS[/quote]
&lt;p&gt;&lt;strong&gt;So this means increasing this will also increase timing for kernel services calculation, like threads, msgQ etc,.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How&amp;nbsp;much maximum can i increase this for nrf52833..?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Thanks&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing CPU clock frequency for BL653</title><link>https://devzone.nordicsemi.com/thread/388292?ContentTypeID=1</link><pubDate>Wed, 28 Sep 2022 09:03:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:700b6766-3c2e-4a8a-b108-abca681a9ae7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Ubaid_M"]So I am to understand that CPU frequency cannot be changed for nRF52833..?[/quote]
&lt;p&gt;Yes, the CPU frequency is fixed and cannot be changed.&lt;/p&gt;
[quote user="Ubaid_M"]&lt;p&gt;So what is achieved by changing:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC&lt;/span&gt;&lt;span&gt;=32768&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&amp;amp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SYS_CLOCK_TICKS_PER_SEC&lt;/span&gt;&lt;span&gt;=32768&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;..?&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;This will change the system clock of the Zephyr RTOS, which is used by the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/zephyr/kernel/services/timing/clocks.html"&gt;Kernel Timing&lt;/a&gt;&amp;nbsp;services and&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.1.0/zephyr/kernel/services/timing/timers.html"&gt;Timers&lt;/a&gt;. This system clock is by default running off the 32.768 kHz LFCLK and an RTC instance. This is not related to the frequency of the CPU, and how fast the CPU can execute tasks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing CPU clock frequency for BL653</title><link>https://devzone.nordicsemi.com/thread/387916?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 12:34:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eb276ef-11da-449d-bfd5-12084dcfa7fa</guid><dc:creator>Ubaid_M</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="https://devzone.nordicsemi.com/members/joh2"&gt;J&amp;oslash;rgen Holmefjord&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="14926" url="~/f/nordic-q-a/92297/increasing-cpu-clock-frequency-for-bl653/387887"]this is not configurable to higher of lower frequencies[/quote]
&lt;p&gt;So I am to understand that CPU frequency cannot be changed for nRF52833..?&lt;br /&gt;&lt;br /&gt;So what is achieved by changing:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC&lt;/span&gt;&lt;span&gt;=32768&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&amp;amp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SYS_CLOCK_TICKS_PER_SEC&lt;/span&gt;&lt;span&gt;=32768&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;..?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increasing CPU clock frequency for BL653</title><link>https://devzone.nordicsemi.com/thread/387887?ContentTypeID=1</link><pubDate>Mon, 26 Sep 2022 11:40:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5852f191-8dac-44ab-8530-8fd4e62fc6d0</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The CPU clock speed of&amp;nbsp;&lt;a title="nRF52833" href="https://infocenter.nordicsemi.com/topic/struct_nrf52/struct/nrf52833.html?cp=4_1"&gt;nRF52833&lt;/a&gt;&amp;nbsp;is fixed at 64 MHz, this is not configurable to higher of lower frequencies.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>