<?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>gpio stay in high state</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78776/gpio-stay-in-high-state</link><description>Hi, 
 I have a GPIO used as input or output. When it&amp;#39;s used as an input (99% of the time), I have an interruption on it (falling and rising edge). 
 When I use it as a output, I only do this: 
 
 This code is only call in one place, in the main function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Aug 2021 06:18:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78776/gpio-stay-in-high-state" /><item><title>RE: gpio stay in high state</title><link>https://devzone.nordicsemi.com/thread/326084?ContentTypeID=1</link><pubDate>Mon, 23 Aug 2021 06:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b5772e0-b6fd-4303-9968-6c2fb4a4426e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Your input is floating. You should pull it to a defined level, with either setting internal pull resistor in the NRF_GPIO-&amp;gt;PIN_CNF register, or by adding an external pull-resistor on this line.&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><item><title>RE: gpio stay in high state</title><link>https://devzone.nordicsemi.com/thread/325989?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 13:30:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddcc8e9f-492b-48e4-964c-24cc555e53f5</guid><dc:creator>PaulAlexandreP</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;no I haven&amp;#39;t, but is it possible that the pin&amp;nbsp;stays in high state if the nRF stays in reset ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gpio stay in high state</title><link>https://devzone.nordicsemi.com/thread/325907?ContentTypeID=1</link><pubDate>Fri, 20 Aug 2021 10:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4faf1c2-fd1d-46eb-a162-01a43f6b35f2</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;
[quote user=""]&amp;quot;Sometimes&amp;quot; (that the pain point), the pin stay on high level. I don&amp;#39;t know if the problem is only the pin state or the nRF itself is in a strange state (I use this pin to wakeup the nRF). I never see the problem on debug mode, only see on release.[/quote]
&lt;p&gt;Do you have an external pull-resistor on the specific pin? it seems that you&amp;#39;re currently configuring it with no pull, meaning that you will need an external source that pulls the pin to a idle state.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>