<?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 change nrf52840 CPU clock to 32MHz or even lower ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117329/how-to-change-nrf52840-cpu-clock-to-32mhz-or-even-lower</link><description>Hello~ 
 I am developing nrf52840 with zephyr ncs tool chain v2.7.0 and SDK v2.6.1. 
 Our pre-production PCB power consumption still too high, so we are looking for a way to lower nrf52840 CPU clock. 
 For example: change from 64MHz to 32MHz or 16MHz</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Dec 2024 17:33:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117329/how-to-change-nrf52840-cpu-clock-to-32mhz-or-even-lower" /><item><title>RE: How to change nrf52840 CPU clock to 32MHz or even lower ?</title><link>https://devzone.nordicsemi.com/thread/515185?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 17:33:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaefa7b4-7183-4138-8cc0-8df7f7dbe12f</guid><dc:creator>JY wu</dc:creator><description>&lt;p&gt;Hi~&lt;/p&gt;
&lt;p&gt;Thanks for your detail answer, we do have this two&amp;nbsp;&lt;span&gt;DCDC inductors and not enable DCDC yet.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;For question &amp;quot;Do you have measuring equipment to measure the current waveform like the PPK2? &amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, we have.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;We&amp;nbsp;will measure current again after change DCDC to enable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrf52840 CPU clock to 32MHz or even lower ?</title><link>https://devzone.nordicsemi.com/thread/515177?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 16:11:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ed33224-7c26-4617-92e8-4e3be61f6487</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_BOARD_ENABLE_DCDC will reduce the peak currents if not enabled already (you can check if it is&amp;nbsp;selected for your build by seeing if the symbol is seleced in the generated .config file). Note: make sure your board include the DCDC inductors before enabling this. Otherwise, the CPU will not&amp;nbsp;receive a stable supply voltage.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Generated configuration file:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734365227114v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734365382551v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Do you have measuring equipment to measure the current waveform like the PPK2? It would help to know what idle current is.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrf52840 CPU clock to 32MHz or even lower ?</title><link>https://devzone.nordicsemi.com/thread/515152?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 14:49:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cba4e85a-fef5-4e25-83ee-bf025db20c9d</guid><dc:creator>JY wu</dc:creator><description>&lt;p&gt;Hi~&lt;/p&gt;
&lt;p&gt;Thanks for your quick help.&lt;/p&gt;
&lt;p&gt;For the question : &amp;quot;&lt;span&gt;are you sure the high current consumption is caused by the CPU run current and not something else?&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;No...not sure.&lt;/p&gt;
&lt;p&gt;Would you please help me to clarify:&lt;/p&gt;
&lt;p&gt;Can these two settings helps to lower down power consumption?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_PM_CPU_OPS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_BOARD_ENABLE_DCDC=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It says using DCDC will save more power than LDO.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to change nrf52840 CPU clock to 32MHz or even lower ?</title><link>https://devzone.nordicsemi.com/thread/515134?ContentTypeID=1</link><pubDate>Mon, 16 Dec 2024 14:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de88120e-950f-4f43-8876-4609b13800c7</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The CPU frequency is fixed at 64 MHz on the nRF52 series and cannot be changed. This is also the frequency the CPU has been optimized for. The idea of having a relatively fast CPU clock is to allow the CPU to complete its task faster and allow it to spend more time in sleep. But are you sure the high current consumption is caused by the CPU run current and not something else. You should be able to match the numbers from our online power profiler at&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/power/w/opp/2/online-power-profiler-for-bluetooth-le"&gt;Online Power Profiler for Bluetooth LE&lt;/a&gt;&amp;nbsp;if you are only using BLE.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>