<?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>Issue with &amp;#39;sd_app_evt_wait() not Triggering Sleep mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102778/issue-with-sd_app_evt_wait-not-triggering-sleep-mode</link><description>I am currently facing an issue with the &amp;#39;sd_app_evt_wait()&amp;#39; function in my nrf51 application. Despite using this function to put the microcontroller into 
 sleep mode and wait for BLE events or interrupts, it appears that the sleep mode is not being entered</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Aug 2023 06:23:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102778/issue-with-sd_app_evt_wait-not-triggering-sleep-mode" /><item><title>RE: Issue with 'sd_app_evt_wait() not Triggering Sleep mode</title><link>https://devzone.nordicsemi.com/thread/442197?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 06:23:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54a1d6d9-337e-4e56-b936-4cb40fb1da8d</guid><dc:creator>Anand@123</dc:creator><description>&lt;p&gt;I got the issue we can close this ticket&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with 'sd_app_evt_wait() not Triggering Sleep mode</title><link>https://devzone.nordicsemi.com/thread/441500?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 06:25:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:008ca7c8-9ee8-4e56-90e3-361d8526697c</guid><dc:creator>Anand@123</dc:creator><description>&lt;p&gt;I am using nrf51 ble_central\ble_app_uart_c SDK 11 sample code ,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is my main function, i am using nrf51 development kite for testing&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692166530015v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with 'sd_app_evt_wait() not Triggering Sleep mode</title><link>https://devzone.nordicsemi.com/thread/440952?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 12:10:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:306ce4eb-8279-4090-bc5e-41483a6a2ead</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;How does your main() function look like?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with 'sd_app_evt_wait() not Triggering Sleep mode</title><link>https://devzone.nordicsemi.com/thread/440897?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 08:35:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee8bc7d6-11ae-4054-98cb-7eb17320a411</guid><dc:creator>Anand@123</dc:creator><description>&lt;p&gt;Thanks for the quick&amp;nbsp; reply,&lt;br /&gt;&amp;nbsp;i have called a gpio toggle after power_manager() in for loop , but still the led is toggling continuously&amp;nbsp;&lt;br /&gt;please check the code.&lt;/p&gt;
&lt;p&gt;static void power_manage(void)&lt;br /&gt;{&lt;br /&gt; &lt;br /&gt; uint32_t err_code = sd_app_evt_wait();&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; APP_ERROR_CHECK(err_code);&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;for (;;)&lt;br /&gt; {&lt;br /&gt; power_manage();&lt;br /&gt; // Process uart message&lt;br /&gt; nrf_gpio_pin_toggle(User_led);&lt;br /&gt; nrf_delay_ms(1000);&lt;br /&gt; }&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with 'sd_app_evt_wait() not Triggering Sleep mode</title><link>https://devzone.nordicsemi.com/thread/440885?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 08:01:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a32f5cc7-7c73-4ddb-a0cd-1d93cd238e52</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]it appears that the sleep mode is not being entered as expected.[/quote]
&lt;p&gt;Please explain this more. What makes you think it&amp;#39;s not being entered as expected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>