<?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>CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105567/caf-button-wakeup-does-sometimes-not-happen-in-ncs-2-5-0-if-pressed-again-while-powering-down</link><description>In ncs 2.4.0, this code was executed in power_manager.c when button pressed while powering down: 
 
 LOG_INF ( &amp;quot;Wake up when going into sleep - rebooting&amp;quot; ); 
 sys_reboot ( SYS_REBOOT_WARM ); 
 
 In ncs 2.5.0, this does not happen, leading to no more</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Nov 2023 22:22:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105567/caf-button-wakeup-does-sometimes-not-happen-in-ncs-2-5-0-if-pressed-again-while-powering-down" /><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/456789?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 22:22:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f36eb929-6963-43ce-bf3a-2df27642f2b7</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;I am glad to hear that it worked. Please feel free to close this ticket at your convenience then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/456754?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 16:24:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:729ef569-ae75-4549-ba9f-0c2757084618</guid><dc:creator>tellg</dc:creator><description>&lt;p&gt;I tried that pull request and it worked fine for us.&lt;/p&gt;
&lt;p&gt;Thank you for all help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/456722?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 14:51:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49785507-b211-4439-a80e-40df35017940</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;You are right. That is the pull request that should fix the issue. Sorry&amp;nbsp;I didn&amp;#39;t inform you about&amp;nbsp;earlier.&lt;/p&gt;
&lt;p&gt;Since it is already merged, I can say that it&amp;#39;s almost certain will be included in the next NCS release. However, I cannot comment on what that release would be, and when it would be. For that, you have to talk with your local sales manager contact.&lt;/p&gt;
&lt;p&gt;Do you think you can cherry-pick that pull request and see if it helps?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/456609?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 08:38:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dccddde4-155a-4425-a6a3-3094b70f4832</guid><dc:creator>tellg</dc:creator><description>&lt;p&gt;I guess this is the pull request that fixes this:&amp;nbsp;&lt;a id="" href="https://github.com/nrfconnect/sdk-nrf/pull/13133"&gt;https://github.com/nrfconnect/sdk-nrf/pull/13133&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you think it can be included in ncs 2.5.1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/456120?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2023 10:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73eda271-0d81-45fc-8748-82db821a81f2</guid><dc:creator>tellg</dc:creator><description>&lt;p&gt;Thank you for your help so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/456118?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2023 10:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a5fe943-4001-4733-bc8f-a707865677d1</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;That&amp;#39;s good to know. I will keep the ticket open and inform here when a fix is released.&lt;/p&gt;
&lt;p&gt;Thank you for the report.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/456117?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2023 10:19:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13fbb246-8d3a-4d58-9d56-18f834701a37</guid><dc:creator>tellg</dc:creator><description>&lt;p&gt;It is not critical, since we have 2 buttons configured for wakeup. The chance of a user pressing both buttons during shutdown in minimal. We have also speeded up our shutdown tasks, so that there is less chance for the issue to happen on our device.&lt;/p&gt;
&lt;p&gt;But a later fix will of course be welcomed :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/456109?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2023 10:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7a21bae-9821-403c-abfe-b62f6aad46bf</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi tellg,&lt;/p&gt;
&lt;p&gt;I have gotten feedback from our team.&amp;nbsp;The issue is indeed with the change to use sys_poweroff(), like you have pointed out.&lt;/p&gt;
&lt;p&gt;sys_poweroff() will put the system int power-off right in place. Therefore, additional events, such as the button presses, were not processed.&lt;/p&gt;
&lt;p&gt;The developers have registered the issue and will work on an alternative approach.&amp;nbsp;I cannot comment on when that will be available though.&lt;/p&gt;
&lt;p&gt;Is this issue critical for you now? If yes, is there any change in NCS 2.5.0 that you need, compared to 2.4.2?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/455699?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 08:23:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf5363ef-8a5e-4bde-b8d4-9ec87881ae55</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Ah I see. That is a problem. I will follow-up with you as soon as I get any information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/455457?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2023 08:56:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc9cf63e-c7de-40d4-a34a-3a0d451c8a14</guid><dc:creator>tellg</dc:creator><description>&lt;p&gt;I don&amp;#39;t need wakeup to work at that point, but if buttonpress happens while&amp;nbsp;powering down, then that button cannot wakeup the system anymore (device reset seems to be needed to fix this). I think the referenced code took care of that situation in ncs 2.4.0, but power down was modified in ncs 2.5.0 to use sys_poweroff, ref&amp;nbsp;&lt;a id="" href="https://github.com/nrfconnect/sdk-nrf/commit/b6aa1ab2aae94c5e266c73ef5930d6893cb971d3"&gt;https://github.com/nrfconnect/sdk-nrf/commit/b6aa1ab2aae94c5e266c73ef5930d6893cb971d3&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CAF button wakeup does sometimes not happen in ncs 2.5.0, if pressed again while powering down</title><link>https://devzone.nordicsemi.com/thread/455396?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 17:23:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76513f8f-8bc8-484c-bdae-3047811ef58d</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi tellg,&lt;/p&gt;
&lt;p&gt;I have asked about this behavior change internally and will update you when I get any feedback. Do you mind sharing why you need the wakeup button to work before powering down is completed?&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>