<?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>Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45427/advertizing-in-low-power-mode</link><description>Hi, I am developping a product with battery power. To preserve the battery life, this product needs to work in low power mode. How can configure nRF51 to advert in low power mode ? The system must work &amp;lt; 10&amp;#181;A in low power mode. Is there any example to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 May 2019 13:11:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45427/advertizing-in-low-power-mode" /><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/185507?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 13:11:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ad786e1-0b2c-4563-acfb-40922b2ee665</guid><dc:creator>Xav</dc:creator><description>&lt;p&gt;The uart module has high current consumption when it is active.&lt;/p&gt;
&lt;p&gt;I need to stop the module to reduce consumption during advertising (app_uart_close()).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/185411?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 09:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acc0b99d-63a2-4e1d-9a87-3bd803aead69</guid><dc:creator>Xav</dc:creator><description>&lt;p&gt;Hi Joseph,&lt;/p&gt;
&lt;p&gt;Effectively, i have reversed the values. Sorry.&lt;/p&gt;
&lt;p&gt;I think that the uart module have a greater consumption. When I insert the uart module in &amp;quot;ble_app_hrs&amp;quot;, the consumption is identical to &amp;quot;ble_app_uart&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/185408?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 09:28:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9060572e-9338-4bce-9612-e70a7e393dd5</guid><dc:creator>Joseph Ayuk</dc:creator><description>&lt;p&gt;Hi Xav,&lt;/p&gt;
&lt;p&gt;First I think you have reversed the values. The advertising interval is the time between each advertising event and the advertising timeout is used to tell the device for how long it should advertising. so if I can arrange the values, this is what we get:&lt;/p&gt;
&lt;p&gt;For &amp;quot;ble_app_uart&amp;quot;:&lt;/p&gt;
&lt;p&gt;-advertising interval = 40ms&lt;/p&gt;
&lt;p&gt;-advertising timeout = 180 seconds&lt;/p&gt;
&lt;p&gt;For &amp;quot;ble_app_hrs&amp;quot;:&lt;/p&gt;
&lt;p&gt;-advertising interval = 187,5ms&lt;/p&gt;
&lt;p&gt;-advertising timeout = 180 seconds&lt;/p&gt;
&lt;p&gt;OK from the value of the constants that you gave, it is clear that the &amp;quot;ble_app_hrs&amp;quot; uses less current than the &amp;quot;ble_app_uart&amp;quot;. This is because the advertising interval for ble_app_hrs&amp;quot; is greater than that of &amp;quot;ble_app_uart&amp;quot;. With an advertising interval of&amp;nbsp; 180 seconds for both cases,&lt;/p&gt;
&lt;p&gt;-&amp;quot;ble_app_hrs&amp;quot; sends a total of 180/0.1875 = 960 advertising packets to the peer&lt;/p&gt;
&lt;p&gt;-&amp;quot;ble_app_uart&amp;quot; sends a total of 4500 advertising packets to the peer&lt;/p&gt;
&lt;p&gt;You can begin to see why the current consumption of one is greater than the other right?. Now if you want to reduce this, you can reduce your advertising timeout and increase your advertising interval.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/185328?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 06:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebfe2ecc-ab73-4d3a-980c-41b0a0961ee8</guid><dc:creator>Xav</dc:creator><description>&lt;p&gt;Hi Joseph,&lt;/p&gt;
&lt;p&gt;For &amp;quot;ble_app_uart&amp;quot; :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - advertising timeout = 40ms&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - advertising interval = 180 seconds&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - mode of advertising : ble_adv_fast_enabled = true&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For &amp;quot;ble_app_hrs&amp;quot; :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - advertising timeout = 187,5ms&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - advertising interval = 180 seconds&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - mode of advertising : ble_adv_fast_enabled = true&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It is the default values of examples give by Nordic.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/185189?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 12:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a23cb9f-e579-4904-9fff-7e964e083980</guid><dc:creator>Joseph Ayuk</dc:creator><description>&lt;p&gt;Hi Xav,&lt;/p&gt;
&lt;p&gt;Can you give me the advertising timeout and the advertising interval of each of the examples (ble_app_hrs and ble_app_uart) ? In order to answer your question, I will need to know the values of these constants. Also give the modes of advertsing used by each example (fast mode, slow, directed etc...)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/185127?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 10:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e31aea0-c90f-471a-b94b-a17017ee1c0d</guid><dc:creator>Xav</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I tried with PCA10040 different measurements. With &amp;quot;ble_app_hrs&amp;quot; example, and &amp;quot;ble_app_uart&amp;quot; example. I measure the current consumption of the board after cutting SB9 connection.&lt;br /&gt;&lt;br /&gt;With &amp;quot;ble_app_hrs&amp;quot;, there is advertizing with a low current of 3&amp;micro;A with a peak during advertisement.&lt;br /&gt;&lt;br /&gt;With &amp;quot;ble_app_uart&amp;quot;, there is advertizing with a low current of 2mA with a peak during advertisement.&lt;br /&gt;&lt;br /&gt;What is the difference between both applications for the low current ?&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Xavier&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/182019?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 08:31:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9becf6cd-4fb5-4591-97f8-c60dd402a0e5</guid><dc:creator>Joseph Ayuk</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/xav"&gt;Xav&lt;/a&gt; first you need to understand that it will be impossible to be in low power mode if you have to do a continuous advertisement. How ever, you can minimize the current consumption by reducing the advertising timeout and increasing the advertising interval just as &lt;a href="https://devzone.nordicsemi.com/members/thcooke77"&gt;thcooke77&lt;/a&gt; said. Now if you want to advertise at all times, I suggest you start advertising again as soon as your advertising timeout expires and your nrf51 enters the IDLE MODE. You can also use an app_timer to trigger the advertising after a certain period still when you enter the IDLE MODE. I can help you if you share your code on what you have done.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Joseph Ayuk&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/178981?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 14:35:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37e100e6-a3c3-4d2a-a8c5-e70b00d07839</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Take a look at this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;https://devzone.nordicsemi.com/b/blog/posts/optimizing-power-on-nrf52-designs&lt;/a&gt;&amp;nbsp;(in general the same applies to nRF51, but the nRF52 will ensure lower power)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/178837?ContentTypeID=1</link><pubDate>Thu, 28 Mar 2019 07:53:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee3ba541-1b65-4edc-9f55-70c8acfaed10</guid><dc:creator>Xav</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;My product is designed with the nRF51. I want advertise all times. Or if possible advertise and switch to low power mode (no system off), and wakeup and advertise again, and so on.&lt;/p&gt;
&lt;p&gt;Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertizing in low power mode</title><link>https://devzone.nordicsemi.com/thread/178766?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2019 16:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:493cf73f-9004-42de-8b53-fc8fbe02ab52</guid><dc:creator>thcooke77</dc:creator><description>&lt;p&gt;Xavier, a couple of questions:&lt;/p&gt;
&lt;p&gt;Do you absolutely need to use an nRF51?&amp;nbsp; The nRF52 uses much less power in standby and system off.&lt;/p&gt;
&lt;p&gt;Will you be using a timer to wake up and advertise or just advertise at all times?&lt;/p&gt;
&lt;p&gt;To specifically address your question with the information you have provided, the nRF basically does its own power management.&amp;nbsp; So if it&amp;#39;s not doing anything, it places itself in standby, which is the lowest power mode with RAM retention.&amp;nbsp; If you need to completely shut down the chip, then&amp;nbsp;calling&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;sd_power_system_off(); //if softdevice is enabled

NRF_POWER-&amp;gt;SYSTEMOFF = 1; //if softdevice is not enabled&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;will place it in the lowest power mode available however it can only be woken up from this state by setting by a GPIO, reset pin state change or power reset.&lt;/p&gt;
&lt;p&gt;For lowering power while advertising, you will need to adjust advertising timeout and interval to see what works best for your application.&amp;nbsp; Shorter time == less power and longer interval == less power.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>