<?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>Secure DFU bootloader power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76908/secure-dfu-bootloader-power-consumption</link><description>Hi everyone, 
 I&amp;#39;m developing a new application/product. It will feature a nRF52805 without the LFXTAL but with DC/DC support. I&amp;#39;m developing with the NRF5 17.0.2 SDK. 
 I compiled the secure_bootloader example to understand its current consumption. Its</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Jun 2021 12:42:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76908/secure-dfu-bootloader-power-consumption" /><item><title>RE: Secure DFU bootloader power consumption</title><link>https://devzone.nordicsemi.com/thread/317976?ContentTypeID=1</link><pubDate>Wed, 30 Jun 2021 12:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faf29e9a-f237-450d-89e3-6e868c7e437b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Andrea,&lt;/p&gt;
[quote user=""]Is this power consumption correct from Nordic point of view?[/quote]
&lt;p&gt;If this is the idle current consumption in the bootloader, then it is higher than expected. See for instance &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/36104/high-current-consumption-in-bootloader"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
[quote user=""]From my experience when DC/DC is enabled the power consumption peaks are around 15mA. Is there any&lt;br /&gt;configuration in sdk_config.h to enable DC/DC?[/quote]
&lt;p&gt;No. But you can enable the DC/DC by either calling&amp;nbsp;&lt;span&gt;&lt;code&gt;NRF_POWER-&amp;gt;DCDCEN = 1&lt;/code&gt;&amp;nbsp;before enabling the SoftDevice or&amp;nbsp;&lt;code&gt;sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE)&lt;/code&gt; &lt;/span&gt;&lt;span&gt;after enabling&amp;nbsp;the SoftDevice. That will reduce the peak currents. So the simplest way to use the DC/DC in the bootladoer is to write to&amp;nbsp;NRF_POWER-&amp;gt;DCDCEN in the beginning of the main function in&amp;nbsp;examples\dfu\secure_bootloader\main.c.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]What other strategies can be used to further improve power consumption?[/quote]
&lt;p&gt;First you we need to know why you see such a high current consumption. Have you ruled out that it could be caused by other component on your board? could it be some GPIO&amp;#39;s that should be configured in a specific state also in the bootloader to not cause high current consumption via some external components on the board etc?&lt;/p&gt;
&lt;p&gt;Also, while it is always good to understand the detail of your product, high current consumption in itself is typically not a big problem in the bootloader, as a device typically very rarely enters DFU mode. And when it does, it is typically only there for a minute&amp;nbsp;or less.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>