<?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>Power consumption of the nRF52832 (PCA10040 and custom board)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89865/power-consumption-of-the-nrf52832-pca10040-and-custom-board</link><description>Hi, 
 We are troubleshooting high power consumption on a custom nRF52832 board. It has taken us down to just 
 1. Enable RTC, 
 2. Setup GPIOs, 
 3. With and without NRF_POWER-&amp;gt;DCDCEN |= 1; 
 3. Go into a sleep loop (while(1) { __WFE(); __SEV(); __WFE</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Jul 2022 08:02:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89865/power-consumption-of-the-nrf52832-pca10040-and-custom-board" /><item><title>RE: Power consumption of the nRF52832 (PCA10040 and custom board)</title><link>https://devzone.nordicsemi.com/thread/376723?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2022 08:02:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c1cf7bf-cb0a-48bf-a2d0-2343f64d6080</guid><dc:creator>jrg</dc:creator><description>&lt;p&gt;Hi, &lt;br /&gt;&lt;br /&gt;Ok thank you! We are measuring from a proper power supply, but there are possibly other losses in the DK from where are measuring. &lt;/p&gt;
&lt;p&gt;Thank you for the clarifications&lt;/p&gt;
&lt;p&gt;Johan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption of the nRF52832 (PCA10040 and custom board)</title><link>https://devzone.nordicsemi.com/thread/376632?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 13:29:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0fdcfe9-c78a-4ee2-8bc6-60d9de030605</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;After discussing this with a colleague here is some input.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The spikes you see are expected. These are the refresh spikes from the auto controlled refresh mode that kicks in when the current consumption is low in order to maximize efficiency by charging up internal capacitors regularly to provide power to the chip. This happens every 25ms.&lt;/p&gt;
&lt;p&gt;The floor current in your application seems to be ~14µA indicating some kind of leakage on VDD. Is the uploaded current consumption from the DK or the custom board? On a Development kit it&amp;#39;s expected to see ~12µA in sleep mode if the device is powered from the USB, as there is some noise from the USB (see picture below).&amp;nbsp; The floor current between these smaller noise spikes are at ~2µA though. I can also take the time to set up with an external board supply if you need the numbers there as well, but we&amp;#39;re in the middle of the summer &amp;quot;rush&amp;quot; where most of our support engineers are on summer vacation, so I&amp;#39;m very busy at the moment to be honest.&lt;/p&gt;
&lt;p&gt;So our theory is that your custom board has a leakage on the VDD somewhere of ~15µA and since you see similar power consumption on the DK (with USB noise) you assume this is the case for both devices. We also have a&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt; blog post on optimizing power consumption on nRF52 designs&lt;/a&gt; if you haven&amp;#39;t checked it out already. It&amp;#39;s important to make sure that things like logging is disabled to achieve the lowest possible current consumption, etc.&lt;/p&gt;
&lt;p&gt;What we&amp;#39;d like to do is a schematics and PCB layout review of your custom board to see if there is something that can explain the 15µA leakage current there.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;Sleep current on a DK&amp;nbsp;&lt;strong&gt;with USB noise:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&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/pastedimage1657632247266v1.png" alt=" " /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;BLE heart rate sample .hex file that advertises for 10 seconds and goes to sleep and accompanying SoftDevice:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4857.ble_5F00_app_5F00_hrs_5F00_pca10040_5F00_s132.hex"&gt;devzone.nordicsemi.com/.../4857.ble_5F00_app_5F00_hrs_5F00_pca10040_5F00_s132.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6318.s132_5F00_nrf52_5F00_7.2.0_5F00_softdevice.hex"&gt;devzone.nordicsemi.com/.../6318.s132_5F00_nrf52_5F00_7.2.0_5F00_softdevice.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption of the nRF52832 (PCA10040 and custom board)</title><link>https://devzone.nordicsemi.com/thread/376604?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 12:25:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a0639a5-4e93-47cc-b4b5-7d2497ad543a</guid><dc:creator>jrg</dc:creator><description>&lt;p&gt;Hi, &lt;br /&gt;&lt;br /&gt;The example-code has been tested with&lt;/p&gt;
&lt;p&gt;SDK 17.1.0 and armgcc &amp;quot;GNU Arm Embedded Toolchain/9 2020-q2-update&amp;quot;&lt;/p&gt;
&lt;p&gt;We still measure ~15uA power consumption with spikes at 60 uA at around 40 Hz.&lt;/p&gt;
&lt;p&gt;Could you please provide us with a working firmware in sleep/WFE at ~2uA for us to continue to investigate?&lt;/p&gt;
&lt;p&gt;Johan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption of the nRF52832 (PCA10040 and custom board)</title><link>https://devzone.nordicsemi.com/thread/376537?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 07:10:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1203470-6074-448f-9ff6-8d4bd33f1d45</guid><dc:creator>jrg</dc:creator><description>&lt;p&gt;Hi, &lt;br /&gt;&lt;br /&gt;We&amp;#39;ve tested both with NFC as GPIO and as NFC&lt;/p&gt;
&lt;p&gt;(CFLAGS += -DCONFIG_NFCT_PINS_AS_GPIOS)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Has there been any errata-fixes in newer SDK&amp;#39;s since 15.3 that handles power consumption? Could you please share a good-working hex with us to flash the board and confirm low power consumption?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Johan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption of the nRF52832 (PCA10040 and custom board)</title><link>https://devzone.nordicsemi.com/thread/376506?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2022 20:43:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a64f0302-3fff-4bf4-bdc1-a2856eaa5e2c</guid><dc:creator>jrg</dc:creator><description>&lt;p&gt;I will test again with the NFC-pins as configured to NFC pins and report back the current consumption. &lt;/p&gt;
&lt;p&gt;For now they are both in the default setup - I believe this should be high impedance input so no current should flow between the pins.&lt;/p&gt;
&lt;p&gt;Johan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption of the nRF52832 (PCA10040 and custom board)</title><link>https://devzone.nordicsemi.com/thread/376499?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2022 19:05:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65b46781-af55-4754-bdfe-713d3ecf7542</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Johan&lt;/p&gt;
&lt;p&gt;Do you see ~15uA on your custom board as well? How are the NFC pins configured now? As the product specification says, some increased leakage current between the two pins is to be expected if they are used in GPIO mode, and are driven to different logical values. To save power the two pins should always be set to the same logical value whenever entering one of the device power saving modes.&lt;/p&gt;
&lt;p&gt;Can you try setting P0.09 and P0.10 back to NFC pins&amp;nbsp;and see if the current consumption changes at all to confirm/dismiss this theory?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>