<?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>NRF52840 CHIP CONSUMING UNUSUAL CURRENT BURST WHILE DOING DFU UPDGRADE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125804/nrf52840-chip-consuming-unusual-current-burst-while-doing-dfu-updgrade</link><description>Hi , 
 Our nRF52840 chip is drawing a high-current burst of about 1.5 seconds during the DFU upgrade. Because we have a 10 mA current limit on the battery, the system browns out during this period. We do not want to increase the current limit, so we need</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Nov 2025 14:41:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125804/nrf52840-chip-consuming-unusual-current-burst-while-doing-dfu-updgrade" /><item><title>RE: NRF52840 CHIP CONSUMING UNUSUAL CURRENT BURST WHILE DOING DFU UPDGRADE</title><link>https://devzone.nordicsemi.com/thread/555408?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 14:41:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04c365af-c5de-449f-a4eb-1326f9bf3bee</guid><dc:creator>abdulazeemz</dc:creator><description>&lt;p&gt;Thanks Edvin for the reply.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My further findings. Its not the nrf chip which is consuming this current burst. But the external NOR Flash Memory is the one which is taking the current. Adding more capacitor didnt help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 CHIP CONSUMING UNUSUAL CURRENT BURST WHILE DOING DFU UPDGRADE</title><link>https://devzone.nordicsemi.com/thread/555406?ContentTypeID=1</link><pubDate>Tue, 25 Nov 2025 14:33:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:178e978e-eaf9-404c-a139-99c125a5ea44</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I also suspect this is the erase of the flash. Can you please try remove the part in the bootloader that erases the second bank? It will still fail (because writing to this flash area will fail later), but at least it wouldn&amp;#39;t brown out, helping pin-point the issue.&lt;/p&gt;
&lt;p&gt;Alternatively, set a breakpoint or log something (over RTT) at nrf_dfu_req_handler.c, line 452 to see whether this is where it tries to erase the flash, and if this is what is causing the issue:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    /* Erase the page we&amp;#39;re at. */
    if (nrf_dfu_flash_erase((m_firmware_start_addr + s_dfu_settings.progress.firmware_image_offset),
                            CEIL_DIV(p_req-&amp;gt;create.object_size, CODE_PAGE_SIZE), NULL) != NRF_SUCCESS)
    {
        NRF_LOG_ERROR(&amp;quot;Erase operation failed&amp;quot;);
        p_res-&amp;gt;result = NRF_DFU_RES_CODE_INVALID_OBJECT;
        return;
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If this is the issue, you could try to erase the pages manually, with some delay, to see if that helps, but I doubt it will, because later on, when the entire image is transferred, the MBR (part of the softdevice) will take over, and perform the swap of the old and new softdevice. This will also do a flash erase, and this is not open source (since the softdevice is delivered as a .hex file), and therefore you can not alter the behavior of it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If it is in fact the erasing that is causing this issue, then you could try to use a capacitor. It really depends on whether the average current consumption (from your plot) is above or below 10mA.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 CHIP CONSUMING UNUSUAL CURRENT BURST WHILE DOING DFU UPDGRADE</title><link>https://devzone.nordicsemi.com/thread/555283?ContentTypeID=1</link><pubDate>Mon, 24 Nov 2025 20:53:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cde7c26a-4dc3-4e19-8a89-e6d81090bcce</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;The erase operation? I&amp;#39;ve noticed current goes up during it. Can you stick a capacitor on Vcc to smooth it out?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>