<?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>pin sinking current at poweroff</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85361/pin-sinking-current-at-poweroff</link><description>Dear Nordic, 
 we developed firmware based on S112 and SDK 17.1.0. We have a problem with poweroff routine: at poweroff the status LED is ON. 
 this is part of our circuit, its very simple: 
 
 
 and the code is short too: 
 
 The issue is that when I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Mar 2022 13:53:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85361/pin-sinking-current-at-poweroff" /><item><title>RE: pin sinking current at poweroff</title><link>https://devzone.nordicsemi.com/thread/356076?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 13:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e990032c-8e06-43c6-af1f-ece59b417691</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;nrf_gpio_cfg_default should reset the pin configuration to its default state, which is input with input buffer disconnected. So, when input buffer is disconnected it should go back to reset state. You can set a breakpoint between&amp;nbsp;vInit_StatLED() and sd_power_system_off() to observe if the LEDs are off before entering System OFF mode.&lt;/p&gt;
&lt;p&gt;You can also check the GPIO peripheral pin configuration (&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52811/gpio.html?cp=4_4_0_5_7_1_9#register.PIN_CNF-0-31"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52811/gpio.html?cp=4_4_0_5_7_1_9#register.PIN_CNF-0-31&lt;/a&gt;)&amp;nbsp; to see that the pin (PIN_CNF) is set with the default configuration. PIN_CNF should read 0x00000002.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pin sinking current at poweroff</title><link>https://devzone.nordicsemi.com/thread/356040?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 12:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2377528f-bec1-46db-ab18-4a4774af14a9</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello Stefano,&lt;/p&gt;
&lt;p&gt;I have started looking at your case. I will give you the reply shortly.&lt;/p&gt;
&lt;p&gt;Best&amp;nbsp; Regards&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>