<?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>How to control no-used GPIO(NC) pins to save current consumption?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59037/how-to-control-no-used-gpio-nc-pins-to-save-current-consumption</link><description>Hi. 
 I&amp;#39;m using nRF52832. 
 There are some NC pins in my schematics. 
 How to control them to save current consumption? 
 Making them output and low is the best solution?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Mar 2020 02:25:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59037/how-to-control-no-used-gpio-nc-pins-to-save-current-consumption" /><item><title>RE: How to control no-used GPIO(NC) pins to save current consumption?</title><link>https://devzone.nordicsemi.com/thread/239628?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 02:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db4f3eae-4ff7-4e25-aad9-5549499a5856</guid><dc:creator>jacksong</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Actualy, after reset , GPIO default state is that config. I&amp;#39;m not sure what will happen&amp;nbsp;, and in my project, i set all of&amp;nbsp; GPIOs&amp;nbsp;with&amp;nbsp;default config at hardware init, and works well&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control no-used GPIO(NC) pins to save current consumption?</title><link>https://devzone.nordicsemi.com/thread/239624?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 01:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2be36d20-5206-417a-a8d4-70bdbda51dbc</guid><dc:creator>Roger01</dc:creator><description>&lt;p&gt;Hi Jacksong. thank you very much for your reply.&lt;/p&gt;
&lt;p&gt;What if I don&amp;#39;t set GPIO for NC-pins, does it make current leakage?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to control no-used GPIO(NC) pins to save current consumption?</title><link>https://devzone.nordicsemi.com/thread/239623?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 01:50:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3dbd63fb-9fc7-45b4-b224-f9cde9c2b43d</guid><dc:creator>jacksong</dc:creator><description>&lt;p&gt;you can use&amp;nbsp;nrf_gpio_cfg_default(x) to set NC-pin with input and disconnect.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;__STATIC_INLINE void nrf_gpio_cfg_default(uint32_t pin_number)
{
    nrf_gpio_cfg(
        pin_number,
        NRF_GPIO_PIN_DIR_INPUT,
        NRF_GPIO_PIN_INPUT_DISCONNECT,
        NRF_GPIO_PIN_NOPULL,
        NRF_GPIO_PIN_S0S1,
        NRF_GPIO_PIN_NOSENSE);
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>