<?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>High power consumption on simple GPIO interrupt application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112126/high-power-consumption-on-simple-gpio-interrupt-application</link><description>Hello, nordic team 
 I have encountered unusually high power consumption in a simple GPIO edge interrupt application running on a custom nRF9160 board. The application is developed using the nRF Connect SDK v2.5.2. 
 The application consumes around 4mA</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jun 2024 11:05:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112126/high-power-consumption-on-simple-gpio-interrupt-application" /><item><title>RE: High power consumption on simple GPIO interrupt application</title><link>https://devzone.nordicsemi.com/thread/488842?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 11:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ba51470-057d-4bb8-b42b-1a22bb7604d7</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please see known issue&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/known_issues.html#modem_library"&gt;&lt;span&gt;NCSDK-10106&lt;/span&gt;&lt;/a&gt;.&amp;nbsp;&lt;span&gt;When running applications that do not enable&amp;nbsp;&lt;/span&gt;&lt;a title="(in nrfxlib v2.6.99)" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/nrf_modem/README.html#nrf-modem"&gt;&lt;span&gt;Modem library&lt;/span&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;on nRF9160 with build code B1A, current consumption will stay at 3 mA when in sleep. Try to init your modem so that it will have the correct sleep current&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Runar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption on simple GPIO interrupt application</title><link>https://devzone.nordicsemi.com/thread/488835?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 09:52:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abd97bbd-a35c-4913-b4d1-191814d6e31e</guid><dc:creator>BilalAliAhmad</dc:creator><description>&lt;div class="flex flex-grow flex-col max-w-full"&gt;
&lt;div dir="auto" data-message-author-role="assistant" data-message-id="57d31c72-d986-49a1-bf3b-8e0934056b12"&gt;
&lt;div&gt;
&lt;div class="markdown prose w-full break-words dark:prose-invert dark"&gt;
&lt;p&gt;Change interrupt type from edge to level, either active high or active low, and you will see a significant drop in current. This seems to be an issue with GPIO interrupt APIs when using edge-triggered interrupts. In my case, using level-triggered interrupts instead of edge-triggered ones significantly reduced the current.&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="mt-1 flex gap-3 empty:hidden juice:-ml-3"&gt;
&lt;div class="items-center justify-start rounded-xl p-1 flex"&gt;
&lt;div class="flex items-center"&gt;
&lt;div class="flex items-center pb-0.5 juice:pb-0"&gt;&lt;span class="line-clamp-1 text-sm"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ret = gpio_pin_interrupt_configure(pulse.port,pulse.pin,GPIO_INT_LEVEL_LOW);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>