<?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>Npm1100 SHPHLD button shared with GPIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102390/npm1100-shphld-button-shared-with-gpio</link><description>I am currently developing a board with the npm1100 and nrf52832. I want to make use of the npm1100 ship mode to achieve a very lower power off mode. 
 I want to use a button connected to SHPHLD to power on again but I also want to connect the same button</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Jul 2025 15:42:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102390/npm1100-shphld-button-shared-with-gpio" /><item><title>RE: Npm1100 SHPHLD button shared with GPIO</title><link>https://devzone.nordicsemi.com/thread/543798?ContentTypeID=1</link><pubDate>Mon, 28 Jul 2025 15:42:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0263faaa-c384-4d73-b429-b17b140298ab</guid><dc:creator>Bram de Wit</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I know this is an old thread, but I have the same design constraints, so I figured this answer might also be useful to others&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you want to have the SHPHLD pin attached to a button that is also attached to the I/O of an MCU you could simply configure the button as active low and use a diode to prevent current from flowing from the SHPHLD pin towards the MCU.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here you can see how that would look like with the button pressed. The MCU voltage is still pulled to a logic low level.&lt;br /&gt;&lt;br /&gt;&lt;img style="height:463px;max-width:611px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1222x926/__key/communityserver-discussions-components-files/4/Screenshot-2025_2D00_07_2D00_28-at-17.31.53.png" width="611" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And here you can see what that would look like with the button unpressed/floating. As you can see there is no current flow&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="448" src="https://devzone.nordicsemi.com/resized-image/__size/1226x896/__key/communityserver-discussions-components-files/4/Screenshot-2025_2D00_07_2D00_28-at-17.34.46.png" width="613" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Bram&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Npm1100 SHPHLD button shared with GPIO</title><link>https://devzone.nordicsemi.com/thread/439069?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2023 14:24:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3ec5523-b49b-4a6e-b9ea-68ac6bd67845</guid><dc:creator>Jared</dc:creator><description>[quote user="mccleanp"]The device is a small wearable device - there simply isn&amp;#39;t space for many buttons. I was intending to use the ship mode as the main power-off mode since it isolates the battery, instead of powering down the MCU and all the peripherals. Maybe this is the wrong approach?[/quote]
&lt;p&gt;Just to be clear, you can still put the device into ship mode and exit it without using SHPHLD:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;There are two ways to exit Ship mode. Either connect the USB (&lt;span&gt;VBUS&lt;/span&gt;) or set&amp;nbsp;&lt;span&gt;SHPHLD&lt;/span&gt;&amp;nbsp;low for a minimum period of&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_npm1100/product_overview.html?cp=7_0_0_2_4#sys_el_param__table_ffb_fxs_cmb"&gt;t&lt;sub&gt;shipToActive&lt;/sub&gt;&lt;/a&gt;. The battery supply (&lt;span&gt;VBAT&lt;/span&gt;) is used to hold&amp;nbsp;&lt;span&gt;SHPHLD&lt;/span&gt;&amp;nbsp;high through a weak pull-up resistor when Ship mode is enabled. A circuit to pull down&amp;nbsp;&lt;span&gt;SHPHLD&lt;/span&gt;&amp;nbsp;is optional (see the Button switch shown in the following figure). &lt;strong&gt;If no pull-down circuit is present, Ship mode is exited when&amp;nbsp;&lt;span&gt;VBUS&lt;/span&gt;&amp;nbsp;is connected.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re restricted to only using one button then I think you have the choice of either not using the pull-down circuit and only rely on VBUS, or using a level shifter as you&amp;#39;ve shared.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Npm1100 SHPHLD button shared with GPIO</title><link>https://devzone.nordicsemi.com/thread/439006?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2023 12:09:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f46857-74c9-44e9-99d5-55249013a7b6</guid><dc:creator>mccleanp</dc:creator><description>&lt;p&gt;Thanks for your reply Jared.&lt;/p&gt;
&lt;p&gt;The device is a small wearable device - there simply isn&amp;#39;t space for many buttons. I was intending to use the ship mode as the main power-off mode since it isolates the battery, instead of powering down the MCU and all the peripherals. Maybe this is the wrong approach?&lt;/p&gt;
&lt;p&gt;So the idea was that one of the application buttons could be used to power it on by pulling SHPHLD low. I was thinking of implementing the level shifter like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:389px;max-width:389px;" height="389" src="https://devzone.nordicsemi.com/resized-image/__size/778x778/__key/communityserver-discussions-components-files/4/pastedimage1690805058737v1.png" width="389" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This should work fine, but results in a small current drain of approx 230uA when the button is not pressed. I suppose I could use a GPIO output instead of 3V0 VDD and only turn it on when scanning the button. but even this could become significant over time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Npm1100 SHPHLD button shared with GPIO</title><link>https://devzone.nordicsemi.com/thread/438994?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2023 11:33:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf061c85-29c9-4c39-a4e5-5fa8457cf4eb</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is your motivation to use the same button for a GPIO that you already use for SHPHLD, note that you&amp;#39;re not forced to pull SHPHLD low to exit ship mode, you can also just plug in VBUS. That will make it exit ship mode.&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;If the button is connected to both SHPHLD and a GPIO pin I am concerned this will connect VBAT to the MCU and will slowly drain the battery. Also VBAT is 3.7 where as VDD is only 3.0.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Exposing the nRF52832 to 3V7 when VDD is 3V0 violates&amp;nbsp;the absolute maximum ratings and can result in damaging the chip.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How are you thinking of implementing the level shifter?&lt;/p&gt;
&lt;p&gt;If you absolutely don&amp;#39;t want to add a second button then I would go with the level shifter if you&amp;#39;re able to make it work with that,&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>