<?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>nRF52840 Dongle BLE Power Optimization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45724/nrf52840-dongle-ble-power-optimization</link><description>I am currently running ble_peripheral/ble_app_blinky using the nRF52840 Dongle and S140 nRF52 6.1.1. I have removed the lines for CONNECTED_LED and ADVERTISING_LED to get a more accurate reading of the power consumption for Bluetooth. I am currently measuring</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Jul 2019 11:07:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45724/nrf52840-dongle-ble-power-optimization" /><item><title>RE: nRF52840 Dongle BLE Power Optimization</title><link>https://devzone.nordicsemi.com/thread/198126?ContentTypeID=1</link><pubDate>Fri, 12 Jul 2019 11:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caf480dc-2ba5-4b73-b592-b927ecfb4d97</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;So, the CPU never stops running unless you tell it to stop. 6mA is the expected current when the CPU is running. Just having a main function without a while loop, means that the CPU will exit main and continue running some random place in memory and most likely hardfault. So you need a while loop. If you put __WFE() inside that while loop, the CPU will pause and wait for an event (WFE = wait for event) to continue. So the source code for the lowest consumption will be like this:&lt;/p&gt;
&lt;pre&gt;int main(void){&lt;br /&gt;    while(true){&lt;br /&gt;        __WFE();&lt;br /&gt;    }&lt;br /&gt;}&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle BLE Power Optimization</title><link>https://devzone.nordicsemi.com/thread/197485?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2019 03:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff148ccd-e84f-477a-8d36-17bdc8023f8e</guid><dc:creator>Fabio</dc:creator><description>&lt;p&gt;can you post the source code for this? I am playing with the dongle and created an empty main() without even a while loop and am getting 6mA of consumption. I don&amp;#39;t understand how you guys are getting anything in&amp;nbsp;&lt;span&gt;uAs! Are you modifying the dongle hardware? Can you point me in the right direction?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Dongle BLE Power Optimization</title><link>https://devzone.nordicsemi.com/thread/180356?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2019 15:06:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c4417bf-3563-442c-93b3-2d65019be9d9</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, it&amp;#39;s not clear to me what the connection interval is. You say that you set the max and min connection interval to 10ms and also changing from 0 to 99. The connection interval is decided by the central device. And you should be able to set this in nRF connect.&lt;/p&gt;
&lt;p&gt;The TASKS_LOWPWR is the default setting, it just reverts back to low power mode if it was set to constant latency earlier. So this is not something you have to worry about if you haven&amp;#39;t used constant latency mode.&lt;/p&gt;
&lt;p&gt;Have you enabled DCDC on both REG0 and REG1? You can enable both in the start of main(), you don&amp;#39;t have to wait until right before advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>