<?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>nPM1300 two-button RESET and GPIO0 interrupt</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113681/npm1300-two-button-reset-and-gpio0-interrupt</link><description>Hi, 
 In my wearable application, I would like to have reset functionality by pressing two buttons, which I also would like to use as application interrupts. I read that the RESET can be configured with a two-button mode based on SHPHLD and GPIO0. I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Aug 2024 22:36:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113681/npm1300-two-button-reset-and-gpio0-interrupt" /><item><title>RE: nPM1300 two-button RESET and GPIO0 interrupt</title><link>https://devzone.nordicsemi.com/thread/497238?ContentTypeID=1</link><pubDate>Tue, 06 Aug 2024 22:36:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:388797fe-348c-48fa-8844-08bda512a8c1</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;#39;&amp;#39;In this case, is GPIO0 pulled up to VBAT/VSYS as it happens with SHPHLD, or is it instead powered by VDDIO like usual? (relevant to know what happens when VDDIO goes off)&amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;When GPIO0 pin is used in a two-button reset configuration on the nPM1300, it acts as an input for the button signal. When the button connected to GPIO0 when it is pressed, it changes the state of the GPIO0 pin, that leads nPM1300 to interpreting the two-button reset sequence.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;#39;&amp;#39;when the reset is configured with two buttons, is it still possible to generate rising/falling edge interrupts on&amp;nbsp;GPIO0? (similarly to SHPHLD can generate interrupts on short presses)&amp;#39;&amp;#39;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;It is possible. you can see this link :&lt;a href="https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/ctrl_reg/doc/main-registers.html"&gt;https://docs.nordicsemi.com/bundle/ps_npm1300/page/chapters/core_components/ctrl_reg/doc/main-registers.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;BR&lt;br /&gt;Kazi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>