<?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>&amp;quot;OFF&amp;quot; power consumption increase +100µA after firmware change, and does not decrease after roll-back</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125577/off-power-consumption-increase-100-a-after-firmware-change-and-does-not-decrease-after-roll-back</link><description>Bonjour, 
 We are working on a firmware upgrade for our product based on a nRF52833. 
 
 With the previous firmware, compiled with SDK 2.3.0, when the board was OFF, the power consumption was about 20-30&amp;#181;A 
 We work a bit to reach SDK 3.1.0 and update</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Nov 2025 16:39:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125577/off-power-consumption-increase-100-a-after-firmware-change-and-does-not-decrease-after-roll-back" /><item><title>RE: "OFF" power consumption increase +100µA after firmware change, and does not decrease after roll-back</title><link>https://devzone.nordicsemi.com/thread/554169?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 16:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8cd2591-b3f1-4236-9022-e1162c444f0b</guid><dc:creator>pdelrot_samea</dc:creator><description>&lt;p&gt;Well,&lt;/p&gt;
&lt;p&gt;Adding this to the overlay file does not harm, but do not solve the problem even after UICR erase (&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/working-with-the-nrf52-series-improved-approtect"&gt;Working with the nRF52 Series&amp;#39; improved APPROTECT&lt;/a&gt;&amp;nbsp;&amp;nbsp;+&amp;nbsp;&lt;a id="" href="https://jimmywongiot.com/2019/08/19/manufacturer-storage-data-on-uicr-region/"&gt;https://jimmywongiot.com/2019/08/19/manufacturer-storage-data-on-uicr-region/&lt;/a&gt;)&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;amp;uicr {&lt;br /&gt; nfct-pins-as-gpios;&lt;br /&gt;};&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;amp;nfct {&lt;br /&gt; status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;gt; nrfjprog.exe -i&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;myserialnumber&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;gt; nrfjprog.exe --family NRF52 --recover --snr &amp;lt;myserialnumber&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; Recovering device. This operation might take 30s.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Erasing user code and UICR flash areas.&lt;br /&gt;&amp;nbsp; &amp;nbsp; Writing image to disable ap protect.&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;gt; nrfjprog.exe --snr 260111492 --memrd 0x1000120c&lt;br /&gt;&amp;nbsp; &amp;nbsp; 0x1000120C: FFFFFFFE&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |....|&lt;/p&gt;
&lt;p&gt;The value is the one expected (LSB bit 0 set to 0 as per specification). Current decrease is 15&amp;micro;A.&lt;br /&gt;&lt;br /&gt;So then ? Additionally, when the debugger is connected, powered, but not used, current consumption is 50-60&amp;micro;A... and increase when I disconnect the debugger USB cable.&lt;br /&gt;One mistake was to perform the measurement with the debugger connected but unpowered.&lt;br /&gt;&lt;br /&gt;With cables disconnected (as in real life), power consumption is as expected : 25&amp;micro;A.&lt;br /&gt;&lt;br /&gt;Solution :&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;take care of UICR and NFCT configuration in the design for the future&lt;/li&gt;
&lt;li&gt;note to myself : do not forget power leakage of the debugger !&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;At least, I learn few newer things today.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Pascal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "OFF" power consumption increase +100µA after firmware change, and does not decrease after roll-back</title><link>https://devzone.nordicsemi.com/thread/554157?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 15:09:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0480a821-0452-4f39-96d7-eb024211925c</guid><dc:creator>pdelrot_samea</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Yes, power consumption verified just before&lt;/li&gt;
&lt;li&gt;System OFF&lt;span style="color:#333333;"&gt;&amp;nbsp; &amp;nbsp; &lt;span style="color:#aa3731;font-weight:bold;"&gt;sys_poweroff&lt;span style="color:#777777;"&gt;(); &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;: a wake-up pin is used to restart the device&lt;/li&gt;
&lt;li&gt;The nRF chip is in OFF mode waiting a wake-up from the host, to restart a BLE advertising or scan BLE devices. A SPI bus is used to control the device. As battery powered product, the power consumption is very important.&lt;/li&gt;
&lt;li&gt;Yes, our KConfig/overlay files has been updated for that.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Regarding the power consumption, according data sheet, the closest peripheral for 100&amp;micro;A is the USBD, but nothing is set at all for software, neither in hardware. I didn&amp;#39;t found any persistent register.&lt;/p&gt;
&lt;p&gt;I made a diff between the device trees generated by the SDK 2.3.0 and 3.1.0.&lt;/p&gt;
&lt;p&gt;I found few differences, here are the most important to my eyes, being analysed :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SDK 3.1.0 : rtc, timers are disabled / with SDK 2.3.0 status was &amp;quot;okay&amp;quot;. We don&amp;#39;t use them intentionally. Such setting seems good to me.&lt;/li&gt;
&lt;li&gt;SDK 3.1.0 :&amp;nbsp;clocks&amp;nbsp;hfxo is present, 64MHz value. &lt;span style="color:#ff9900;"&gt;Our quartz is 32Mhz. I have to verify if hfxo is linked to this oscillator.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;SDK 3.1.0 :&amp;nbsp;gpregret1/2 are present. Why not.&lt;/li&gt;
&lt;li&gt;SDK 3.1.0 : reg0/1 are present&lt;/li&gt;
&lt;li&gt;SDK 3.1.0 : &amp;amp;uicr and &amp;amp;nfct are present&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For the last one, I found these lines in &amp;#39;\ncs\v3.1.0\zephyr\soc\nordic\Kconfig&amp;#39;&lt;/p&gt;
&lt;p&gt;config NFCT_PINS_AS_GPIOS&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Two pins are usually reserved for NFC in SoCs that implement the&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NFCT peripheral. This option switches them to normal GPIO mode.&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style="color:#0000ff;"&gt;HW enabling happens once in the device lifetime, during the first&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; system startup. Disabling this option will not switch back these&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pins to NFCT mode&lt;/span&gt;. Doing this requires UICR erase prior to&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; flashing device using the image which has this option disabled.&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [... instructions for device tree given ...]&lt;/p&gt;
&lt;p&gt;EDIT : We don&amp;#39;t use this feature. One pin is reserved for a future I2C SLC, the other left open. We didn&amp;#39;t managed any configuration yet. We have to keep this NFC feature disabled.&lt;/p&gt;
&lt;p&gt;At least, such configuration ticks the box &amp;quot;survives to reflashing and power off&amp;quot;. For the power consumption I don&amp;#39;t know.&lt;/p&gt;
&lt;p&gt;Pascal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "OFF" power consumption increase +100µA after firmware change, and does not decrease after roll-back</title><link>https://devzone.nordicsemi.com/thread/554132?ContentTypeID=1</link><pubDate>Wed, 12 Nov 2025 13:38:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a3f98df-ae59-4b49-b1be-6c6a17245577</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Pascal,&lt;/p&gt;
&lt;p&gt;1. It is suprising that running the old firmware you see the same higher current consumption. Did you verify the lower current consumption on the exact same board before, and has there been any hardware modifications or changes in the test setup?&lt;/p&gt;
&lt;p&gt;2. When you write OFF mode, which exact mode is this? Is it system OFF low power mode (where a wakup is in form of a reset), or another low power mode?&lt;/p&gt;
&lt;p&gt;3. Can you say more about your firmware and hardware (which compoents are enabled in active mode, and what is the intended state in OFFmode)?&lt;/p&gt;
&lt;p&gt;4. Regarding&amp;nbsp;&lt;span&gt;regulator-initial-mode in the devicetree that is needed ad regulator mode is now configured in the device tree, but in older SDK versions like 2.3 it was configured in Kconfig. If the device by a mistake is configured to use DCDC and the optional DCDC inductors are not present, the device will fail when attempting to start the DCDC regulator.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Br,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Einar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>