<?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>NRF52 Sleep Mode and BLE Advertising MBED</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19400/nrf52-sleep-mode-and-ble-advertising-mbed</link><description>Hi all, 
 first of all I&amp;#39;m new to NRF and BLE applications so I&amp;#39;m truly sorry if some of my questions are very basic and if answer to some of them is already posted somewhere. I probably should have done more research. 
 Questions: 
 
 Is it possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Feb 2017 03:30:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19400/nrf52-sleep-mode-and-ble-advertising-mbed" /><item><title>RE: NRF52 Sleep Mode and BLE Advertising MBED</title><link>https://devzone.nordicsemi.com/thread/75274?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2017 03:30:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b40665a-17a3-41cb-a10c-e3152593cf9e</guid><dc:creator>Yogesh</dc:creator><description>&lt;p&gt;I am currently facing the same issue with the NRF52832, where the system on sleep mode, is still consuming a lot of power and this is because of an existing issue in the mbed os5 platform, which prevents the NRF52 from sleeping for more than a few ms. Here is a &lt;a href="https://developer.mbed.org/questions/77180/using-power-management-API-such-as-sd_ap"&gt; Link&lt;/a&gt; to the issue that I am tracking at the mbed site.&lt;/p&gt;
&lt;p&gt;Thanks,
Yogesh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Sleep Mode and BLE Advertising MBED</title><link>https://devzone.nordicsemi.com/thread/75273?ContentTypeID=1</link><pubDate>Thu, 23 Feb 2017 19:39:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bd11d94-8778-4a87-925e-1743c00b3ce4</guid><dc:creator>Tam&amp;#225;s</dc:creator><description>&lt;p&gt;Hi Osman, just wondering if you reached any conclusion regarding this issue? I need to enable low power mode in an app that was written following the OS 5.0 examples and not sure what the best way is to mix &lt;code&gt;ble.waitForEvent()&lt;/code&gt; and &lt;code&gt;eventQueue.dispatch_forever()&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Sleep Mode and BLE Advertising MBED</title><link>https://devzone.nordicsemi.com/thread/75272?ContentTypeID=1</link><pubDate>Tue, 14 Feb 2017 17:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56a8a1ac-100b-46e7-aa4c-d1556ed733ea</guid><dc:creator>OsmanKameric</dc:creator><description>&lt;p&gt;Hi Jørgen,&lt;/p&gt;
&lt;p&gt;thanks for helping me out with my issue.
It seems that &lt;code&gt;ble.waitForEvent()&lt;/code&gt; function enables low power mode. I was looking at examples on this repository &lt;a href="https://github.com/ARMmbed/mbed-os-example-ble"&gt;mbed-os-example-ble&lt;/a&gt; which contains BLE example applications for mbed OS 5.0 and none enter low power mode in any case. But examples from mbed compiler that are for mbed OS 2.0 use &lt;code&gt;ble.waitForEvent()&lt;/code&gt; to enter sleep mode and reduce current consumption.
I have to do more research to see why OS 5.0 applications won&amp;#39;t enter sleep mode in examples.
Thanks again
Osman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 Sleep Mode and BLE Advertising MBED</title><link>https://devzone.nordicsemi.com/thread/75271?ContentTypeID=1</link><pubDate>Thu, 02 Feb 2017 13:28:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d26a70f-8742-48b4-b15f-97717239977f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would recommend that you have a look at &lt;a href="https://developer.mbed.org/forum/team-63-Bluetooth-Low-Energy-community/topic/5262/"&gt;this post&lt;/a&gt; about BLE on the mbed platform. It describes the &lt;code&gt;ble.waitForEvent()&lt;/code&gt; function that will put the device into low power mode between BLE events. You should also be able to use this chen you are in a connection.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure about how much control you have of the power consumption when using the mbed platform, but according to &lt;a href="https://developer.mbed.org/questions/4693/Lower-power-Mode-Nordic-nRF51822/"&gt;this post&lt;/a&gt;, the BLE_Beacon example consumes ~35µA. Using &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/index.html?cp=4_0_1"&gt;our SDK&lt;/a&gt;, you can expect to achive the current consumption shown by the &lt;a href="https://devzone.nordicsemi.com/power/"&gt;nRF52 online power profiler&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The two possible sleep modes in the nRF52832 is called &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=2_2_0_17_2#unique_752213511"&gt;system on&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/power.html?cp=2_2_0_17_1#unique_863354678"&gt;system off&lt;/a&gt; mode. System on mode is the one used when the chips is advertising or in a BLE connection. System off is used for longer sleep periods, and can only be waked by reset, GPIO, NFC field or LPCOMP events. Wakeup from system off mode will trigger a reset of the chip. You can find some examples of sleep modes &lt;a href="https://github.com/NordicSemiconductor/nrf51-powerdown-examples"&gt;on our GitHub page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>