<?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>pm_state_force(0u, &amp;amp;(struct pm_state_info){PM_STATE_SOFT_OFF, 0, 0}); Causing reboot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101842/pm_state_force-0u-struct-pm_state_info-pm_state_soft_off-0-0-causing-reboot</link><description>I have a callback for button and instead of going to sleep it reboots? 
 
 I used https://github.com/nrfconnect/sdk-zephyr/blob/main/samples/boards/nrf/system_off/src/main.c as an example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Jul 2023 10:54:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101842/pm_state_force-0u-struct-pm_state_info-pm_state_soft_off-0-0-causing-reboot" /><item><title>RE: pm_state_force(0u, &amp;(struct pm_state_info){PM_STATE_SOFT_OFF, 0, 0}); Causing reboot</title><link>https://devzone.nordicsemi.com/thread/436450?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 10:54:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dcf55dc-c059-4d57-8981-df13a3d91765</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Are there any pins that are not configured as &amp;quot;input, disconnect&amp;quot; (i.e. PIN_CNF[n] == 0x2)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pm_state_force(0u, &amp;(struct pm_state_info){PM_STATE_SOFT_OFF, 0, 0}); Causing reboot</title><link>https://devzone.nordicsemi.com/thread/436399?ContentTypeID=1</link><pubDate>Fri, 14 Jul 2023 08:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13a0bd3a-3fab-449b-b4a7-d17bb0c86dd2</guid><dc:creator>IvanR</dc:creator><description>&lt;p&gt;Sense Is Disabled even on sw1! ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: pm_state_force(0u, &amp;(struct pm_state_info){PM_STATE_SOFT_OFF, 0, 0}); Causing reboot</title><link>https://devzone.nordicsemi.com/thread/436255?ContentTypeID=1</link><pubDate>Thu, 13 Jul 2023 12:31:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a643af41-c20d-4fd1-891d-ca3af28bb3ec</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;To make sure the wake-up isn&amp;#39;t triggered by another input, please go over the GPIO configurations in VS code to make sure only &amp;#39;sw1&amp;#39; is configured with sense enabled.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1689251464672v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>