<?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>Problem with BLE Low Power Mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36045/problem-with-ble-low-power-mode</link><description>Hello, 
 
 I am using nRF52832 and having a problem with the Low Power Mode. I am not sure if I am either not getting it to stay in low power mode when my UART is initialized, or if low power mode is using too much power. 
 When I do not even initialize</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 10 Jul 2018 09:43:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36045/problem-with-ble-low-power-mode" /><item><title>RE: Problem with BLE Low Power Mode</title><link>https://devzone.nordicsemi.com/thread/139538?ContentTypeID=1</link><pubDate>Tue, 10 Jul 2018 09:43:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4eb67ac6-f40c-4ce1-9914-455de54f3230</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;UART with or without FIFO should work the same way power efficiency wise. UART FIFO just has very very tiny overhead of managing the buffer, but you should not see that big difference.&lt;/p&gt;
[quote user="john_h"]Turns out that calling&amp;nbsp;sd_app_evt_wait() twice does the trick[/quote]
&lt;p&gt;This smells like a bug in the FIFO code somewhere. Thanks for the workaround,&amp;nbsp;I did not find any other customer having this problem. I will anyways asks the team to do some power measurements on both to compare. Can we close this case John?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with BLE Low Power Mode</title><link>https://devzone.nordicsemi.com/thread/139160?ContentTypeID=1</link><pubDate>Thu, 05 Jul 2018 18:57:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a43ae4f-ed2c-4ad5-8b10-93802b02395b</guid><dc:creator>john_h</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;Looks like I have resolved this for now. Turns out that calling&amp;nbsp;sd_app_evt_wait() twice does the trick and puts it into low power mode consistently.&lt;br /&gt;Do you have any idea if the UART FIFO vs normal UART would have any affect on the low power mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with BLE Low Power Mode</title><link>https://devzone.nordicsemi.com/thread/138925?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 10:17:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74400446-d4fb-4cef-9391-346bc7cfa29a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It looks like in your code snippet, you are trying to uninitialize the UART before you are calling&amp;nbsp;app_uart_init.&lt;/p&gt;
&lt;p&gt;Please check in a debugger to see if when using app_fifo and when calling&amp;nbsp;nrf_drv_uart_rx_disable/app_uart_close fails with a return code and is stuck in the app_error handler?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with BLE Low Power Mode</title><link>https://devzone.nordicsemi.com/thread/138861?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 21:35:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df2214db-df05-4bba-86df-f771dff66e29</guid><dc:creator>john_h</dc:creator><description>&lt;p&gt;As a note... I was able to get it into the lowest power mode when I switched to the non-FIFO uart. Is there any reason for this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with BLE Low Power Mode</title><link>https://devzone.nordicsemi.com/thread/138846?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 19:42:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8cfbd73-1d38-4719-90d5-95259d0dc4ae</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;If this is all I need, then i will test this tomorrow morning as its pretty late here in Norway&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with BLE Low Power Mode</title><link>https://devzone.nordicsemi.com/thread/138839?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 19:03:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:869d0126-5c69-4882-a7f4-4f5de42e2aff</guid><dc:creator>john_h</dc:creator><description>&lt;p&gt;I think should be enough. I also have events for ble connections but shouldn&amp;#39;t be an issue. I am using version 12.3 with s130&lt;/p&gt;
&lt;p&gt;All my uart init/uninit is in uart library app_uart_fifo.c which is very similar to app_uart.c. I moved some of the code out of there and into this snippet just to make it more clear.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with BLE Low Power Mode</title><link>https://devzone.nordicsemi.com/thread/138838?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 19:01:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94229f97-0d49-420a-8e79-79b8b0284adf</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;seems like the uart uninit function is leaving something enabled. I would have to reproduce this tomorrow, which SDK version did you use? Is the code snippet you attached, enough for me to be able to reproduce this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>