<?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>I want to reduce power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98758/i-want-to-reduce-power-consumption</link><description>I am developing with nRF52832. In addition to the main loop, 4 types of application timer interrupts are running. If you want to reduce power consumption, in the main loop for (;;) { __WFE(); __SEV(); __WFE(); } should I do?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Apr 2023 09:15:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98758/i-want-to-reduce-power-consumption" /><item><title>RE: I want to reduce power consumption</title><link>https://devzone.nordicsemi.com/thread/421675?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 09:15:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9064ec52-703c-4db6-9091-a41370983e58</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Hiroyasu,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What&amp;#39;s the current consumption you are seeing ? Is it 2.5mA ?&amp;nbsp;&lt;br /&gt;Depends on the advertising rate of the&amp;nbsp;&lt;span&gt;ble_app_buttonless_dfu you may have different average current consumption, but it should be around dozen of uA. It&amp;#39;s not different from a normal BLE application.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When do you see high current consumption and what was the current consumption when the device advertising ?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to reduce power consumption</title><link>https://devzone.nordicsemi.com/thread/421667?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 08:43:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f2c3000-a7be-4c55-ad04-5d077049b16c</guid><dc:creator>hiroyasu</dc:creator><description>&lt;p&gt;Dear Hung Bui&lt;/p&gt;
&lt;p&gt;__WFE();&lt;br /&gt;__SEV();&lt;br /&gt;__WFE();&lt;br /&gt;Power consumption was also reduced.&lt;br /&gt;thank you.&lt;/p&gt;
&lt;p&gt;\examples\peripheral\rtc\ is an example that does not use BLE.&lt;br /&gt;Doesn&amp;#39;t examples\ble_peripheral\ble_app_buttonless_dfu increase power consumption?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to reduce power consumption</title><link>https://devzone.nordicsemi.com/thread/421170?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 07:46:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2762895f-dff8-4769-816f-914e523d87cd</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Hiroyasu,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you use :&amp;nbsp;&lt;br /&gt;&lt;span&gt;__SEV();&lt;/span&gt;&lt;br /&gt;&lt;span&gt;__WFE();&lt;/span&gt;&lt;br /&gt;&lt;span&gt;__WFE();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;what&amp;#39;s the current consumption ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;2.5mA doesn&amp;#39;t seem to be low current consumption. When the CPU is sleeping and if there is no other peripheral is running it should be around 2-3 uA not mA. But it depends on how often do you wake up from the interrupt.&amp;nbsp;&lt;br /&gt;I would suggest to use our &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/Power-Profiler-Kit-2"&gt;power profiler kit&amp;nbsp;&lt;/a&gt;&amp;nbsp;to measure the power consumption. You can visualyze the power consumption and see how exactly the current is draw.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In most of our examples we use&amp;nbsp;&lt;br /&gt;&lt;span&gt;__WFE();&lt;/span&gt;&lt;br /&gt;&lt;span&gt;__SEV();&lt;/span&gt;&lt;br /&gt;&lt;span&gt;__WFE();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;As you can see in our pwr_mgmt_run library:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1681889945888v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would suggest to try testing with our&amp;nbsp;\examples\peripheral\rtc\ example and check if you can achieve low power consumption or not. When I tested with the example it doesn&amp;#39;t matter the order of SEV and WFE is the current consumption is round 10uA.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to reduce power consumption</title><link>https://devzone.nordicsemi.com/thread/421141?ContentTypeID=1</link><pubDate>Wed, 19 Apr 2023 04:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dce61881-e6fa-480e-9c76-e920758bd190</guid><dc:creator>hiroyasu</dc:creator><description>&lt;p&gt;Dear Hung Bui&lt;/p&gt;
&lt;p&gt;Yes I am using the SDK.&lt;br /&gt;with other questions&lt;br /&gt;__WFE();&lt;br /&gt;__SEV();&lt;br /&gt;__WFE();&lt;br /&gt;Then the power consumption does not drop,&lt;br /&gt;__SEV();&lt;br /&gt;__WFE();&lt;br /&gt;__WFE();&lt;br /&gt;I found that it fell.&lt;/p&gt;
&lt;p&gt;It is now about 2.5mA.&lt;br /&gt;I would like to know if there is a way to reduce power consumption.&lt;br /&gt;However, I want application_timer and BLE advertising to work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I want to reduce power consumption</title><link>https://devzone.nordicsemi.com/thread/420767?ContentTypeID=1</link><pubDate>Mon, 17 Apr 2023 12:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d6c7abc-0d4e-4b7d-a57e-7d2fb03f4e9b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Hiroyasu,&amp;nbsp;&lt;br /&gt;I assume you are using nRF5 SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you be more specific on what you want to ask ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Calling&amp;nbsp;&lt;span&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;__WFE();&lt;/span&gt;&lt;br /&gt;&lt;span&gt;__SEV();&lt;/span&gt;&lt;br /&gt;&lt;span&gt;__WFE();&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;In the main loop can put the CPU to sleep (SystenON Idle) hence reduce power consumption.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you use our power management library you can call&amp;nbsp;nrf_pwr_mgmt_run() instead.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>