<?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>Consumption after advertising stop</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77442/consumption-after-advertising-stop</link><description>Hello i&amp;#39;m looking at the current consumption with the nrf PPK2 and i&amp;#39;m observing a strange behaviour : 
 the nrf advertise for a while then should stop the advertising using the APP_ADV_DURATION 
 
 
 i can see the end of advertising with the 200ms period</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Jul 2021 11:48:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77442/consumption-after-advertising-stop" /><item><title>RE: Consumption after advertising stop</title><link>https://devzone.nordicsemi.com/thread/319990?ContentTypeID=1</link><pubDate>Wed, 14 Jul 2021 11:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57a2d214-850d-408b-b58c-bd5c6c040100</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Do you have any idea where it can come from ?[/quote]
&lt;p&gt;Could you detail what else your application is doing? Which other peripherals are you using, for example?&lt;/p&gt;
[quote user=""]&lt;p&gt;I tried removing everything exept the bluetooth and i still observe the same behaviour.&lt;/p&gt;
&lt;p&gt;Can it be linked to the BLE ?&amp;nbsp;&lt;/p&gt;[/quote]
&lt;p&gt;When you say removing everything, do you mean that you&amp;nbsp;&lt;em&gt;disable&amp;nbsp;&lt;/em&gt;the SoftDevice completely, or that you remove all code that is not strictly SoftDevice related?&lt;br /&gt;In case of the former, the SoftDevice will not draw any current when disabled, and we will then have to look into what else might be going on in the application.&lt;br /&gt;In case of the latter, what parts is still left of the SoftDevice code?&lt;br /&gt;Is your device only ever advertising, and if so, do you receive the advertising IDLE event at the end of the 2000 ms period?&lt;/p&gt;
[quote user=""]&lt;p&gt;i can see the end of advertising with the 200ms period :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;This does not correspond to the #defined values you share. With a 200 ms interval and 2000 ms duration, you should see ~10 advertisements before finishing the advertising. In your diagram, there are more than 10 advertisements. Could you confirm for me that these defines is what is actually used in the advertising initialization?&lt;br /&gt;Could it be that you are entering SLOW advertising following the end of the normal advertising?&lt;br /&gt;It would be helpful if you could share your advertising initialization function.&lt;br /&gt;&lt;br /&gt;Please use the&amp;nbsp;&lt;em&gt;Insert -&amp;gt; Code&amp;nbsp;&lt;/em&gt;option when sharing code here on DevZone.&lt;br /&gt;&lt;br /&gt;Looking forward to resolving this issue together!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>