<?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>Current Optimisation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68078/current-optimisation</link><description>Hi , 
 
 My firmware is almost done, and now is the time to optimise power cunsomption. 
 First, my software has a special mode. Each day it wakes up, communicate with a sensor, save into ram buffer the data, and go back to lowPower system On mode ( to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Nov 2020 08:13:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68078/current-optimisation" /><item><title>RE: Current Optimisation</title><link>https://devzone.nordicsemi.com/thread/279408?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2020 08:13:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09e1c8f5-b976-42ff-81ec-052425c4006e</guid><dc:creator>Olfox</dc:creator><description>&lt;p&gt;I send you by private message :)&lt;/p&gt;
&lt;p&gt;Yes that&amp;#39;s tru when i&amp;#39;m advertising, it is because i was waoken up by movement, so code is running.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current Optimisation</title><link>https://devzone.nordicsemi.com/thread/279406?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2020 08:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ca9d4ed-d2c6-40d7-9adc-b76a2fa80c0b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Could you please post your current implementation of main()? From your PPK plot it seems like the floor current goes up to about 6-7 mA as soon as you enter the advertising or connected state.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current Optimisation</title><link>https://devzone.nordicsemi.com/thread/279347?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 17:09:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:387a4573-1c93-4cb1-89ea-aa4d94cd55a5</guid><dc:creator>Olfox</dc:creator><description>&lt;p&gt;Here is DCDC enable:&lt;/p&gt;
&lt;p&gt;I hacve also connected directly my board on nrf PPK ( not through mux on my production board).&lt;/p&gt;
&lt;p&gt;Low power:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1605027701750v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Advertising current:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1605027745692v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Connected:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1605027845705v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Spike on the right are some reading with the phone.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So imagine i need to refresh my characteristic each 100ms. Can I be still connected but with cpu in low power ? I&amp;#39;m not sure how softdevice and radio part are independent.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current Optimisation</title><link>https://devzone.nordicsemi.com/thread/279322?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 15:05:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e209cc27-6254-4445-9c71-f36173c7a302</guid><dc:creator>Olfox</dc:creator><description>[quote userid="4240" url="~/f/nordic-q-a/68078/current-optimisation/279270#279270"]Is the external sensor powered in this measurement?[/quote]
&lt;p&gt;No, it was not mounted on the pcb.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Ok i was confused by this in PS:&lt;/p&gt;
&lt;p&gt;&amp;bull; Auto-controlled refresh modes for LDO and DC/DC regulators to maximize efficiency&lt;/p&gt;
&lt;p&gt;So it seems my systeme only works with LDO reg1 at the moment, and i need to call&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE); &lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Once ble_stack_init(); has been enable &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;I have read on some tickets that DCDC only works with Vdd&amp;gt;2.1V then i have to disable it to &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;use LDO till 1.8V to win a bit of life time. A good idea to use Power fail comparator can be a good&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;tmethod to switch when voltage is lower than 2.1V.&lt;br /&gt;&lt;br /&gt;1. can you confirm this 2.1V value and behavior, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial, helvetica, sans-serif;"&gt;because i didn&amp;#39;t find this value that seems to comes from nrf51 product.&lt;/span&gt;&lt;/pre&gt;
[quote userid="4240" url="~/f/nordic-q-a/68078/current-optimisation/279270#279270"]The app should call the idle handle when it&amp;#39;s not doing anything else like in the original hrs sample.[/quote]
&lt;p&gt;2. Do you mean that i should call advertising_start(erase_bonds);function, and just after call&amp;nbsp;idle_state_handle(); to avoid having cpu during advertising ?&lt;/p&gt;
&lt;p&gt;3. Is timeout or connected event generated then?&lt;/p&gt;
&lt;p&gt;4. Also, how do you set the TX power in dbm please? I need to check if i am set to 0dbm or not because this big spikes are really high ! Hopefully, i have a good batterys to be able to supply during this spike but i don&amp;#39;t think that&amp;#39;s normal behavior.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current Optimisation</title><link>https://devzone.nordicsemi.com/thread/279270?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 13:38:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d5f9537-818f-43a9-9486-ceda893896f9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You still have to enable the DCDC when you use normal voltage mode. The internal LDO is used by default.&lt;/p&gt;
[quote user="Olfox"]ican&amp;#39;t have choice here , moreover, it obliged me to add an externel ldo for one sensor that required a fixed voltage[/quote]
&lt;p&gt;Is the external sensor powered in this measurement?&lt;/p&gt;
[quote user="Olfox"]Yes the cpu is on when i advertise because i wake up my system with a movement so cpu is wake up and start to advertise. Is it possible to advertise on movement without wake up the cpu ?[/quote]
&lt;p&gt;&amp;nbsp;The app should call the idle handle when it&amp;#39;s not doing anything else like in the original hrs sample.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current Optimisation</title><link>https://devzone.nordicsemi.com/thread/279263?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 13:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df5ca8c1-9e62-4ad1-b197-0bdb9362b3b8</guid><dc:creator>Olfox</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As you know i&amp;#39;m starting fgrom HRS example. On the module i&amp;#39;m using , VDD and VDDH has been connected together, ican&amp;#39;t have choice here , moreover, it obliged me to add an externel ldo for one sensor that required a fixed voltage ... as gpio have same voltage than vdd because it is forced in normal mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;When i search into the code, i see no call to&amp;nbsp;&lt;a title="sd_power_dcdc_mode_set" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=4_7_4_1_2_7_2_13#ga84bd6a0e8f55a7aa85a5ec608edd61fe"&gt;sd_power_dcdc_mode_set&lt;/a&gt;&amp;nbsp;, So i guess that, as specified in Product Specification, it is automatically managed.&lt;/p&gt;
&lt;p&gt;Yes the cpu is on when i advertise because i wake up my system with a movement so cpu is wake up and start to advertise. Is it possible to advertise on movement without wake up the cpu ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Current Optimisation</title><link>https://devzone.nordicsemi.com/thread/279231?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 12:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5881fc38-a062-4c66-96f9-7e8a21ceb2b9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The CPU current is around 7 mA if you don&amp;#39;t use the DCDC regulator (enabled with &lt;span&gt;&lt;a title="sd_power_dcdc_mode_set" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v7.2.0/group___n_r_f___s_o_c___f_u_n_c_t_i_o_n_s.html?cp=4_7_4_1_2_7_2_13#ga84bd6a0e8f55a7aa85a5ec608edd61fe"&gt;sd_power_dcdc_mode_set&lt;/a&gt;&lt;/span&gt;()). However, the periodic wake-up should have very little impact on the average current consumption, looks like it must be something else that&amp;#39;s increasing the average in your case. Can you zoom in on the floor current between the &amp;quot;wake-up&amp;quot; spikes and see what the floor current is?&lt;/p&gt;
[quote user=""]2. During Normal systeme mode, I start by advertising, and i was suprised to see big cunsumption around 18mA in spike ! Is it normal ?[/quote]
&lt;p&gt;&amp;nbsp;Are you sure the CPU is going to sleep here? Looks like it might be RADIO+CPU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>