<?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>CURRENT CONSUMPTION BY INTERNAL PULL UP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90424/current-consumption-by-internal-pull-up</link><description>I am connecting a normal tactile switch with the NRF52833 GPIO such that one end of switch goes to the ground and another on the gpio. 
 Now when the switch is pressed my gpio will read a low logic ,now if I pull up the gpio using internal pull up. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 Jul 2022 04:36:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90424/current-consumption-by-internal-pull-up" /><item><title>RE: CURRENT CONSUMPTION BY INTERNAL PULL UP</title><link>https://devzone.nordicsemi.com/thread/379010?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 04:36:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a54ea994-d368-448c-934c-1eac5ca94d2f</guid><dc:creator>zuhaib</dc:creator><description>&lt;p&gt;thanks can you also please tell me what really is high drive and standard drive?&lt;/p&gt;
&lt;p&gt;and I also want the current consumption for SPI and I2C .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CURRENT CONSUMPTION BY INTERNAL PULL UP</title><link>https://devzone.nordicsemi.com/thread/379009?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2022 04:35:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9356df7-d936-412e-8822-653864e5b510</guid><dc:creator>zuhaib</dc:creator><description>&lt;p&gt;exactly thanks for the answer i was working and done some research last night and i also think of the same solution &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CURRENT CONSUMPTION BY INTERNAL PULL UP</title><link>https://devzone.nordicsemi.com/thread/378979?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 16:30:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32ea2727-e521-4ebe-9e07-2b6e81d6cd16</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;You can cheat; only enable the pull-up then&amp;nbsp;read the pin input and see if it is high (switch open) or low (closed).&amp;nbsp; Then disable the pull-up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CURRENT CONSUMPTION BY INTERNAL PULL UP</title><link>https://devzone.nordicsemi.com/thread/378937?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 13:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0a5e119-4739-4ffc-8a22-4fd5e2d0bd46</guid><dc:creator>Bendik Heiskel</dc:creator><description>[quote user="zuhaib"]what if I dont pull up the the gpio ? and try the same thing?[/quote]
&lt;p&gt;If the GPIO pin is not pulled up it will be in a undefined state when the button isn&amp;#39;t pressed This will lead to unexpected behavior and may lead to a higher current draw, if for example a interrupt is used. I would recommend using a pull up for the button in this configuration.&lt;/p&gt;
[quote user="zuhaib"] what is the minimum level of voltage for a logic 0 and logic 1 for the gpio?[/quote]
&lt;p&gt;For logic 0 the voltage range is VSS to 0.3*VDD, and for logic 1 0.7*VDD to VDD.&lt;/p&gt;
&lt;p&gt;More information about the GPIO peripheral can be found here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/gpio.html?cp=4_1_0_5_7_2#unique_1576379008"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52833/gpio.html?cp=4_1_0_5_7_2#unique_1576379008&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CURRENT CONSUMPTION BY INTERNAL PULL UP</title><link>https://devzone.nordicsemi.com/thread/378871?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 10:56:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a812d93-baa8-4be7-bbd5-8595475c9aea</guid><dc:creator>zuhaib</dc:creator><description>&lt;p&gt;what if I dont pull up the the gpio ? and try the same thing? what is the minimum level of voltage for a logic 0 and logic 1 for the gpio?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CURRENT CONSUMPTION BY INTERNAL PULL UP</title><link>https://devzone.nordicsemi.com/thread/378863?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2022 10:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fcd71b1-c928-49ba-bb3a-d0e51e160962</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;When using the internal pullup there will not be any leakage current. Current will only flow when the button is pushed, this current will be equal to VDD/13k.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>