<?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>nRF52 reset behaviour on GPIO output pins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22255/nrf52-reset-behaviour-on-gpio-output-pins</link><description>Hi. I have a board here based on the nRF52832, using SD 132 and SDK 13.0.0, with a modem on it that I&amp;#39;d like to keep powered on even when the Nordic is in system off mode. Power to the modem is controlled by a GPIO output pin on the Nordic: 
 nrf_gpio_cfg_output</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 May 2017 11:15:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22255/nrf52-reset-behaviour-on-gpio-output-pins" /><item><title>RE: nRF52 reset behaviour on GPIO output pins</title><link>https://devzone.nordicsemi.com/thread/87482?ContentTypeID=1</link><pubDate>Thu, 25 May 2017 11:15:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61901418-a9c7-40e6-b2a8-0ccbf2a4ddb6</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;That&amp;#39;s what I would suspect: GPIOs might get reset in start-up code before you even enter your main function. Still I would debug this by temporarily redirecting this GPIO to some line which is accessible for logical analyzer/oscilloscope (in the worst case I assume you have P0.21 aka SWD RESET which can be re-purposed as GPIO) and see when exactly line drops to LOW and for how long. If you have another spare GPIO it might be good to use it for signalling where in the code you are (before going to SYSTEM_OFF/after waking up through reset) so you can see when exactly the line get reset (which might indicate if it is in SW - potentially patchable - or if it is HW property of the chip - and so hard to workaround). I&amp;#39;m not and HW engineer but I assume that some capacity might solve this effect (short LOW pulse would still look like HIGH on output)...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 reset behaviour on GPIO output pins</title><link>https://devzone.nordicsemi.com/thread/87481?ContentTypeID=1</link><pubDate>Thu, 25 May 2017 07:06:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:572b67be-7dc2-429b-8f01-9fec21ce584e</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;It&amp;#39;s on a development board where I don&amp;#39;t have good access to the pin, at least not with all the motion I need to subject the board to in order to get it to wake from sys off, so it&amp;#39;s not going to be possible to hook up my logic analyser. But I do have an LED on the board showing the state of the pin and whether the modem has power. If I run gdb and let it break at the top of main, the pin has already gone low by then. None of my code has executed, so it&amp;#39;s not something I&amp;#39;m doing in my code that has set it low.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 reset behaviour on GPIO output pins</title><link>https://devzone.nordicsemi.com/thread/87480?ContentTypeID=1</link><pubDate>Tue, 23 May 2017 09:31:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f872696-be9e-4f6e-a099-64dc31b5e0e9</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Any chance to catch the sequence on that GPIO line with fast logical analyzer or oscilloscope? If it realy goes HIGH/LOW/HIGH during wake-up of nRF5x from SYSTEM_OFF then for how long? You can detect this in FW through RESETREAS or GPREGRET registers so then during init sequence of your GPIO output PIN you can avoid certain steps (if they cause change of GPIO line state).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>