<?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 in idle mode.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121375/power-consumption-in-idle-mode</link><description>We have developed a hardware platform using the NRF5340 on Nordic&amp;#39;s zephyr (version 3.5). 
 Our current consumption in idle mode is still around 330 &amp;#181;A, instead of the expected 20 &amp;#181;A. 
 In idle mode, only the following SoC peripherals should be active</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 11 May 2025 12:58:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121375/power-consumption-in-idle-mode" /><item><title>RE: Power consumption in idle mode.</title><link>https://devzone.nordicsemi.com/thread/534763?ContentTypeID=1</link><pubDate>Sun, 11 May 2025 12:58:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f425bac4-b4c5-4fa6-811b-b5f148d7ace4</guid><dc:creator>eGate2022</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;br /&gt;&lt;br /&gt;Thanks for your help. I am now draining less than 20 µA (including all components around the SOC).&lt;br /&gt;&lt;br /&gt;We can close the case.&lt;br /&gt;&lt;br /&gt;BR/&lt;br /&gt;&lt;br /&gt;Alain&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode.</title><link>https://devzone.nordicsemi.com/thread/534762?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 16:39:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:090d9ac2-018d-4368-9c87-32ea65b0a7b9</guid><dc:creator>eGate2022</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I may have found the problem. I&amp;#39;ll check again and if so, I&amp;#39;ll close the file.&lt;br /&gt;&lt;br /&gt;BR/&lt;br /&gt;&lt;br /&gt;Alain&lt;/p&gt;
&lt;p&gt;one line was missing.&lt;/p&gt;
&lt;div style="background-color:rgba(30, 30, 30, 1);color:rgba(212, 212, 212, 1);font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;nrf_gpiote_latency_set&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;(&lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;NRF_GPIOTE&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;,&lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;GPIOTE_LATENCY_LATENCY_LowPower&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode.</title><link>https://devzone.nordicsemi.com/thread/534761?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 10:41:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88c7f5f4-23e0-49d5-8b6d-39b5be048c8d</guid><dc:creator>eGate2022</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Unfortunately, I can&amp;#39;t share the whole project because the code is huge (4 years of R&amp;amp;D) and the hardware platform is custom.&lt;br /&gt;&lt;br /&gt;When I run an example of sdk code for idle mode that does not involve SOC peripherals (e.g. GPIO), the current consumption is as expected (low). Clearly, the peripherals in question are being driven.&lt;br /&gt;&lt;br /&gt;Is there a way to determine which SOC peripheral is active?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Alain&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode.</title><link>https://devzone.nordicsemi.com/thread/534760?ContentTypeID=1</link><pubDate>Fri, 09 May 2025 06:30:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0c693ad-f8b8-4f11-8f1e-800fcfad3019</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I see you are using a mix of nrfx HAL and zephyr GPIO api and that you are&amp;nbsp;configuring GPIOTE IN events here directly with the nrfx HAL. Are you able to share your project here so I can have a look at it and maybe try to test it on a DK?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode.</title><link>https://devzone.nordicsemi.com/thread/534759?ContentTypeID=1</link><pubDate>Thu, 08 May 2025 22:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bb7f9f0-64d7-4ebf-9882-7b4c24ae216c</guid><dc:creator>eGate2022</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I used the following code and the result is still the same (350µA). I&amp;#39;m not sure if the code is correct.&lt;br /&gt;&lt;br /&gt;BR/&lt;br /&gt;&lt;br /&gt;A.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="background-color:rgba(30, 30, 30, 1);color:rgba(212, 212, 212, 1);font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;gpio_pin_interrupt_configure_dt&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;(&amp;amp;&lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;config&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color:rgba(218, 218, 218, 1);"&gt;pmu_det_spec&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, &lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;GPIO_INT_DISABLE&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;gpio_pin_interrupt_configure_dt&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;(&amp;amp;&lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;config&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color:rgba(218, 218, 218, 1);"&gt;pmu_int_spec&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, &lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;GPIO_INT_DISABLE&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;nrf_gpiote_task_configure&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;(&lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;NRF_GPIOTE&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, &lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;GPIOTE_CHANNEL_INT&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;NRF_GPIO_PIN_MAP&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;(&lt;/span&gt;&lt;span style="color:rgba(181, 206, 168, 1);"&gt;1&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, &lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;config&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color:rgba(218, 218, 218, 1);"&gt;pmu_int_spec&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;.&lt;/span&gt;&lt;span style="color:rgba(218, 218, 218, 1);"&gt;pin&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;),&lt;/span&gt;&lt;span style="color:rgba(106, 153, 85, 1);"&gt; // Port 1, Pin 13&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(184, 215, 163, 1);"&gt;NRF_GPIOTE_POLARITY_HITOLO&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;,&lt;/span&gt;&lt;span style="color:rgba(106, 153, 85, 1);"&gt; // High-to-low transition&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(184, 215, 163, 1);"&gt;NRF_GPIOTE_INITIAL_VALUE_HIGH&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;);&lt;/span&gt;&lt;span style="color:rgba(106, 153, 85, 1);"&gt; // No initial task&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(106, 153, 85, 1);"&gt;// Enable the event for the GPIOTE channel&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;nrf_gpiote_event_enable&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;(&lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;NRF_GPIOTE&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, &lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;GPIOTE_CHANNEL_INT&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;nrf_gpiote_task_configure&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;(&lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;NRF_GPIOTE&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, &lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;GPIOTE_CHANNEL_DET&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;NRF_GPIO_PIN_MAP&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;(&lt;/span&gt;&lt;span style="color:rgba(181, 206, 168, 1);"&gt;1&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, &lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;config&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;-&amp;gt;&lt;/span&gt;&lt;span style="color:rgba(218, 218, 218, 1);"&gt;pmu_det_spec&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;.&lt;/span&gt;&lt;span style="color:rgba(218, 218, 218, 1);"&gt;pin&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;),&lt;/span&gt;&lt;span style="color:rgba(106, 153, 85, 1);"&gt; // Port 1, Pin 14&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(184, 215, 163, 1);"&gt;NRF_GPIOTE_POLARITY_HITOLO&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;,&lt;/span&gt;&lt;span style="color:rgba(106, 153, 85, 1);"&gt; // High-to-low transition&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(184, 215, 163, 1);"&gt;NRF_GPIOTE_INITIAL_VALUE_HIGH&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;);&lt;/span&gt;&lt;span style="color:rgba(106, 153, 85, 1);"&gt; // No initial task&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(106, 153, 85, 1);"&gt;// Enable the event for the GPIOTE channel&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt; &lt;/span&gt;&lt;span style="color:rgba(200, 200, 200, 1);"&gt;nrf_gpiote_event_enable&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;(&lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;NRF_GPIOTE&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;, &lt;/span&gt;&lt;span style="color:rgba(189, 99, 197, 1);"&gt;GPIOTE_CHANNEL_DET&lt;/span&gt;&lt;span style="color:rgba(212, 212, 212, 1);"&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode.</title><link>https://devzone.nordicsemi.com/thread/534758?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 21:47:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:814fb2d8-d092-4585-aaf6-3222a152610e</guid><dc:creator>eGate2022</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you i will try it.&lt;/p&gt;
&lt;p&gt;BR/&lt;/p&gt;
&lt;p&gt;A.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in idle mode.</title><link>https://devzone.nordicsemi.com/thread/534757?ContentTypeID=1</link><pubDate>Wed, 07 May 2025 12:52:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9967f89-f2bc-4265-8ef1-7aeba367560e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Alain,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t think of anything that should cause a floor current of&amp;nbsp;&lt;span&gt;330 ua, but for the button interrupts, are you using the PORT interrupt and not the GPIOTE IN events? The latter will lead to an higher floor current.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;How to use port events:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/121215/how-to-reduce-nrf52840-gpiote-s-power-consume-under-ncs-2-9-1"&gt;how to reduce NRF52840 GPIOTE&amp;#39;s power consume under NCS 2.9.1 ?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>