<?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>Fluctuating Idle Current when Using SPI1 (nRF52832)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125952/fluctuating-idle-current-when-using-spi1-nrf52832</link><description>Hello, 
 I am using the ANNA-B112 module with nRF52832 to communicate to an AD5940 AFE using SPI1. I am also communicating with three other sensors using I2C0. This project uses nRF Connect SDK v3.0.0. I have posted the .dts and .overlay files that I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Dec 2025 17:07:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125952/fluctuating-idle-current-when-using-spi1-nrf52832" /><item><title>RE: Fluctuating Idle Current when Using SPI1 (nRF52832)</title><link>https://devzone.nordicsemi.com/thread/556592?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 17:07:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f164d102-d872-4973-b565-0ebfb6d6a8e2</guid><dc:creator>Crisvin_K</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, I&amp;#39;ll keep this low-power practice in mind for the future.&lt;/p&gt;
&lt;p&gt;Thank you,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Crisvin K.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fluctuating Idle Current when Using SPI1 (nRF52832)</title><link>https://devzone.nordicsemi.com/thread/556591?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 17:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d2145d4-330c-441c-a73c-8cd51790cb84</guid><dc:creator>Crisvin_K</dc:creator><description>&lt;p&gt;Hello hmolesworth,&lt;/p&gt;
&lt;p&gt;I appreciate you linking this article.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;Crisvin K.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fluctuating Idle Current when Using SPI1 (nRF52832)</title><link>https://devzone.nordicsemi.com/thread/556589?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 16:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5eb2d01-7233-44e3-b0e0-23883e01523a</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;&lt;span&gt;All GPIO input pins with slow rise/fall or floating inputs exhibit feedthrough leakage when the input happens to float towards the input voltage threshold; this note is from TI but most manufacturers have similar notes:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://www.ti.com/lit/an/scba004e/scba004e.pdf"&gt;scba004e&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fluctuating Idle Current when Using SPI1 (nRF52832)</title><link>https://devzone.nordicsemi.com/thread/556556?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 13:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:536056f0-f3ec-4041-9e96-c5ea6d4dcc99</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Good to hear that.&lt;/p&gt;
[quote user="Crisvin_K"]Is it expected that these pins should be pulled down to minimize current consumption?[/quote]
&lt;p&gt;If you ask me whether it&amp;#39;s mandatory, I would say no.However, from a hardware perspective, floating GPIO inputs can cause significant leakage current. So adding pull-downs on SCK/MOSI/MISO is a recommended low-power practice&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fluctuating Idle Current when Using SPI1 (nRF52832)</title><link>https://devzone.nordicsemi.com/thread/556481?ContentTypeID=1</link><pubDate>Mon, 08 Dec 2025 14:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46719375-411f-415d-97ee-820c196a0e87</guid><dc:creator>Crisvin_K</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your response. However, I think I&amp;nbsp;found a solution that solves the fluctuating current by making sure SCK, MOSI, and MISO are pulled down while not communicating.&amp;nbsp;&lt;span style="font-family:inherit;"&gt;Here is how I updated my .overlay file.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;pre class="ui-code" data-mode="text"&gt;// SPI Pin Definitions
	// SCK: nRF Pin 20 -&amp;gt; ANNA-B112 Pin 45
	// MOSI: nRF Pin 19 -&amp;gt; ANNA-B112 Pin 35
	// MISO: nRF Pin 24 -&amp;gt; ANNA-B112 Pin 38
	spi1_default: spi1_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 20)&amp;gt;,
					&amp;lt;NRF_PSEL(SPIM_MOSI, 0, 19)&amp;gt;,
					&amp;lt;NRF_PSEL(SPIM_MISO, 0, 24)&amp;gt;;
			bias-pull-down;
		};
	};
	spi1_sleep: spi1_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(SPIM_SCK, 0, 20)&amp;gt;,
					&amp;lt;NRF_PSEL(SPIM_MOSI, 0, 19)&amp;gt;,
					&amp;lt;NRF_PSEL(SPIM_MISO, 0, 24)&amp;gt;;
			bias-pull-down;
			low-power-enable;
		};
	};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;I used the line &amp;quot;bias-pull-down&amp;quot; which ensures that SCK, MOSI, and MISO are not floating. Now the current consumption stays at 4 uA and does not fluctuate when I touch the board or leave it alone for extended periods of time and communication still works correctly.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Is it expected that these pins should be pulled down to minimize current consumption?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Thank you,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;Crisvin K.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fluctuating Idle Current when Using SPI1 (nRF52832)</title><link>https://devzone.nordicsemi.com/thread/556438?ContentTypeID=1</link><pubDate>Mon, 08 Dec 2025 11:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7441ce0f-45bb-4a0a-864a-5a77bbca0bf2</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Which SDK version are you using?&lt;/p&gt;
&lt;p&gt;To help narrow down the root cause, please try temporarily disabling the &lt;code&gt;sense-edge-mask&lt;/code&gt; in your overlay file. You can either comment out the line or set the mask to &lt;code&gt;0&lt;/code&gt;. This will make the GPIO driver fall back to the default GPIOTE-based interrupt handling instead of the PORT/SENSE workaround.&lt;/p&gt;
&lt;p&gt;There is a&lt;a href="https://docs.nordicsemi.com/bundle/errata_nRF52832_Rev1/page/ERR/nRF52832/Rev1/latest/anomaly_832_97.html"&gt; known anomaly when using GPIOTE for input interrupts&lt;/a&gt;, but the extra current from that is only on the order of a few tens of uA much smaller than the ~500 uA jumps you are seeing. So this test is safe and useful for diagnosis.&lt;/p&gt;
&lt;p&gt;After removing the &lt;code&gt;sense-edge-mask&lt;/code&gt;, please measure the idle current again. If the 4\5 µA to&amp;nbsp; 500 uA fluctuations disappear, then we can confirm that the SENSE-based workaround is contributing to the issue. If the behavior is unchanged, we can rule it out and look elsewhere.&lt;/p&gt;
&lt;p&gt;This step will help us isolate whether the interrupt configuration on GPIO0 is causing the unexpected current spikes.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fluctuating Idle Current when Using SPI1 (nRF52832)</title><link>https://devzone.nordicsemi.com/thread/556044?ContentTypeID=1</link><pubDate>Tue, 02 Dec 2025 17:05:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9dbc377-7aa4-4c1b-a26c-c9c7fc35c543</guid><dc:creator>Crisvin_K</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will also include this video of the behavior I am noticing as well.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1832.Video.mp4"&gt;devzone.nordicsemi.com/.../1832.Video.mp4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Note that in this video I am not pressing the button SW2, I am just touching the side of the button.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>