<?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>No button release event after wakeup</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16380/no-button-release-event-after-wakeup</link><description>Hi. 
 Using an nRF52832 and SDK11. I use a button for wakeup. Problem is, when releasing the button, I do not receive a release event after wakeup (so the first release). Checking the bsp_button_event_handler() function in bsp.c, it looks like there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 May 2020 07:04:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16380/no-button-release-event-after-wakeup" /><item><title>RE: No button release event after wakeup</title><link>https://devzone.nordicsemi.com/thread/249602?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 07:04:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f228d973-7bff-41b3-b8e8-912682eb750b</guid><dc:creator>eyss5</dc:creator><description>&lt;p&gt;awesome, i&amp;#39;ll check it out thanks.&lt;/p&gt;
&lt;p&gt;edit: this works&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No button release event after wakeup</title><link>https://devzone.nordicsemi.com/thread/249598?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 06:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adb9de85-c99f-4c79-9f4e-3df2a2acc8be</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This issue is related to how the state machine in the app_button implementation works. It always assumes that the pin will be in idle state when the app button library is initialized. &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/53847/sdk-16-0-app_button_release-event-not-received-when-waking-up-from-a-button-press/217906#217906"&gt;This post&lt;/a&gt; describes it very well and also suggests a workaround.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No button release event after wakeup</title><link>https://devzone.nordicsemi.com/thread/249337?ContentTypeID=1</link><pubDate>Tue, 12 May 2020 07:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ed9abbf-83ef-42c3-bb2e-2f7381d052e0</guid><dc:creator>eyss5</dc:creator><description>&lt;p&gt;Hi, unfortunately still doesn&amp;#39;t work. I implemented the buttons using app_button, but realized it&amp;#39;s basically the same thing as what the BSP does, not sure the benefit of initializing everything app_button. More simple maybe?&lt;/p&gt;
&lt;p&gt;Anyway, my problem is if I hold down a button upon startup, it doesn&amp;#39;t detect the first release. Any thoughts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No button release event after wakeup</title><link>https://devzone.nordicsemi.com/thread/249190?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 12:20:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac52443c-3147-48e6-8c6a-15bb59c14863</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Sounds good. Please let us know if that (wrong active state configuration) was the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No button release event after wakeup</title><link>https://devzone.nordicsemi.com/thread/249084?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 06:19:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cab9e31e-1f6f-47fc-952f-2d10e3c2cf5e</guid><dc:creator>eyss5</dc:creator><description>&lt;p&gt;Hi, I have the same problem. Was this ever resolved? When I hold a button down upon wakeup, it doesn&amp;#39;t detect the first release. Using nRF52832/nRF52 DK on SDKv16.0.0. S132 v.7.0.1. Using example ble_app_uart_c.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;edit: i will try this tomorrow:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49536/button-push-and-release-events"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/49536/button-push-and-release-events&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No button release event after wakeup</title><link>https://devzone.nordicsemi.com/thread/62707?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2016 08:44:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12fbd4d1-8763-4985-87fd-115cb14cd754</guid><dc:creator>Eddie</dc:creator><description>&lt;p&gt;Yes, I do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: No button release event after wakeup</title><link>https://devzone.nordicsemi.com/thread/62708?ContentTypeID=1</link><pubDate>Mon, 19 Sep 2016 07:57:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1c94555-dc4a-464e-9d44-b205d87c7efe</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Do you use the button to wake up from system OFF?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>