<?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>Toggle pin between SPI and GPIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106607/toggle-pin-between-spi-and-gpio</link><description>Hello, 
 On a project with a custom board with an nRF9160 and an external flash W25Q64, I noticed a strange power consumption behaviour. 
 When my system goes idle, the current is very slowly increasing then decreasing. We are talking a ramp up/down of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Dec 2023 15:34:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106607/toggle-pin-between-spi-and-gpio" /><item><title>RE: Toggle pin between SPI and GPIO</title><link>https://devzone.nordicsemi.com/thread/460415?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 15:34:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c769ccc-f622-4ae6-99a9-dfd299aacf77</guid><dc:creator>Vincent44</dc:creator><description>&lt;p&gt;This solved my issue ! Thanks a lot for the quick response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Toggle pin between SPI and GPIO</title><link>https://devzone.nordicsemi.com/thread/460364?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 12:42:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd7917c4-4cae-450e-b680-c1e183c0b5c6</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;I suspect it is the MISO pin that lacks a pull externally.&lt;/p&gt;
&lt;p&gt;If you have found the pin in question, you can add a pull to the specific pin/group in pinctrl:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;bias-pull-down;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;or a pull-up:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;bias-pull-up;&lt;/pre&gt;&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></channel></rss>