<?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 Power consumption issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78121/nrf52840-power-consumption-issue</link><description>Hi All, 
 I am developing one device using nRF52840 based on Zigbee protocol. 
 Currently I am using nRF52840 Dev-kit and nRF5_SDK_for_Thread_and_Zigbee_v4.1.0_32ce5f8. 
 I am working on power management part of the device. As per my study and Nordic</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Aug 2021 08:49:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78121/nrf52840-power-consumption-issue" /><item><title>RE: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/323669?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 08:49:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb5057fe-cf78-4d71-8466-7f8584ebefd7</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;J&amp;oslash;rgen,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you so much for the help.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Yes, unset&amp;nbsp;UART_EASY_DMA_SUPPORT and Just now measured the current.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It is giving me ~25uA as average current and maximum 40mA current. I have testing this using power profile kit.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;maximum current is high so how to get this down below 20mA. can you suggest me any?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you so much for constant help.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will test functions and let you know if anything.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rohit R&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/323667?ContentTypeID=1</link><pubDate>Fri, 06 Aug 2021 08:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3fab618-3d46-49f8-a427-5010595e1399</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Rohit Rajapure"]I tried your suggestion but same issue. Code halting at below line.&amp;nbsp;[/quote]
&lt;p&gt;That is strange, are you sure that you unset the correct symbol (not NRFX_UART0...) and that it is not defined anywhere else in the project?&lt;/p&gt;
&lt;p&gt;Un-setting&amp;nbsp;&lt;span&gt;UART_EASY_DMA_SUPPORT&amp;nbsp;should have the same effect, as it will entirely disable the UARTE driver.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It should work with app_uart_open and close as well, and should give lowered current. Did you measure the current consumption again with this config?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/323576?ContentTypeID=1</link><pubDate>Thu, 05 Aug 2021 14:22:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4ab609e-8399-4d6b-ba37-89d674e2979d</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;J&amp;oslash;rgen,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for the feedback.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried your suggestion but same issue. Code halting at below line.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Attached is the image for reference.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/stops.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But what i did is kept the,&amp;nbsp;#define UART0_CONFIG_USE_EASY_DMA 1 (set 1)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;and unset the&amp;nbsp;#define UART_EASY_DMA_SUPPORT 0.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;with this i am able to discover my device but I am not sure the about difference.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you please explain me? And will work uart_open and uart_close. And will I get current drop here with this config.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Attached is the snippet for reference.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;e&amp;gt; UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver - legacy layer
//==========================================================
#ifndef UART_ENABLED
#define UART_ENABLED 1
#endif
// &amp;lt;o&amp;gt; UART_DEFAULT_CONFIG_HWFC  - Hardware Flow Control
 
// &amp;lt;0=&amp;gt; Disabled 
// &amp;lt;1=&amp;gt; Enabled 

#ifndef UART_DEFAULT_CONFIG_HWFC
#define UART_DEFAULT_CONFIG_HWFC 0
#endif

// &amp;lt;o&amp;gt; UART_DEFAULT_CONFIG_PARITY  - Parity
 
// &amp;lt;0=&amp;gt; Excluded 
// &amp;lt;14=&amp;gt; Included 

#ifndef UART_DEFAULT_CONFIG_PARITY
#define UART_DEFAULT_CONFIG_PARITY 0
#endif

// &amp;lt;o&amp;gt; UART_DEFAULT_CONFIG_BAUDRATE  - Default Baudrate
 
// &amp;lt;323584=&amp;gt; 1200 baud 
// &amp;lt;643072=&amp;gt; 2400 baud 
// &amp;lt;1290240=&amp;gt; 4800 baud 
// &amp;lt;2576384=&amp;gt; 9600 baud 
// &amp;lt;3862528=&amp;gt; 14400 baud 
// &amp;lt;5152768=&amp;gt; 19200 baud 
// &amp;lt;7716864=&amp;gt; 28800 baud 
// &amp;lt;10289152=&amp;gt; 38400 baud 
// &amp;lt;15400960=&amp;gt; 57600 baud 
// &amp;lt;20615168=&amp;gt; 76800 baud 
// &amp;lt;30801920=&amp;gt; 115200 baud 
// &amp;lt;61865984=&amp;gt; 230400 baud 
// &amp;lt;67108864=&amp;gt; 250000 baud 
// &amp;lt;121634816=&amp;gt; 460800 baud 
// &amp;lt;251658240=&amp;gt; 921600 baud 
// &amp;lt;268435456=&amp;gt; 1000000 baud 

#ifndef UART_DEFAULT_CONFIG_BAUDRATE
#define UART_DEFAULT_CONFIG_BAUDRATE 30801920
#endif

// &amp;lt;o&amp;gt; UART_DEFAULT_CONFIG_IRQ_PRIORITY  - Interrupt priority
 

// &amp;lt;i&amp;gt; Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
// &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 UART_DEFAULT_CONFIG_IRQ_PRIORITY
#define UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
#endif

// &amp;lt;q&amp;gt; UART_EASY_DMA_SUPPORT  - Driver supporting EasyDMA
 

#ifndef UART_EASY_DMA_SUPPORT
#define UART_EASY_DMA_SUPPORT 0
#endif

// &amp;lt;q&amp;gt; UART_LEGACY_SUPPORT  - Driver supporting Legacy mode
 

#ifndef UART_LEGACY_SUPPORT
#define UART_LEGACY_SUPPORT 1
#endif

// &amp;lt;e&amp;gt; UART0_ENABLED - Enable UART0 instance
//==========================================================
#ifndef UART0_ENABLED
#define UART0_ENABLED 1
#endif
// &amp;lt;q&amp;gt; UART0_CONFIG_USE_EASY_DMA  - Default setting for using EasyDMA
 

#ifndef UART0_CONFIG_USE_EASY_DMA
#define UART0_CONFIG_USE_EASY_DMA 1
#endif

// &amp;lt;/e&amp;gt;

// &amp;lt;e&amp;gt; UART1_ENABLED - Enable UART1 instance
//==========================================================
#ifndef UART1_ENABLED
#define UART1_ENABLED 0
#endif&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let me know your feedback on this.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rohit R&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/323572?ContentTypeID=1</link><pubDate>Thu, 05 Aug 2021 14:08:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfd2e303-446b-484a-ba38-813bcd93dc35</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;The usage of UART vs UARTE is configured in the UART driver when using app_uart. You can try to&amp;nbsp;unset&amp;nbsp;the following config in your&amp;nbsp;sdk_config.h file&amp;nbsp;to switch to legacy UART:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// &amp;lt;q&amp;gt; UART0_CONFIG_USE_EASY_DMA  - Default setting for using EasyDMA
 

#ifndef UART0_CONFIG_USE_EASY_DMA
#define UART0_CONFIG_USE_EASY_DMA 0
#endif&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/323215?ContentTypeID=1</link><pubDate>Wed, 04 Aug 2021 06:50:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55c8d39d-488c-4b96-846a-2621d521f81c</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;J&amp;oslash;rgen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As per your suggestion. I have replaced the UARTE driver from link shared by you.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But still result remains same. Code getting stuck at while loop of nrfx_uarte() file. (Same as previous image)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One more thing I am not understanding is I have used UART only not UARTE in code but still it going in uarte driver?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I think i am making any mistake in configuration. But unable to find it.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let me know your feedback on this.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rohi R&lt;/span&gt;&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: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/323160?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 15:28:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d96f6d9a-03ab-4dce-a25e-3cb16473dca3</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for the response,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is my complete code.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;uart_config.c and .h file contains UART init functions.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And uart_statemachine.c&amp;nbsp; file contains the calling of uart_init() and app_uart_close() function in respected states.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Below steps to init and close uart present in uart_statemachin.c file&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When State_Ready I init the uart_init() function&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When APP_E_EVENT_UART_IDLE I call the app_uart_close() function.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Radiator_5F00_nRFv0.9.10.zip"&gt;devzone.nordicsemi.com/.../Radiator_5F00_nRFv0.9.10.zip&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- And, I have used UART not UARTE but why code getting stuck in while() loop of nrf_uarte.c file. As attached in previous post. I didn&amp;#39;t get this reason?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And, I have disabled NRF_UART_LOG from sdk_config.h file to reduce power.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As I was getting this while() loop stuck in uarte function so I tried to disabled it by setting&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define NRFX_UARTE_ENABLED 0. in sdk_config.h file but still it didn&amp;#39;t work. Still getting stuck at this while loop only.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote userid="14926" url="~/f/nordic-q-a/78121/nrf52840-power-consumption-issue/323154#323154"]There are some changes in the &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/v1.8.6/CHANGELOG.md#182---2020-03-05"&gt;nrfx UARTE driver&lt;/a&gt; for later SDK version (SDK 17.0.x), which is not available in the Thread and Zigbee SDK. You may try to replace this driver only from nrfx tag version 1.8.6.[/quote]
&lt;p&gt;- Okay, I will go through this link.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;But let me know your feedback on my code.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rohit R&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&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: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/323154?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 15:09:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9b284b-1cc5-4f13-b9ec-09f0629f0746</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not able to see the code snippet. Can you post the full project again, so I can see exactly where you init/close app_uart? Are you checking every return code to make sure app_uart is initialized/closed correctly for every call? It looks like the driver cannot receive the expected event, which could indivate that it is not in the correct state.&lt;/p&gt;
&lt;p&gt;There are some changes in the &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/v1.8.6/CHANGELOG.md#182---2020-03-05"&gt;nrfx UARTE driver&lt;/a&gt; for later SDK version (SDK 17.0.x), which is not available in the Thread and Zigbee SDK. You may try to replace this driver only from nrfx tag version 1.8.6.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/322992?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 05:04:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c633b67e-1ff6-499a-866c-9f1c631cb60d</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please I need urgent help here, why code is not getting initialized again and why it getting stuck at this part(in snippet)?.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Let me know your feedback as early as possible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is getting stuck in below loop. Please find the attached snippet because of this I am not able to discover the device in Zigbee. My next task are not executing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If I comment app_uart_close() function then everything works perfectly. But to get current less as yesterday I need to power down the UART.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have referred Nordic forum but I didn&amp;#39;t get any solution.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/while-loop.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;Urgent !&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/322989?ContentTypeID=1</link><pubDate>Tue, 03 Aug 2021 03:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9220c01-7c93-4b98-9036-dadbe6fc4750</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you so much for the response,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As you suggested, I have removed the UART from code and I can see that current&amp;nbsp; ~33uA.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But Here, I need UART this is main part of set up means my Radiator and nRF communicate with each other using UART.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, What I tried is when I am sending commands to Radiator (State machine as you can see in code) in Ready State Initialized the UART (&lt;strong&gt;uart_init()&lt;/strong&gt;) function and started 3sec timer after init then once 3sec is over I used &lt;strong&gt;app_uart_close()&lt;/strong&gt; functions to disable. But It didn&amp;#39;t worked as expected means it gave me current again 1mA and also after 2/3 commands it always got stuck into one of SDK uart related files.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My commands exchange happens when I write on Zigbee attributes and GPIO interrupt so if you have any suggestion regarding disabling after command exchange would help me here.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As if it should do the communication in both case disable before going to sleep in SED behave.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let me know your suggestion.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Hi,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Update from my end.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried one more method to close UART.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What I did is after my command exchange&amp;nbsp;got over I tried to close the UART (using app_uart_close() function). After closing UART I am not able to execute next command. When I pause the code, it halted into nrf_uarte.h file below line.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please find the attached code snippet. Can you please let me know why it not getting enable (uart_init) again.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-components-multipleuploadfilemanager/b7bb5893_2D00_4c37_2D00_4b0b_2D00_b6f9_2D00_65f1f7a291be-79402-complete/uart-disable.JPG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Steps I followed to execute uart_init() and uart_close ()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. When command exchange start initialize the UART by uart_init() function from my code for reference.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Once the command exchange done, close the UART using app_uart_close() function.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rohit R&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/322832?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 10:33:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6e0de9d-d0d5-40c5-b71e-fcd34a9b0a1e</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;J&amp;oslash;rgen,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you so much for the response,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As you suggested, I have removed the UART from code and I can see that current&amp;nbsp; ~33uA.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But Here, I need UART this is main part of set up means my Radiator and nRF communicate with each other using UART.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So, What I tried is when I am sending commands to Radiator (State machine as you can see in code) in Ready State Initialized the UART (&lt;strong&gt;uart_init()&lt;/strong&gt;) function and started 3sec timer after init then once 3sec is over I used &lt;strong&gt;app_uart_close()&lt;/strong&gt; functions to disable. But It didn&amp;#39;t worked as expected means it gave me current again 1mA and also after 2/3 commands it always got stuck into one of SDK uart related files.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My commands exchange happens when I write on Zigbee attributes and GPIO interrupt so if you have any suggestion regarding disabling after command exchange would help me here.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As if it should do the communication in both case disable before going to sleep in SED behave.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let me know your suggestion.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks and Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Rohit R&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 Power consumption issue</title><link>https://devzone.nordicsemi.com/thread/322802?ContentTypeID=1</link><pubDate>Mon, 02 Aug 2021 08:28:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4864f45-bd42-423e-8d37-450184a741e7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Most likely, the increased current is caused by the UART peripheral and EasyDMA. Try disabling the UART peripheral, to see if you get lowered current consumption.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>