<?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>Decrease I/O Pull up current consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10970/decrease-i-o-pull-up-current-consumption</link><description>Hello, 
 I found this on the forum: 
 
 According to nRF51822 PS v3.1 section 8.23 pullup and pulldown resistors have a typical value of 13kohm. if you have e.g. a button that connects a certain pin to ground when pressed, and the pin is configured</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Dec 2015 13:32:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10970/decrease-i-o-pull-up-current-consumption" /><item><title>RE: Decrease I/O Pull up current consumption</title><link>https://devzone.nordicsemi.com/thread/41021?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2015 13:32:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:551fcf8e-bd30-41ce-b946-6cf234fc1ca2</guid><dc:creator>michaeld</dc:creator><description>&lt;p&gt;1M also works BTW.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decrease I/O Pull up current consumption</title><link>https://devzone.nordicsemi.com/thread/41022?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2015 13:03:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e79e7bc-fce1-4553-abea-620ea7565bd0</guid><dc:creator>michaeld</dc:creator><description>&lt;p&gt;That last thing what is. I thought nrf_gpio_cfg_input()  left my GPIOTE configuration alone. But it did not thank you!&lt;/p&gt;
&lt;p&gt;470K works :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decrease I/O Pull up current consumption</title><link>https://devzone.nordicsemi.com/thread/41020?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2015 12:50:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5c2ce16-c979-471e-9816-bcdf8c44d6cf</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;ok those voltages are pretty much what I&amp;#39;d expect. Surprised it sags as low as 2.2V with just 1M, that&amp;#39;s worth knowing.&lt;/p&gt;
&lt;p&gt;Going back to your original question, you say the I/O change event &amp;#39;is not detected&amp;#39;. What are you using to detect it? I&amp;#39;m pretty sure if you read the GPIO INPUT register it will change when you press the button, if you are using a GPIOTE PORT event however you need to set up the pin to have some kind of SENSE on it, the nrf_gpio_cfg_input() function sets it to SENSE_Disabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decrease I/O Pull up current consumption</title><link>https://devzone.nordicsemi.com/thread/41019?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2015 12:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:908976ef-4a89-49fb-a963-51a3e121d21f</guid><dc:creator>michaeld</dc:creator><description>&lt;p&gt;Thanks for you response.&lt;/p&gt;
&lt;p&gt;Here you can find my schematic: &lt;a href="http://i.imgur.com/E9M6FVs.png"&gt;http://i.imgur.com/E9M6FVs.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I measured the voltage with the switch open its is 3.2V and the supply voltage is also 3.2V. So I really don&amp;#39;t understand why it&amp;#39;s not triggering at 470K ohm. When pressed it is 0V as expected. Only with the 1M and 10M I measured 2.2V and 1.45V at the pin.&lt;/p&gt;
&lt;p&gt;I configured the pin like this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;		nrf_gpio_cfg_input(LEFT_BUTTON, NRF_GPIO_PIN_NOPULL);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decrease I/O Pull up current consumption</title><link>https://devzone.nordicsemi.com/thread/41018?ContentTypeID=1</link><pubDate>Mon, 21 Dec 2015 10:51:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69347302-fbc7-49f8-b9b7-24aec48548ce</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;I can&amp;#39;t see why that would happen. Perhaps at 10M but 470K? You have VCC, the your pullup resistor, then the pin, then the switch and then ground right? So when you press the switch you must absolutely be grounding the pin, it&amp;#39;s a direct connection, it must be at 0V. So the only way you wouldn&amp;#39;t be detecting an event is if the switch is open and the voltage doesn&amp;#39;t rise enough to register a logic-&amp;#39;1&amp;#39;. For that to happen, the resistance to GND of the GPIO input would have to be lower than about 1M at 470K pullup. I find it hard to believe it&amp;#39;s anywhere near that low. Sure you have the pin configured correctly as input, connected etc? What does a meter measure the voltage at with the switch open (and closed which must be 0V)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>