<?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 Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23903/gpio-behaviour-during-power-down-nrf52832</link><description>Hi Nordic, 
 I&amp;#39;ve used a GPIO of the NRF52832 to drive a FET circuit which latches off the battery, however as the board voltage collapses I see a short pulse on the GPIO pin, which reconnects the battery. 
 Would appreciate if you could suggest a work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Aug 2017 14:46:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23903/gpio-behaviour-during-power-down-nrf52832" /><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94067?ContentTypeID=1</link><pubDate>Wed, 02 Aug 2017 14:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ae44d90-6a1b-440c-8b06-72e6b515a409</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Moved to Mypage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94061?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 16:54:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4c8a003-54b0-41b7-96df-254b522cbf51</guid><dc:creator>x_mike</dc:creator><description>&lt;p&gt;Hi Bjorn,&lt;/p&gt;
&lt;p&gt;Thanks for the update.&lt;/p&gt;
&lt;p&gt;Regards,
Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94060?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 08:40:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27b637ad-6d20-40d3-b8f8-c99404ef2af3</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi x_mike, I am able to reproduce a smiliar behaviour, see the screen shot below&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/logic_5F00_trace.JPG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I am unsure why this behavior occurs, but I will investigate and come back to you after discussing this internally.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94065?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 22:34:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b52c482a-1830-499e-b077-5c2f6018d10d</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;OK.&lt;/p&gt;
&lt;p&gt;Shame its still glitching when its in input mode :-(&lt;/p&gt;
&lt;p&gt;Hopefully Nordic will be able to give you a software solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94064?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 22:16:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a1c79e5-b2f8-4b93-8c97-a2d3bf3dea3b</guid><dc:creator>x_mike</dc:creator><description>&lt;p&gt;Thanks, I will create a support request.  Wasn&amp;#39;t aware of that option.&lt;/p&gt;
&lt;p&gt;I have tried setting the pin back to being an input before removing power, but still saw the pulse.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94063?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 22:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8d7c50f-b21b-4cac-a10e-533b20a7928c</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Hi Mike&lt;/p&gt;
&lt;p&gt;This sounds like something Nordic need to respond to.&lt;/p&gt;
&lt;p&gt;I would create a support request via their MyPage system.&lt;/p&gt;
&lt;p&gt;PS. My only other thoughts are to potentially fit a FET with less gain ( which is the same package) but that still may not work.&lt;/p&gt;
&lt;p&gt;You could potentially also try detecting the power being turned off and put the GPIO into input mode.&lt;/p&gt;
&lt;p&gt;Or as you already have a pull down, you could try not setting and clearing the pin, but switch it from output to input mode , as in input mode the pin will be pulled low.&lt;/p&gt;
&lt;p&gt;In fact perhaps you should try my last idea first ;-)&lt;/p&gt;
&lt;p&gt;Edit.&lt;/p&gt;
&lt;p&gt;Looks like you may have already tried it in input mode, but I am not sure...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94062?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 16:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe955fe1-5db3-4448-93c7-d4d68f78182f</guid><dc:creator>x_mike</dc:creator><description>&lt;p&gt;Hi Roger,&lt;/p&gt;
&lt;p&gt;Thanks for looking at this.&lt;/p&gt;
&lt;p&gt;Yes exactly, at about Vdd = 0.6V, the GPIO pin suddenly appears to be connected to Vdd.  About 0.75 seconds later, after futher decay of Vdd, the GPIO pulls back to GND.   This happens on the GPIO where I have a FET connected with a pull down resistor, but it also happens on GPIO pin P0.23, which has nothing connected other than my scope.  And oddly it does not happen on P0.24.&lt;/p&gt;
&lt;p&gt;I have a pull down on the FET to keep it off by default, even so the pulse is able to turn on the FET.   The FET is not fully on, but the circuit driven by the FET is sensitive and responds event to the partial on state of the FET, and yes the FET drives a circuit which remains powered.&lt;/p&gt;
&lt;p&gt;I could alter my circuit to deal with the pulse, but this would be a respin of the board layout, so I am hoping there might be a software fix.  Perhaps its possible to for instance turn off the power feed to the GPIOs.   Probably requires someone at Nordic to take a look, as I haven&amp;#39;t seen any published details of internal GPIO driver circuit.&lt;/p&gt;
&lt;p&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94059?ContentTypeID=1</link><pubDate>Sun, 30 Jul 2017 10:42:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e292225-717a-4e58-b106-9dbc366737fd</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;OK.&lt;/p&gt;
&lt;p&gt;Its interesting that this only appears to happen on specific pins.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not entirely sure I understand what you are saying.&lt;/p&gt;
&lt;p&gt;You seem to be saying that when you remove the power from the nRF52 that the voltage on that pin decays to a specific point and then latches up to the Vdd voltage, which then continues to decay&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure why this would be an issue, unless you are powering the FET from a different supply which is not turned off, or you are feeding the output of the FET to some other circuit which you are not turning off.&lt;/p&gt;
&lt;p&gt;Have you tried pulling the input to the FET low via a 10k or perhaps a 4.7k resistor etc&lt;/p&gt;
&lt;p&gt;Does it does this even if the FET is not attached?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94058?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 23:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f80a35d-09f2-40a0-8479-2babbda07075</guid><dc:creator>x_mike</dc:creator><description>&lt;p&gt;Whoops, that would be a good think to mention.
I&amp;#39;m using a NRF52832&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO Behaviour During Power Down (NRF52832)</title><link>https://devzone.nordicsemi.com/thread/94066?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2017 22:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfd91839-b6ba-48df-89b9-294ba767defa</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Which MCU are you using? nRF51 or nRF52?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>