<?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>Large variability in power consumption of nRF5340 GPIOTE in event mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112025/large-variability-in-power-consumption-of-nrf5340-gpiote-in-event-mode</link><description>I have been working on finding the cause to an unexpectedly high power power consumption in several newly produced units of our product based on nRF5340. I believe I have narrowed it down to edge triggered GPIOs in EVENT mode. 
 Here is a minimal application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 13 Jun 2024 14:12:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112025/large-variability-in-power-consumption-of-nrf5340-gpiote-in-event-mode" /><item><title>RE: Large variability in power consumption of nRF5340 GPIOTE in event mode</title><link>https://devzone.nordicsemi.com/thread/488711?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 14:12:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4915b5a5-b9c4-4bb3-9080-30b144de5ee4</guid><dc:creator>abxy</dc:creator><description>&lt;p&gt;Thank you. That&amp;#39;s just what I needed to know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large variability in power consumption of nRF5340 GPIOTE in event mode</title><link>https://devzone.nordicsemi.com/thread/488648?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 10:53:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c267816f-71a9-4d8b-a74a-7d762c2d3ec7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is a high variation on the GPIOTE current consmption from device to device, and these numbers are&amp;nbsp;within what we would expect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Large variability in power consumption of nRF5340 GPIOTE in event mode</title><link>https://devzone.nordicsemi.com/thread/488446?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 08:41:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f712dce1-ce5b-4289-954d-4dce59c3d213</guid><dc:creator>abxy</dc:creator><description>&lt;p&gt;I performed some additional experiments and measurements this morning. All current measurements are done on the 1.8V net that feeds VDD of the nRF5340. Here are the results (current in uA):&lt;/p&gt;
&lt;table border="0" cellspacing="0"&gt;&lt;colgroup span="6" width="85"&gt;&lt;/colgroup&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td align="left" height="17"&gt;Board&lt;/td&gt;
&lt;td align="left" height="17"&gt;
&lt;p&gt;Interrupt/DCDC&lt;/p&gt;
&lt;/td&gt;
&lt;td align="left"&gt;Interrupt/LDO&lt;/td&gt;
&lt;td align="left"&gt;Interrupt/LowPower&lt;/td&gt;
&lt;td align="left"&gt;Power-off&lt;/td&gt;
&lt;td align="left"&gt;Idle&lt;/td&gt;
&lt;td align="left"&gt;CONSTLAT&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left;" align="right" height="17"&gt;A&lt;/td&gt;
&lt;td align="right" height="17"&gt;82&lt;/td&gt;
&lt;td align="right"&gt;250&lt;/td&gt;
&lt;td align="right"&gt;3.7&lt;/td&gt;
&lt;td align="right"&gt;0.96&lt;/td&gt;
&lt;td align="right"&gt;3.7&lt;/td&gt;
&lt;td align="right"&gt;2594&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="text-align:left;" align="right" height="17"&gt;B&lt;/td&gt;
&lt;td align="right" height="17"&gt;196&lt;/td&gt;
&lt;td align="right"&gt;564&lt;/td&gt;
&lt;td align="right"&gt;5.9&lt;/td&gt;
&lt;td align="right"&gt;1.17&lt;/td&gt;
&lt;td align="right"&gt;5.9&lt;/td&gt;
&lt;td align="right"&gt;2946&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Explanation of the different scenarios:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Interrupt/DCDC - Same application as in my original question, but a new measurement performed this morning.&lt;/li&gt;
&lt;li&gt;Interrupt/LDO - Same as original question with the addition of &lt;code&gt;CONFIG_BOARD_ENABLE_DCDC_APP=n&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Interrupt/LowPower - Same as original question with the addition of calling&lt;code&gt; nrfx_gpiote_latency_set(NRF_GPIOTE_LATENCY_LOWPOWER);&lt;/code&gt; before configuring the GPIO pin.&lt;/li&gt;
&lt;li&gt;Power-off: Just calling &lt;code&gt;sys_poweroff();&lt;/code&gt; in &lt;code&gt;main()&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Idle: Empty &lt;code&gt;main()&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;CONSTLAT: Just calling&lt;code&gt; nrf_power_task_trigger(NRF_POWER, NRF_POWER_TASK_CONSTLAT);&lt;/code&gt; in &lt;code&gt;main()&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Across the board we can see that sample B consumes more power than sample A. The absolute and relative differences vary depending on what scenario is tested. I believe this shows quite conclusively that the variability is intrinsic to the MCUs and not something caused by another component on the board, with the possible exception of some supporting component to the MCU e.g. the crystals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>