<?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>sleep current during BLE advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127760/sleep-current-during-ble-advertising</link><description>i&amp;#39;m measuring approximately 1.5uA (at 3V3) when sleeping between BLE advertising events, using a program based on one of your the standard examples.... as an experiment, i built a trivial simple program that retains only SRAM blocks 0-1, enables the LFXTAL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Apr 2026 07:30:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127760/sleep-current-during-ble-advertising" /><item><title>RE: sleep current during BLE advertising</title><link>https://devzone.nordicsemi.com/thread/564959?ContentTypeID=1</link><pubDate>Wed, 15 Apr 2026 07:30:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d5beb29-8baf-4f2b-a538-12760e541607</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Good to hear, thanks for the update! A 15% reduction in power usage is significant. Would be interesting to know what the main contributor to this difference is. There is not much CPU processing in an advertisement event.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sleep current during BLE advertising</title><link>https://devzone.nordicsemi.com/thread/564931?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2026 13:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b698847b-7eb8-47c3-a9cf-b618742b8dac</guid><dc:creator>bios-bob</dc:creator><description>&lt;p&gt;hi vidar,&lt;/p&gt;
&lt;p&gt;you nailed it!!!&amp;nbsp; &amp;nbsp;in my quest to minimize program size, i often find many of these while loops unnecessary....&amp;nbsp; indeed, but program &amp;quot;worked&amp;quot; -- but clearly missed the mark from a power perspective....&lt;br /&gt;&lt;br /&gt;for sure, this is similar to the errata you cited -- though arguably there is a workaround....&lt;/p&gt;
&lt;p&gt;as a consequence of your insight, i have a very small (~2K) BLE advertising program written in&amp;nbsp;&lt;a href="https://www.openem.org/emscript/"&gt;EM&amp;bull;Script&lt;/a&gt;&amp;nbsp;which shows ~15% energy savings versus the Zephyr BLE advertising program attached earlier....&amp;nbsp; (FWIW, this code also supports the nRF54 series as well....)&lt;/p&gt;
&lt;p&gt;again, thanks for the EXCELLENT support....&lt;/p&gt;
&lt;p&gt;bob.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sleep current during BLE advertising</title><link>https://devzone.nordicsemi.com/thread/564928?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2026 13:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5d3a1b9-f47c-4280-a695-854623248d10</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I think I may have found the problem. When triggering the LFCLK start task it will initially start up the RC oscillator while waiting for the crystal oscillator to ramp up, and it seems like both clock sources get kept enabled if you immediately start the RTC before the crystal oscillator has started (based on current draw). Adding the while loop below reduced the current consumption by around 0.2 ua in my case. This also seems similar to the symptoms described for the errata here:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/errata_nRF52832_Rev3/page/ERR/nRF52832/Rev3/latest/anomaly_832_101.html#anomaly_832_101"&gt;https://docs.nordicsemi.com/bundle/errata_nRF52832_Rev3/page/ERR/nRF52832/Rev3/latest/anomaly_832_101.html#anomaly_832_101&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1776172802454v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sleep current during BLE advertising</title><link>https://devzone.nordicsemi.com/thread/564889?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2026 03:56:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abbc8026-14b1-4fc0-8d85-75396e3bd5b2</guid><dc:creator>bios-bob</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/system_5F00_on_5F00_idle_5F00_test_5F00_nrf52.zip"&gt;devzone.nordicsemi.com/.../system_5F00_on_5F00_idle_5F00_test_5F00_nrf52.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5775.beacon_5F00_advertiser.zip"&gt;devzone.nordicsemi.com/.../5775.beacon_5F00_advertiser.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;the first project is a very small program that simply goes idle, after setting up a limited memory retention as well as enabling LFXTAL and RTC....&amp;nbsp; when idle, this program ~1.68uA....&lt;br /&gt;&lt;br /&gt;the second project is a large program built around a heavily-modified BLE advertising example....&amp;nbsp; when run, it only consumes ~1.5uA when idle....&lt;br /&gt;&lt;br /&gt;to simply things even more, i have *NOT* called any of the bt_* functions in the second program; the program simply &amp;quot;goes idle&amp;quot; for ever....&lt;br /&gt;&lt;br /&gt;i have also dumped numerous registers and have yet to find anything that explains why program 2) consumes less power than program 1)....&amp;nbsp; indeed, program 2) actually retains *all* RAM blocks -- and still does better....&amp;nbsp; both programs enable LFXTAL; and presumably when program 2) is actually advertising, it uses the RTC for wakeup....&lt;br /&gt;&lt;br /&gt;again, you can even *FULLY ENABLE* BLE advertising in program 2) -- and it still only consumes ~1.5uA when idle....&lt;br /&gt;&lt;br /&gt;though i haven&amp;#39;t verified this for both programs, presumably they execute the same SystemInit() function which applies the various errata....&lt;br /&gt;&lt;br /&gt;same nrf52K board, using a PPK2 to measure current....&lt;br /&gt;&lt;br /&gt;i&amp;#39;m at a loss to find an explanation for the lower current in program 2)....&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sleep current during BLE advertising</title><link>https://devzone.nordicsemi.com/thread/564865?ContentTypeID=1</link><pubDate>Mon, 13 Apr 2026 13:18:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e64f6b69-1f64-47ea-9f64-e717ecc87216</guid><dc:creator>bios-bob</dc:creator><description>&lt;p&gt;same device, with measurements taken in quick succession....&amp;nbsp; i agree with your RAM retention theory....&amp;nbsp; is there any way to find out exactly how much RAM is retained by the stack???&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sleep current during BLE advertising</title><link>https://devzone.nordicsemi.com/thread/564821?ContentTypeID=1</link><pubDate>Mon, 13 Apr 2026 06:45:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ed92de8-5ce0-404c-bb59-6a1924f13857</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;The softevice&amp;nbsp;is not doing anything &amp;quot;hidden&amp;quot; to reduce power consumption in idle mode, and there are no peripherals that would increase the idle current by this little&amp;nbsp;when active. The only configuration I can think of that could cause changes in current draw at this level is RAM retention. The current consumption is typically around 30 nA per 4k&amp;nbsp;of retained RAM.&lt;/p&gt;
&lt;p&gt;Are you measuring on the same chip in both cases, and at exactly the same temperature? Note that ambient temperature can have a significant impact on sleep current.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>