<?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>High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35073/high-power-consumption-of-softdevice</link><description>Hello! 
 I am working on firmware for device that has freertos in the base and implements BLE beacon and 1 service with 7 characteristics. Everything works. But power consumption is too high. 
 After plenty of tests on final HW, I&amp;#39;ve created playground</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 02 Dec 2019 15:22:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35073/high-power-consumption-of-softdevice" /><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/223115?ContentTypeID=1</link><pubDate>Mon, 02 Dec 2019 15:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54f0f75d-8e8e-4675-a18b-960aebae707d</guid><dc:creator>Axel.A</dc:creator><description>&lt;p&gt;In addition to the FPU and SAADC interrupt-issues Elias L&amp;ouml;we mentions &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/35073/high-power-consumption-of-softdevice/141142#141142"&gt;further down&lt;/a&gt;, I ran into another issue:&lt;br /&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;sd_app_evt_wait()&lt;/em&gt;; &lt;br /&gt;returns immidiately the first time it is called (it is also reported &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/3784/sd_app_evt_wait/13693#13693"&gt;here&lt;/a&gt;) and power consumption is many milliamps. You probably used WFE in SDK15 instead because you ran into this bug/issue that seems to be intermiettent..&lt;/p&gt;
&lt;p&gt;It works for me if I&amp;nbsp;duplicate a second call&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#ifdef SOFTDEVICE_PRESENT
            if (nrf_sdh_is_enabled())
            {
                uint32_t err_code = sd_app_evt_wait();
                APP_ERROR_CHECK(err_code);
                err_code = sd_app_evt_wait();
                APP_ERROR_CHECK(err_code);
            }
            else
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;If it just need to be called again, then why doesnt it work when &lt;em&gt;vPortSuppressTicksAndSleep()&lt;/em&gt; is called again almost immidiately by the idle task?&lt;br /&gt;&lt;br /&gt;I dont know. Whatever condition that makes sd_app_evt_wait(); return immidiately seems to be triggered again by the the exit and reentereance into&lt;em&gt;&amp;nbsp;vPortSuppressTicksAndSleep().&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In summary, the complete checklist that made it work for me was (I dont use SAADC so it wasnt an issue for me):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Install an FPU interrupt handler that clears the FPU errors&lt;/li&gt;
&lt;li&gt;Call &lt;em&gt;sd_app_ewt_wait()&lt;/em&gt; twice in&lt;em&gt;&amp;nbsp;vPortSuppressTicksAndSleep()&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/172394?ContentTypeID=1</link><pubDate>Thu, 21 Feb 2019 22:31:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74155988-4075-4bdf-9ca5-ae1cf05a61ca</guid><dc:creator>rahmat</dc:creator><description>&lt;p&gt;Got it, Thanks. Just wanted to start with the right template. Was surprised it consumed a few hundred microAmps with example codes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/171799?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 07:08:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa737fda-df6c-4868-95bc-652b9b788fc8</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;Hi Rahmat,&lt;/p&gt;
&lt;p&gt;yes, make sure that UART and&amp;nbsp;logging is switched off in your sdk_config.h and that you are not running your application with debugger.&lt;/p&gt;
&lt;p&gt;Maybe some more information about your application could help to point you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Elias&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/171769?ContentTypeID=1</link><pubDate>Tue, 19 Feb 2019 02:29:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce7cf6da-5136-4557-984c-d3d5ae6b1eb3</guid><dc:creator>rahmat</dc:creator><description>&lt;p&gt;Hi Elias,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Just started with this board recently, still facing the 7mA issue. Are those the only changes you did? I still could not get it down to anywhere close to 30uA like yours. Thanks.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Rahmat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/142702?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 21:11:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84c66abf-3085-4a5e-a8e1-a22b3f79cf40</guid><dc:creator>Eric Smith</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;I had reported excessive current consumed by the hrs_freertos demo in SDK 14.2 in private ticket &lt;span class="attribute-value"&gt;201725, opened March 7 2018. A&lt;/span&gt;nother Nordic engineer asked me to try that #if 0, which solved the problem. Presumably that led to it being put it into SDK 15.&lt;/p&gt;
&lt;p&gt;I find that even with SDK 15.0, if I change the code back to using sd_app_evt_wait(), I get an increase of 13mA in my application (derived from hrs_freertos). Whatever the underlying problem was in SDK 14.2 or S132 5.1.0, it does not seem to be fixed in SDK 15.0 or S132 6.0.0, so the workaround is still necessary.&lt;/p&gt;
&lt;p&gt;Eric&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/141142?ContentTypeID=1</link><pubDate>Tue, 24 Jul 2018 12:32:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:699a071a-682b-458c-b99e-700e43afeba7</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;Hi David!&lt;/p&gt;
&lt;p&gt;I can confirm, that Aryan&amp;#39;s answer worked for me. I just changed #if 0 to #if 1&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# file port_cmsis_systick.c

#if 1  // With FreeRTOS sd_app_evt_wait increases power consumption with FreeRTOS compared to _WFE (NRFFOSDK-11174)
#ifdef SOFTDEVICE_PRESENT
            if (nrf_sdh_is_enabled())
            {
                uint32_t err_code = sd_app_evt_wait();
                APP_ERROR_CHECK(err_code);
            }
            else
#endif
#endif // (NRFFOSDK-11174)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This did its job for demo project.&lt;/p&gt;
&lt;p&gt;Also for this project I had to do few more things:&lt;/p&gt;
&lt;p&gt;1. As far as I used floating point calculations, I had to chnage my main.c module as follows:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;int main(void)
{
    NVIC_SetPriority(FPU_IRQn, APP_IRQ_PRIORITY_LOW);
    NVIC_EnableIRQ(FPU_IRQn);

    /* application code */
    ...
}

#define FPU_EXCEPTION_MASK 0x0000009F

void FPU_IRQHandler(void)
{
    uint32_t *fpscr = (uint32_t *)(FPU-&amp;gt;FPCAR+0x40);
    (void)__get_FPSCR();

    *fpscr = *fpscr &amp;amp; ~(FPU_EXCEPTION_MASK);
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;2. We use SAADC module for some measurements and I had to uninitialise it after usage like this after each usage:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrf_drv_saadc_uninit();
   
NRF_SAADC-&amp;gt;INTENCLR = (SAADC_INTENCLR_END_Clear &amp;lt;&amp;lt; SAADC_INTENCLR_END_Pos);

NVIC_ClearPendingIRQ(SAADC_IRQn);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And now average power consumption is about 30uA.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;p.S. Sorry for late answer, so much work here...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/140425?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 15:29:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c441141-e85b-44ec-8e7f-add4adae4a2a</guid><dc:creator>david</dc:creator><description>&lt;p&gt;&amp;nbsp;&lt;span&gt;Hi Elias,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I had similar issue,did you find the way to resolve the &amp;nbsp;500uA &amp;nbsp;after stack is initialize (advertising &amp;nbsp;not work yet) ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/137028?ContentTypeID=1</link><pubDate>Thu, 21 Jun 2018 08:28:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8330971e-2b17-462d-8a87-c5754387809b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;is 600uA acceptable for your use case?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136920?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 13:16:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b1909ef-5b4f-4e30-a377-c6f63f2b25d3</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;We are developing very low power device. And 900uA is too much for us.&lt;/p&gt;
&lt;p&gt;Also information...&lt;/p&gt;
&lt;p&gt;once I get more or less normal consumption cca 600uA (GATT + BEACON) when put nrf_pwr_mgmt_run() in one of the tasks while in&amp;nbsp;&lt;span&gt;port_cmsis_systick.c WFE was used.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136857?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 08:23:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5df91ab-be21-429d-9c4e-dca8f6ea4aab</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;yes, if you use sd_app_evt_wait in PCA10040 DK for some reason, the average current while advertising jumps to 7mA, but with __WFE it is 900uA. Something is fishy, but i guess for now you can use _WFE !!??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136837?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 06:49:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49b911ae-5470-480c-be3a-a6657f9571bc</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;on Sparkfun DK with ble_app_hrs_freertos example&lt;/p&gt;
&lt;p&gt;with _WFE -&amp;gt; cca 900uA&lt;/p&gt;
&lt;p&gt;with&amp;nbsp;&lt;span&gt;sd_app_evt_wait -&amp;gt; cca 200uA&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136759?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 12:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:707f5835-a4a5-409c-ab3d-d4f84c18b47c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;ah, I think this was the reason I commented it out and was using WFE instead. What is the power consumption on DK if you use _WFE instead of sd_app_evt_wait?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136751?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 12:35:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:661818a3-dab9-42b9-8afd-d564b8682ac4</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;while advertizing&lt;/p&gt;
&lt;p&gt;debugger off&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136750?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 12:33:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09d14145-50f5-4ce7-b10e-002dc0f27974</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;the average power consumption with connected state? debugger on?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136742?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 11:50:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7477fb5-d388-48fd-bf49-1bd6b8bf7215</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;But on Sparkfun with demo app it dropped down to cca 200uA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136737?ContentTypeID=1</link><pubDate>Tue, 19 Jun 2018 11:42:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6db2ae79-a52e-4c22-ad36-2d5129ff5d2d</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;I tried this actualy...&lt;/p&gt;
&lt;p&gt;If I use&amp;nbsp;&amp;nbsp;sd_app_evt_wait(), then average consumption is about 7mA (without DCDC) and 5mA (with DCDC enabled).&lt;/p&gt;
&lt;p&gt;Something is&amp;nbsp;definitely wrong there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136048?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 07:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bfd0fa0-0335-4efd-bd4f-77bbd54804f1</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I think i found the problem.&lt;/p&gt;
&lt;p&gt;It is in port_cmsis_systick.c&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#if 0  // With FreeRTOS sd_app_evt_wait increases power consumption with FreeRTOS compared to _WFE (NRFFOSDK-11174)
#ifdef SOFTDEVICE_PRESENT
            if (nrf_sdh_is_enabled())
            {
                uint32_t err_code = sd_app_evt_wait();
                APP_ERROR_CHECK(err_code);
            }
            else
#endif
#endif // (NRFFOSDK-11174)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I do not remember the exact way i came to a conclusion that sd_app_evt_wait was consuming more power with freertos. Hence I created an internal ticket NRFFOSDK-11174 to investigate why this happened. I remembered that i was reading more power with freertos and using sd_wait function. While using WFI it was less. This technically did not make sense, but i decided to comment out sd_app_evt_wait function until i get more results. But I am not able to reproduce this anymore. So i think this comment is the problem on SDK 15.&lt;/p&gt;
&lt;p&gt;Please change line 231 in port_cmsis_systick.c to below&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#ifdef SOFTDEVICE_PRESENT
            if (nrf_sdh_is_enabled())
            {
                uint32_t err_code = sd_app_evt_wait();
                APP_ERROR_CHECK(err_code);
            }
            else
#endif
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I will try to push these changes to official SDK for the next release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136047?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 07:01:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90fff731-ec13-4067-b086-76a8ec753d32</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;&lt;span&gt;Unfortunately with NRF_LOG_ENABLED&amp;nbsp; and NRF_LOG_UART_BACKEND_ENABLED set to 0 I still have same consumption around 900uA&amp;nbsp; with ble_app_hrs_freertos_pca10040_s132 example&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/136010?ContentTypeID=1</link><pubDate>Wed, 13 Jun 2018 20:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f052da81-d310-47cf-a527-3fa387600c87</guid><dc:creator>Sergiooo</dc:creator><description>&lt;p&gt;I had similar issue, but after setting&amp;nbsp;&lt;span&gt;NRF_LOG_ENABLED&amp;nbsp; and NRF_LOG_UART_BACKEND_ENABLED&amp;nbsp; to 0 in sdk_config.h, my current consumption dropped exactly by 500ua after full recompilation. Maybe this would help someone.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;UPD: I found out that running some&amp;nbsp;TASKS_START with some peripherals causes to significantly increase current consumption of softdevice. It&amp;#39;s beyond my understanding, but, as an example, executing this:&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="c_cpp"&gt;NRF_QDEC -&amp;gt;TASKS_START = 1;
nrf_delay_ms(1000);
NRF_QDEC -&amp;gt;TASKS_STOP = 1;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;results in increased power consumption. Also, some other peripherals trigger this behavior, but current increase dosen&amp;#39;t stack.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;UPD2: My falut. adding&amp;nbsp;NRF_QDEC -&amp;gt; ENABLE= 1; allows QDEC to stop,&amp;nbsp;but i still cant get QDEC running with less that 500ua&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: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/134953?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 13:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99b8932e-3419-489d-9857-aead53b3879a</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;Thank you very much, Aryan! Looking forward for solution. If I will have some new information regarding issue, I will also let you know. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/134951?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 12:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b578b19-cd10-41f5-b0a9-a715ad2d38ca</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;ah., good observation, I did not realize that hrs example with and without freertos are behaving differently at ble_stack_init power consumption wise. I can reproduce this now. I will try to find why this is happening. Will get back to you soon. Until then you can go ahead in your project development and we can come to some workaround for this when i have an answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/134916?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 11:43:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c42a2096-7ee7-41bc-ad48-16e9a4d8b95a</guid><dc:creator>Elias L&amp;#246;we</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I use defaults from ble_app_hrs_freertos_pca10040_s132 example.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;e&amp;gt; NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver
//==========================================================
#ifndef NRFX_RTC_ENABLED
#define NRFX_RTC_ENABLED 0
#endif
// &amp;lt;q&amp;gt; NRFX_RTC0_ENABLED  - Enable RTC0 instance
 

#ifndef NRFX_RTC0_ENABLED
#define NRFX_RTC0_ENABLED 0
#endif

// &amp;lt;q&amp;gt; NRFX_RTC1_ENABLED  - Enable RTC1 instance
 

#ifndef NRFX_RTC1_ENABLED
#define NRFX_RTC1_ENABLED 0
#endif

// &amp;lt;q&amp;gt; NRFX_RTC2_ENABLED  - Enable RTC2 instance
 

#ifndef NRFX_RTC2_ENABLED
#define NRFX_RTC2_ENABLED 0
#endif

// &amp;lt;o&amp;gt; NRFX_RTC_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt 
#ifndef NRFX_RTC_MAXIMUM_LATENCY_US
#define NRFX_RTC_MAXIMUM_LATENCY_US 2000
#endif

// &amp;lt;o&amp;gt; NRFX_RTC_DEFAULT_CONFIG_FREQUENCY - Frequency  &amp;lt;16-32768&amp;gt; 


#ifndef NRFX_RTC_DEFAULT_CONFIG_FREQUENCY
#define NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 32768
#endif

// &amp;lt;q&amp;gt; NRFX_RTC_DEFAULT_CONFIG_RELIABLE  - Ensures safe compare event triggering
 

#ifndef NRFX_RTC_DEFAULT_CONFIG_RELIABLE
#define NRFX_RTC_DEFAULT_CONFIG_RELIABLE 0
#endif

// &amp;lt;o&amp;gt; NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
 
// &amp;lt;0=&amp;gt; 0 (highest) 
// &amp;lt;1=&amp;gt; 1 
// &amp;lt;2=&amp;gt; 2 
// &amp;lt;3=&amp;gt; 3 
// &amp;lt;4=&amp;gt; 4 
// &amp;lt;5=&amp;gt; 5 
// &amp;lt;6=&amp;gt; 6 
// &amp;lt;7=&amp;gt; 7 

#ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
#define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 7
#endif

// &amp;lt;e&amp;gt; NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
//==========================================================
#ifndef NRFX_RTC_CONFIG_LOG_ENABLED
#define NRFX_RTC_CONFIG_LOG_ENABLED 0
#endif
// &amp;lt;o&amp;gt; NRFX_RTC_CONFIG_LOG_LEVEL  - Default Severity level
 
// &amp;lt;0=&amp;gt; Off 
// &amp;lt;1=&amp;gt; Error 
// &amp;lt;2=&amp;gt; Warning 
// &amp;lt;3=&amp;gt; Info 
// &amp;lt;4=&amp;gt; Debug 

#ifndef NRFX_RTC_CONFIG_LOG_LEVEL
#define NRFX_RTC_CONFIG_LOG_LEVEL 3
#endif

// &amp;lt;o&amp;gt; NRFX_RTC_CONFIG_INFO_COLOR  - ANSI escape code prefix.
 
// &amp;lt;0=&amp;gt; Default 
// &amp;lt;1=&amp;gt; Black 
// &amp;lt;2=&amp;gt; Red 
// &amp;lt;3=&amp;gt; Green 
// &amp;lt;4=&amp;gt; Yellow 
// &amp;lt;5=&amp;gt; Blue 
// &amp;lt;6=&amp;gt; Magenta 
// &amp;lt;7=&amp;gt; Cyan 
// &amp;lt;8=&amp;gt; White 

#ifndef NRFX_RTC_CONFIG_INFO_COLOR
#define NRFX_RTC_CONFIG_INFO_COLOR 0
#endif

// &amp;lt;o&amp;gt; NRFX_RTC_CONFIG_DEBUG_COLOR  - ANSI escape code prefix.
 
// &amp;lt;0=&amp;gt; Default 
// &amp;lt;1=&amp;gt; Black 
// &amp;lt;2=&amp;gt; Red 
// &amp;lt;3=&amp;gt; Green 
// &amp;lt;4=&amp;gt; Yellow 
// &amp;lt;5=&amp;gt; Blue 
// &amp;lt;6=&amp;gt; Magenta 
// &amp;lt;7=&amp;gt; Cyan 
// &amp;lt;8=&amp;gt; White 

#ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
#define NRFX_RTC_CONFIG_DEBUG_COLOR 0
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Anything else I can provide?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: High power consumption of softdevice</title><link>https://devzone.nordicsemi.com/thread/134912?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 11:38:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1acfe4c-335e-4cf6-9f29-e9008b88de5a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Elias,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What are the clock configurations you are using? When you enable the softdevice, it will start RTC0 as a house keeping timer. This needs LFCLK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>