<?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>Libuarte power consumption does not go down after uninit</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64900/libuarte-power-consumption-does-not-go-down-after-uninit</link><description>I use nrf_libuarte_async from nRF5 SDK v16.0.0, without softdevice on nrf52840. The idle power consumption of my board is several tens of uA. I call: 
 
 and then the idle power consumption is several mA. 
 There must be some bug in nrf_libuarte_async</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Aug 2020 18:16:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64900/libuarte-power-consumption-does-not-go-down-after-uninit" /><item><title>RE: Libuarte power consumption does not go down after uninit</title><link>https://devzone.nordicsemi.com/thread/266064?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 18:16:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f28b9a63-8e0f-4f1e-926a-436725ff1d1f</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;The problem is that libuarte doesn&amp;#39;t deinitialize pins. This caused higher power consumption on our board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Libuarte power consumption does not go down after uninit</title><link>https://devzone.nordicsemi.com/thread/265896?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 08:02:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19574cb3-0feb-4403-83cb-7a480e940626</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have not able to reproduce these numbers you are measuring, so there could be something else happening here as well, but&lt;br /&gt;could you try to replace the nrfx_uarte.c file with the one from nrfx v.1.8.4 ?&lt;br /&gt;&lt;span&gt;&lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/v1.8.4/drivers/src/nrfx_uarte.c"&gt;github.com/.../nrfx_uarte.c&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Libuarte power consumption does not go down after uninit</title><link>https://devzone.nordicsemi.com/thread/265018?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 08:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ad36d15-ee91-4bf0-ab37-fc744ae6f29d</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;power consumption with SDK16&amp;#39;s nrf_libuarte_drv is 3.5 mA. When I replace&amp;nbsp;&lt;span&gt;nrf_libuarte_drv.c and .h with the one from SDK17 I get 2.8 mA. Obviously, there is some improvement but the problem still persists.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;nbsp;don&amp;#39;t want to switch to SDK17, that would mean heavy testing of all parts of my firmware.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Libuarte power consumption does not go down after uninit</title><link>https://devzone.nordicsemi.com/thread/265001?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 07:51:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4bce21d-5cf9-45f9-97f2-d61a1e446cf7</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From nrfx changelog, we have the following from &lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/v1.8.4/CHANGELOG.md#182---2020-03-05"&gt;version v1.8.2&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;Improved the UARTE driver to consume less current after the driver uninitialization. Now all clocks are disabled properly.&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note that SDK 16.0.0 uses nrfx v1.8.0, and&amp;nbsp;&lt;/span&gt;&lt;span&gt;SDK 17.0.0 uses nrfx v1.8.4&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can you check and see if you are able to reproduce the issue with SDK 17.0.0 ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Libuarte power consumption does not go down after uninit</title><link>https://devzone.nordicsemi.com/thread/264977?ContentTypeID=1</link><pubDate>Tue, 18 Aug 2020 06:02:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3418590-b4c5-4d2e-a1c6-3c9955d718cf</guid><dc:creator>gaminn</dc:creator><description>&lt;p&gt;This is not the case. It is caused by lib_uarte_async module.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Libuarte power consumption does not go down after uninit</title><link>https://devzone.nordicsemi.com/thread/264954?ContentTypeID=1</link><pubDate>Mon, 17 Aug 2020 21:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e47cf78-b928-4acf-bbbc-27257b3fff63</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/gaminn"&gt;gaminn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If the debugger is connect that will consume several milliamps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>