<?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>Low power modes management</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87978/low-power-modes-management</link><description>Hi, 
 I need to implement low power mode in my project with an nRF52832. From a general perspective, I want to: 
 1) boot the device, 
 2) initialise stuff/peripherals, 
 3) advertise for a number of milliseconds (or a number of advertisement cycles,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 May 2025 06:23:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87978/low-power-modes-management" /><item><title>RE: Low power modes management</title><link>https://devzone.nordicsemi.com/thread/535007?ContentTypeID=1</link><pubDate>Tue, 13 May 2025 06:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e034efad-0694-4b0f-8dcb-4f70ec02934e</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please create a new ticket for your issue, as this one is quite old.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt; Abhijith&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power modes management</title><link>https://devzone.nordicsemi.com/thread/534937?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 14:48:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81120583-c180-4bab-ae78-c7c6f87da1e7</guid><dc:creator>salmanMaLiKk</dc:creator><description>&lt;p&gt;Hello Guys,&lt;/p&gt;
&lt;p&gt;Its been a while since you worked on this but i am working on a similar project with a Lis3dh sensor.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But i also add the SMp zerver into the code and it cause issues for the low power any idea what could be causing that?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Salman&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power modes management</title><link>https://devzone.nordicsemi.com/thread/370910?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 14:00:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:653d6b4a-b4d4-4282-b495-596a964c4a4c</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the delayed response. I think you got mixed up with periodic advertising and extended advertising, where periodic advertisement is a type of extended advertising which is not connectable, just advertising but in case of extended advertising it is connectable and scannable.&lt;/p&gt;
&lt;p&gt;If your end goal is to configure the advertising period make use of the function&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="https://docs.zephyrproject.org/apidoc/latest/group__bt__gap.html#ga9557269dd36b624b49e76c511c3a0cc1" href="https://docs.zephyrproject.org/apidoc/latest/group__bt__gap.html#ga9557269dd36b624b49e76c511c3a0cc1" rel="noopener noreferrer" target="_blank"&gt;bt_le_adv_param()&lt;/a&gt;&lt;span&gt;&amp;nbsp;and edit the&amp;nbsp;&lt;/span&gt;parameters&lt;span&gt;.&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Abhijith&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power modes management</title><link>https://devzone.nordicsemi.com/thread/368678?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 16:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c824795-6af4-4d1d-9cf7-a04bc27b5739</guid><dc:creator>V.Lorz</dc:creator><description>&lt;p&gt;Hello, Menon,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been playing with referenced sample code (periodic_adv), but I don&amp;#39;t think it&amp;#39;s what I&amp;#39;m looking for, at least not exactly, yet it has been useful for understanding a bit more about this ecosystem.&lt;/p&gt;
&lt;p&gt;AFAIK, extended advertisements are not connectable and, indeed, if I specify option &lt;code&gt;BT_LE_ADV_OPT_CONNECTABLE&lt;/code&gt;, &lt;code&gt;bt_le_per_adv_set_param()&lt;/code&gt; fails with error code &lt;code&gt;EINVAL&lt;/code&gt;. My device is required to allow connections.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power modes management</title><link>https://devzone.nordicsemi.com/thread/368624?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 12:56:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3479a258-3383-42f0-b4e4-5032d8d6f918</guid><dc:creator>Menon</dc:creator><description>&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;em&gt;For configuring the advertising period you can actually make use of the periodic advertising function where you can set the parameters in the function &lt;strong&gt;bt_le_ext_adv_set_param()&lt;/strong&gt;. You can refer the sample program in Connect SDK folder&amp;nbsp;&lt;span style="color:rgba(0, 204, 255, 1);"&gt;&amp;nbsp;ncs\v1.9.1\zephyr\samples\bluetooth\periodic_adv&lt;/span&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;And for shutting down the advertising &lt;strong&gt;bt_le_adv_stop()&lt;/strong&gt; works.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;Please see our &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;optimizing power on nRf52&lt;/a&gt; page.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Kind Regards,&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Abhijith&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Low power modes management</title><link>https://devzone.nordicsemi.com/thread/368199?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 07:02:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04977129-6576-40bf-9889-ccbdf4456e3b</guid><dc:creator>V.Lorz</dc:creator><description>&lt;p&gt;I&amp;#39;ll share some results, for just in case they&amp;#39;re useful for anyone else.&lt;/p&gt;
&lt;p&gt;There&amp;#39;s nothing to do for entering low power, system on, in zephyr. Only thing is to put all threads to sleep and zephyr will do the rest. Trying to enter low power using the combination &lt;code&gt;{ __WFE();&amp;nbsp;__SEV(); __WFE(); }&lt;/code&gt; will not work as the CPU will be constantly taken out of low power by events which are controlled by zephyr.&lt;/p&gt;
&lt;p&gt;For going to low power, wake-up periodically, then go to low power again, a simple loop in &lt;code&gt;main()&lt;/code&gt; does the trick.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    while (true)
	{
		k_sleep(K_SECONDS(1));

		// Do some stuff every one second
		// ... 
	}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here is a current consumption frame captured with a PPK-II corresponding to the moment an advertisement is sent. Average current seems to be large, but it is due to averaging only 17ms. It goes down to 23.7uA when averaging for a 2min period.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/ppk_2D00_20220518T064426.png" /&gt;&lt;/p&gt;
&lt;p&gt;This far, my question &amp;quot;&lt;em&gt;How do I do for properly entering System On low power mode?&lt;/em&gt;&amp;quot; is solved, by I still have others.&lt;/p&gt;
&lt;p&gt;In the call to &lt;code&gt;bt_le_adv_start()&lt;/code&gt;, I specify params as: &lt;code&gt;BT_LE_ADV_PARAM(BT_LE_ADV_OPT_CONNECTABLE, BT_GAP_ADV_SLOW_INT_MIN, BT_GAP_ADV_SLOW_INT_MAX, NULL)&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;How do I configure for advertising periods longer than 1 second?&lt;/p&gt;
&lt;p&gt;How do I do for properly shutting down advertising and updating the advertisement data?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>