<?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>Increased Current Consumption after GPIO Interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/117340/increased-current-consumption-after-gpio-interrupt</link><description>Hello, 
 We are working on an integration between a nRF52832 and ST LIS3DH accelerometer on our custom board, using SDK 15.2.0 with SoftDevice and BLE enabled, and have observed an increase in idle current draw after the first interrupt from the accelerometer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Dec 2024 20:28:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/117340/increased-current-consumption-after-gpio-interrupt" /><item><title>RE: Increased Current Consumption after GPIO Interrupt</title><link>https://devzone.nordicsemi.com/thread/516001?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2024 20:28:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbc26501-c76a-4d67-8483-05e9ed5e95b2</guid><dc:creator>Christian Braun</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon. You are correct, data is being aliased due to the sampling rate in the previous recordings. Attached are a .ppk2 file of&amp;nbsp;the recording of a test similar to those above at 100kS/s, as well as a screenshot showing the transition period before and after the interrupt event at approximately 22.7s. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;No debounce is being applied to the manually triggered interrupt. The ~2mA current spikes for ~0.2s after the interrupt can be attributed to this as a GPIO attached to a level shifter with pullups is being driven to observe and confirm the interrupt is triggered. The ~1.5s period current spikes are another processor on the board waking up periodically. I also wrapped the&amp;nbsp;nrf_pwr_mgmt_run() call in main() with a GPIO toggle to observe wake events, and did not observe a difference before and after the interrupt event.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/ppk_2D00_20241220T201032.png" alt=" " /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ppk2_2D00_20241220T201045.ppk2"&gt;devzone.nordicsemi.com/.../ppk2_2D00_20241220T201045.ppk2&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increased Current Consumption after GPIO Interrupt</title><link>https://devzone.nordicsemi.com/thread/515655?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2024 08:34:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8894f765-3ac7-4693-bdc2-954b43575e88</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I read your graphs correctly, you are going from approx. 20 uA -&amp;gt; 60 uA after the interrupt has occurred.&lt;/p&gt;
&lt;p&gt;pin is configured with PORT, with emulated edge triggering, but you are also seeing similar behavior when using &amp;quot;hi_accuracy&amp;quot; (ie. GPIOTE.IN).&lt;/p&gt;
&lt;p&gt;What is the sampling rate of your current profile? I fear that aliasing is causing the current consumption curve to be smoothed out, so that we loose potential wake-up events. Do you have access to a PPK2 or similar which has a higher sampling rate?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increased Current Consumption after GPIO Interrupt</title><link>https://devzone.nordicsemi.com/thread/515597?ContentTypeID=1</link><pubDate>Wed, 18 Dec 2024 20:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:066877bf-97a7-49c6-90f5-c1d20277ccd6</guid><dc:creator>Christian Braun</dc:creator><description>&lt;p&gt;Thank you for your input. We are aware of Errata 89 and have implemented the fix per the documentation. In the tests above, the TWI peripheral was still enabled and I2C interactions occurred outside the interrupt service.&lt;/p&gt;
&lt;p&gt;We disabled the TWI peripheral in the sdk_config.h file and commented out the instantiation and relevant application code. Additionally, BLE advertising and other pieces of proprietary application code were disabled to limit other possible interactions. Unfortunately the increase in current consumption after the interrupt event is still present even under these conditions.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1734553512050v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Increased Current Consumption after GPIO Interrupt</title><link>https://devzone.nordicsemi.com/thread/515208?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2024 00:32:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97846046-5794-45b8-8511-bce48b843f39</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;We once hit a similar issue in SDK 15 related to Errata&amp;nbsp;89 &amp;quot;&lt;em&gt;GPIOTE: Static 400 &amp;mu;A current while using GPIOTE&lt;/em&gt;&amp;quot; so the question is even though no TWI transactions occur within the interrupt does the TWI still get initialised or used at all outside the interrupt? If so maybe try not initialising TWI for the port pin test.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>