<?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>What is lowest power consumption template code for nrf52840 dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49572/what-is-lowest-power-consumption-template-code-for-nrf52840-dongle</link><description>I am a beginner trying to get a device to operate optimally under a battery. Where can I find a starter code template that would shutdown/disable everything, putting the device in its lowest power consumption profile so I can build from there? Instead</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 16 Jul 2019 15:02:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49572/what-is-lowest-power-consumption-template-code-for-nrf52840-dongle" /><item><title>RE: What is lowest power consumption template code for nrf52840 dongle</title><link>https://devzone.nordicsemi.com/thread/198767?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2019 15:02:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:066bd242-6ce0-476e-b4c0-0e8160251cad</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Take a look at the &lt;a href="https://infocenter.nordicsemi.com/pdf/nRF52840_PS_v1.0.pdf"&gt;nRF52840 Product specification&lt;/a&gt;, under&amp;nbsp;6.35.14.1 USB Electrical Specification.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is lowest power consumption template code for nrf52840 dongle</title><link>https://devzone.nordicsemi.com/thread/198286?ContentTypeID=1</link><pubDate>Sun, 14 Jul 2019 18:26:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9485606f-dc87-407e-912c-cd081d85c520</guid><dc:creator>Fabio</dc:creator><description>&lt;p&gt;I was using the USB to power the device when I got 460uA above. Then I decided to power the dongle through the VOUT bypassing the USB. Same code above got me 18uA. Looks like the USB/UART takes a lot of extra power to run?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is lowest power consumption template code for nrf52840 dongle</title><link>https://devzone.nordicsemi.com/thread/198266?ContentTypeID=1</link><pubDate>Sat, 13 Jul 2019 16:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b744f00-fa60-4eb4-9ea3-5154abd273fe</guid><dc:creator>Fabio</dc:creator><description>&lt;p&gt;I followed the additional articles and disabled Logging, disabled ALL pins and I can&amp;#39;t seem to bring the draw to anything less than .046ma. I wonder if this is a dongle board issue and I guess this is the minimum I can get to? Do I have to start snapping hardware components off?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is lowest power consumption template code for nrf52840 dongle</title><link>https://devzone.nordicsemi.com/thread/198265?ContentTypeID=1</link><pubDate>Sat, 13 Jul 2019 15:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a6d00a0-24b1-4953-aaa1-1c984fcdf9f1</guid><dc:creator>Fabio</dc:creator><description>&lt;p&gt;I also would like to explain how I am measuring current in case this is wrong. I am applying a 3v source directly on the USB connectors on the board and measuring the current this way. Does the fact that I am applying 3v instead of 5v on the USB influence anything? My thought process is that I want to use two AAA battery to power the dongle through the USB connector. The dongle works fine since nrf52840 runs on 3v anyway. However, I don&amp;#39;t know if this can screw up energy consumption somehow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is lowest power consumption template code for nrf52840 dongle</title><link>https://devzone.nordicsemi.com/thread/198253?ContentTypeID=1</link><pubDate>Sat, 13 Jul 2019 03:53:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45be81c9-8c88-4a94-99b3-3b9aab1edb4b</guid><dc:creator>Fabio</dc:creator><description>&lt;p&gt;Based on advice I created this simple code:&lt;/p&gt;
&lt;pre&gt;int main(void)
{

    while(true){
        __WFE();
    }

}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;The measurement got way better than 6ma. It went to 0.46ma. However, this &lt;br /&gt;seems still pretty high. With a 1000mah battery I would get a maximum of 63 days &lt;br /&gt;(2 months) by having the CPU doing nothing. I keep hearing we can make these things &lt;br /&gt;last for 2 years. for this to happen I would need to bring this down to 0.046ma,&lt;br /&gt; that is 10 times less consumption. How is that possible if I am getting much more &lt;br /&gt;with a sleeping CPU?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is lowest power consumption template code for nrf52840 dongle</title><link>https://devzone.nordicsemi.com/thread/197623?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2019 12:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b260fd6e-4f61-4eec-bd45-8d784992107d</guid><dc:creator>Fabio</dc:creator><description>&lt;p&gt;thank you folks. flying to denver right now. will try as soon as back&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is lowest power consumption template code for nrf52840 dongle</title><link>https://devzone.nordicsemi.com/thread/197562?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2019 09:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1952e2d8-01bf-405a-af70-c48f995b894b</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Hei, Fabio.&lt;/p&gt;
&lt;p&gt;Check out the links provided by&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/crfosse"&gt;Carl Richard&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;6mA sound quite high, it seems like the CPU is running, without any kind of sleep states.&lt;/p&gt;
&lt;p&gt;Could you try to opening a very simple application, like the blinky example, and put the chip to system ON mode in the &lt;em&gt;while(true)&lt;/em&gt; loop, as described in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/38832/system-on-sleep-mode"&gt;this link&lt;/a&gt;, and measure the current then.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is lowest power consumption template code for nrf52840 dongle</title><link>https://devzone.nordicsemi.com/thread/197527?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2019 08:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10dd4d2e-2dc1-4905-982c-bb805760f268</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello Fabio!&lt;br /&gt;&lt;br /&gt;I couldn&amp;#39;t locate any specific examples/templates for low power operation, but there is a lot of good material/info here on DevZone. I recommend you to take a look around. Here are some links to get you started:&lt;br /&gt;&lt;br /&gt;-&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/1657/how-to-minimize-current-consumption-for-ble-application-on-nrf51822"&gt;nRF51 low power suggestions&lt;/a&gt;&amp;nbsp;| A great thread describing how to minimize power consumption on nRF51, most of this also applies to nRF52.&lt;br /&gt;&lt;br /&gt;-&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/optimizing-power-on-nrf52-designs"&gt;Optimizing Power on nRF52 Designs&lt;/a&gt;&amp;nbsp;| A good blog post giving good tips and a general overview for power saving on the nRF52.&lt;br /&gt;&lt;br /&gt;Furthermore you could take a look at the SDK and the&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/group__nrf__pwr__mgmt.html"&gt;power management API&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Best of luck!&lt;br /&gt;&lt;br /&gt;- Carl R.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>