<?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>Unexpected Current Spike Between Advertising Events in Direct Advertising Sample (nRF54L15)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121664/unexpected-current-spike-between-advertising-events-in-direct-advertising-sample-nrf54l15</link><description>Hello Nordic Support Team, 
 I am working with the nRF54L15-DK and testing the Bluetooth Direct Advertising sample application (based on Zephyr). I am measuring current consumption using a DC Power Analyzer. 
 Observation: 
 During BLE advertising at</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 May 2025 14:45:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121664/unexpected-current-spike-between-advertising-events-in-direct-advertising-sample-nrf54l15" /><item><title>RE: Unexpected Current Spike Between Advertising Events in Direct Advertising Sample (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/537399?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 14:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c17b521a-dbdb-43bc-add9-41505cf137cf</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Muhammed,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The peak looks higher than I would have expected, but it depends on several factors and measurement setup. I am not able to see from the image, but it may be very short in time so that the total energy is what you would expect.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected Current Spike Between Advertising Events in Direct Advertising Sample (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/537270?ContentTypeID=1</link><pubDate>Wed, 28 May 2025 03:46:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:311f18a2-d618-4abc-8c7c-7a4d92ff457d</guid><dc:creator>Muhammed</dc:creator><description>&lt;p&gt;Hi Einar,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/121664/unexpected-current-spike-between-advertising-events-in-direct-advertising-sample-nrf54l15/536774"]That looks like CPU processing. It looks higher than I woudl have expectedx, but that could be due to measurment setup or configuration. Can you try to get a better plot showing more details of it?[/quote]
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/adv-peak-edited.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;This is the oscilloscope image for better view.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Measurement setup&lt;/p&gt;
&lt;p&gt;using keysight current probe for the measurement. Connected to P6 of nRF54L15DK. Disabled UART and Debug interface using board configurator.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is no application modification rather the i mentioned in the previous post.&lt;br /&gt;&lt;br /&gt;Thanks&amp;nbsp;&lt;br /&gt;Muhammed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected Current Spike Between Advertising Events in Direct Advertising Sample (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/536774?ContentTypeID=1</link><pubDate>Fri, 23 May 2025 12:24:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d18b98f-f9af-4cb1-9776-f3600d5f0cb8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Muhammed,&lt;/span&gt;&lt;/p&gt;
[quote user="Basheer"]Is there any other peripheral running in this example code[/quote]
&lt;p&gt;&lt;span&gt;There are quite a few used by the BLE stack, but the only peripherals runing continiously would be the GRTC and the UART for logging (before it has been disabled).&lt;/span&gt;&lt;/p&gt;
[quote user="Basheer"]The spike in 1Hz is expected, That is advertising spikes. However we are worried about the spikes (~2mA) in between the adv interval. The first plot which i shared in the first post is the zoomed-in view of the spikes of in between the adv interval.&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;I am not clear on which spikes this were, but I saw a current consumption floor (but it will not be flash, as the power suply is DCDC, so the current draw is not constant).&lt;/span&gt;&lt;/p&gt;
[quote user="Basheer"]However after this configuration we got a big spike (~30mA) before the all advertisement. Please find the scope image below.[/quote]
&lt;p&gt;That looks like CPU processing. It looks higher than I woudl have expectedx, but that could be due to measurment setup or configuration. Can you try to get a better plot showing more details of it?&lt;/p&gt;
[quote user="Basheer"]This spike occurs before all advertisement. Is it because of wakeup from the sleep? If not how to eliminate it?[/quote]
&lt;p&gt;Yes, I expect so. The pattern matches expected CPU processing, starting HFXO etc, when the device wakes up for the BLE event.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected Current Spike Between Advertising Events in Direct Advertising Sample (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/536566?ContentTypeID=1</link><pubDate>Thu, 22 May 2025 09:03:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de95897f-00f3-4372-80c1-08ff67f7f060</guid><dc:creator>Muhammed</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thanks for the quick response.&lt;/p&gt;
&lt;p&gt;I have used the sample application provided Nordic &lt;strong&gt;SDK v3.0.0&lt;/strong&gt; which is &amp;quot;&lt;strong&gt;Bluetooh Direct Advertising&lt;/strong&gt;&amp;quot;. In this code i have modified the advertising interval and packet length only. In the non advertising time the system is going to sleep mode as per the code. Please find code snippet below.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2025_2D00_05_2D00_22-082708.png" /&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Is there any other peripheral running in this example code? I didn&amp;#39;t enabled anything apart from the above two modifications.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;The spike in 1Hz is expected, That is advertising spikes. However we are worried about the spikes (~2mA) in between the adv interval. The first plot which i shared in the first post is the zoomed-in view of the spikes of in between the adv interval.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Disabled the UART as you suggested, Current reduced&amp;nbsp;
&lt;ul&gt;
&lt;li&gt;Added &lt;strong&gt;CONFIG_SERIAL=n&amp;nbsp;&lt;/strong&gt;in the project configuration.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;However after this configuration we got a big spike (~30mA) before the all advertisement. Please find the scope image below.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Spike-before-adv.gif" /&gt;&lt;br /&gt;&lt;br /&gt;This spike occurs before all advertisement. Is it because of wakeup from the sleep? If not how to eliminate it?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Muhammed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unexpected Current Spike Between Advertising Events in Direct Advertising Sample (nRF54L15)</title><link>https://devzone.nordicsemi.com/thread/536428?ContentTypeID=1</link><pubDate>Wed, 21 May 2025 12:11:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b43939fe-b493-41a6-bd77-42290a343fe2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Muhammed,&lt;/p&gt;
[quote user=""]What is causing this periodic current spike?[/quote]
&lt;p&gt;The spikes I see at 1 Hz is expected given that that is the advertising interval, so the spikes are expected.&lt;/p&gt;
[quote user=""]Is it related to any background system task, RAM retention, clock calibration, or BLE stack behavior?[/quote]
&lt;p&gt;I assuem the problem here is the high idle current (the current consumtpion between the spikes caused by advertising)? This looks like more ocnstant curernt consuption (though you wil see high frequency spikes due to DC/DC operation).&amp;nbsp;&lt;/p&gt;
[quote user=""]How can we suppress or eliminate these spikes to optimize current between advertising events?[/quote]
&lt;p&gt;Disable any peripherals or resources that is not needed durign sleep, paritcularily any that requier the high frequech clock, such as UART or other serial interraces.&amp;nbsp;There are some typicall reason for high current consumption, and often it is caused by UART logging. Do you have UART enabled? If so, you should disable it. See &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/power_general.html"&gt;Power optimization recommendations&lt;/a&gt;. If that does not help, we need to look a bit further, and would need more information about your application.&lt;/p&gt;
&lt;p&gt;PS: I suspect that some information may have been lost through processing of AI. If so, please post the original question without AI processing and further replies without AI as it is difficult to know which information is correct and what is AI hallucination.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>