<?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>Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104812/idle-power-consumption-in-nrf5340-when-thread-enabled</link><description>I am trying to build an application for a custom board developed with nrf5340 module in which power consumption is a major dimension which we focus. Currently in the idle period the device is consuming arounf 48uA current. 
 Our application has following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Nov 2023 14:34:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104812/idle-power-consumption-in-nrf5340-when-thread-enabled" /><item><title>RE: Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/thread/454721?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 14:34:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:559443ab-8818-46f7-b84d-cce7f0d681ba</guid><dc:creator>Jared</dc:creator><description>[quote user="DavidGeorge"]&lt;p&gt;We are using the k_timer module provided by the kernel in the application, but it is not configured for 4 seconds. Will this module contribute the power consumption in idle period?&lt;/p&gt;
&lt;p&gt;Other than this RTC is also enabled. But ticks and other interrupts are disabled, only the counter value is used.&lt;/p&gt;[/quote]
&lt;p&gt;By timer I meant the calibration of the RC oscillator which is used by the timers. Can you try to change the calibration interval as suggested by my colleague Vidar &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/96079/4-second-current-spikes-during-sleep/406871"&gt;here&lt;/a&gt; and see if correlates with the current plot?&amp;nbsp;&lt;/p&gt;
[quote user="DavidGeorge"]Just a doubt in this, even if we disabled the TFM logging, the current consumption was around 48uA, When GPIO is also disabled the reduction was observed. Is UART peripheral is initialized even if the TFM logging is disabled?[/quote]
&lt;p&gt;Could be that some of the pins that used by the UART is not configured to default which can cause some of them to float causing excessive current. I&amp;#39;m not 100% sure on this, but a way to confirm it is to check the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/gpio.html?cp=4_0_0_6_12_4_10#register.PIN_CNF"&gt;PIN_CNF &lt;/a&gt;register for each GPIO peripheral and confirm that every pin is configured to the default value of Input, Input buffer disconnected, no pull, standard drive and SENSE disabled.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/thread/454634?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 10:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08cba2a1-1136-43ca-beb4-c0f67d6f2b1c</guid><dc:creator>George</dc:creator><description>[quote userid="73165" url="~/f/nordic-q-a/104812/idle-power-consumption-in-nrf5340-when-thread-enabled/454629"]Do you configure any timers in your application?[/quote]
&lt;p&gt;We are using the k_timer module provided by the kernel in the application, but it is not configured for 4 seconds. Will this module contribute the power consumption in idle period?&lt;/p&gt;
&lt;p&gt;Other than this RTC is also enabled. But ticks and other interrupts are disabled, only the counter value is used.&lt;/p&gt;
[quote userid="73165" url="~/f/nordic-q-a/104812/idle-power-consumption-in-nrf5340-when-thread-enabled/454629"]That could be due to the RX IDLE current for the UART&amp;nbsp;peripheral[/quote]
&lt;p&gt;Just a doubt in this, even if we disabled the TFM logging, the current consumption was around 48uA, When GPIO is also disabled the reduction was observed. Is UART peripheral is initialized even if the TFM logging is disabled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/thread/454629?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 10:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72cb3670-3523-4b54-bff3-5f8a3e73f6de</guid><dc:creator>Jared</dc:creator><description>[quote user="DavidGeorge"]If any one of the configuration is enabled the idle period consumption is ramped up to 40-50uA. The TFM logging is associated with the UART1. What can be the reason of this value?[/quote]
&lt;p&gt;That could be due to the RX IDLE current for the UART&amp;nbsp;peripheral&lt;/p&gt;
[quote user="DavidGeorge"]Currently in the idle period we are observing a current spike of 4mA at every 4 seconds interval. What can be the cause of this current spikes?[/quote]
&lt;p&gt;Do you configure any timers in your application?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/thread/454571?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2023 05:09:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cf206bf-d781-4a64-af67-ccc322037ba0</guid><dc:creator>George</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/jared"&gt;Jared&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;We were able to reduce this consumption to 8uA in the idle period by disabling the TFM Logging and GPIO. Nothing is changed in the configurations for thread network.&lt;/p&gt;
&lt;p&gt;If any one of the configuration is enabled the idle period consumption is ramped up to 40-50uA. The TFM logging is associated with the UART1. What can be the reason of this value?&lt;/p&gt;
&lt;p&gt;Currently in the idle period we are observing a current spike of 4mA at every 4 seconds interval. What can be the cause of this current spikes?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:330px;max-width:695px;" alt=" " height="330" src="https://devzone.nordicsemi.com/resized-image/__size/1390x660/__key/communityserver-discussions-components-files/4/idle_5F00_power_5F00_spikes.png" width="695" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/thread/452599?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 13:04:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10792a84-4593-4aa0-bd44-2e6332a9c9c0</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;50 µA in sleep? What else do you have on your custom board?&lt;/p&gt;
&lt;p&gt;Do you have a devkit you could try to repeat this on and see if you measure the same using the same measurement setup?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/thread/452284?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 13:25:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b4cff6c-7b0b-4b58-bcdb-a80b62563d0f</guid><dc:creator>George</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;I have a Thread border router and I had done a test with the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/openthread/cli/README.html#ot-cli-sample-low-power"&gt;Thread CLI sample.&lt;/a&gt; With this sample also I got similar result . Power consumption was around 50uA. These are the steps I followed :&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Image was build with configuration files : &amp;quot;overlay-ci.conf and overlay-low_power.conf&amp;quot; and device tree overlay file : &amp;quot;low_power.overlay&amp;quot;&lt;/li&gt;
&lt;li&gt;Flashed the custom board, and provided the following details
&lt;ol&gt;
&lt;li&gt;Thread PanID&lt;/li&gt;
&lt;li&gt;Thread Channel&lt;/li&gt;
&lt;li&gt;Thread Network Key.&lt;/li&gt;
&lt;li&gt;PollPeriod was set to 1000ms&lt;/li&gt;
&lt;li&gt;Mode was set to child&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;To start the thread following commands were used
&lt;ol&gt;
&lt;li&gt;&amp;quot;ot ifconfig up&amp;quot;&lt;/li&gt;
&lt;li&gt;&amp;quot;ot thread start&amp;quot;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;When device joined the Border Router, UART got disconnected and the power consumption was measured as 47uA&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Am I missing any steps in the test?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/thread/451731?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 12:57:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34c6b858-a853-44d4-8dd8-95e89bcc77aa</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have a Thread router? Maybe you could try the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/openthread/cli/README.html#ot-cli-sample-low-power"&gt;Thread:CLI sample t&lt;/a&gt;o verify your custom board, it implements&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/protocols/thread/sed_ssed.html#thread-sed-ssed"&gt; Sleep End Device type&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]RTC peripheral is enabled without any tick, capture compare property. Only counter is used for keeping track of time.[/quote]
&lt;p&gt;If you disable this feature, for example by commenting all code that use the RTC. What current do you get?&lt;/p&gt;
&lt;p&gt;What other peripherals are you using?&lt;/p&gt;
&lt;p&gt;What else do you have on the custom board? Does the nRF5340 communicate with any other device on the custom board is any serial connected?&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/thread/451486?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2023 11:44:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59a62b7e-b3e1-4688-8030-37a5ed1c9a85</guid><dc:creator>George</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="73165" url="~/f/nordic-q-a/104812/idle-power-consumption-in-nrf5340-when-thread-enabled/451231"]are you sure that the current is drawn exclusively by the nRF5340 and not something else on your board?[/quote]
&lt;p&gt;We had done a small testing by just running a simple application, without using any features. Here we were able to observe a current consumption around 8-7uA.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="73165" url="~/f/nordic-q-a/104812/idle-power-consumption-in-nrf5340-when-thread-enabled/451231"]Is it avg current or peak?[/quote]
&lt;p&gt;This is the average current observed.&lt;/p&gt;
&lt;p&gt;Adding some Images of the current trace( The second Image is a zoomed image, After a peak the raising of current till 42uA).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Idle_5F00_period_5F00_spike_5F00_in_5F00_between.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Idle_5F00_period_5F00_current_5F00_raising.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;George&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Idle power consumption in nrf5340 when Thread Enabled</title><link>https://devzone.nordicsemi.com/thread/451231?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 09:27:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e9734d5-815f-4ec1-bcbd-3a3726251059</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;48 µA is a bit strange as there isn&amp;#39;t anything that comes to mind that would use exactly this. Most peripherals will use more than this number, are you sure that the current is drawn exclusively by the nRF5340 and not something else on your board?&lt;/p&gt;
&lt;p&gt;Is it avg current or peak? Do you have a PPK2 that you can use to record and share a current trace with me?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>