<?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>UARTE power consumption after shutdown</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61455/uarte-power-consumption-after-shutdown</link><description>We&amp;#39;ve been hunting down an issue there when we call nrf_drv_uart_uninit() we get a high static current which indicates that a clock or peripheral is being left on. 
 After some work I discovered that: 
 
 nrf_drv_uart_uninit(&amp;amp;m_uart); *(volatile uint32_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 May 2020 15:03:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61455/uarte-power-consumption-after-shutdown" /><item><title>RE: UARTE power consumption after shutdown</title><link>https://devzone.nordicsemi.com/thread/250790?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 15:03:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37f35964-0205-4bd6-b6f5-5b9229827007</guid><dc:creator>MKJ</dc:creator><description>&lt;p&gt;Kenneth&lt;/p&gt;
&lt;p&gt;Thank you, this fixes the problem. I&amp;#39;ll verify the answer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Martin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE power consumption after shutdown</title><link>https://devzone.nordicsemi.com/thread/250588?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 07:39:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02d6209d-62d5-4dba-b359-b9e3673ac05f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Good point, try this file instead (should have the same api):&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/v1.8.4/drivers/src/nrfx_uarte.c"&gt;https://github.com/NordicSemiconductor/nrfx/blob/v1.8.4/drivers/src/nrfx_uarte.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE power consumption after shutdown</title><link>https://devzone.nordicsemi.com/thread/250543?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 20:50:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:332a7b31-5316-44ec-9dea-d31d32e8f8b5</guid><dc:creator>MKJ</dc:creator><description>&lt;p&gt;We&amp;#39;re using SDK16 - and I&amp;#39;d rather not download everything - what other files are required aside from this one as just chanign this file doesn&amp;#39;t compile&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE power consumption after shutdown</title><link>https://devzone.nordicsemi.com/thread/250533?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 18:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b42f2115-1d7c-4498-82b5-b10cc941c821</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It may also be that the driver uninit() the peripheral in the wrong order (e.g. that peripheral is disabled while there is an on-going reception), this may cause the same symptoms.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For instance you can find in:&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/master/CHANGELOG.md#210---2020-01-24"&gt;https://github.com/NordicSemiconductor/nrfx/blob/master/CHANGELOG.md#210---2020-01-24&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;Improved the UARTE driver to consume less current after the driver uninitialization. Now all clocks are disabled properly after uninitialization.&amp;quot;&lt;/p&gt;
&lt;p&gt;Can you try to download and use the latest nrfx_uarte driver?&lt;br /&gt;&lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/a5397bea558fb4b6838081a22d1ee679289d7417/drivers/src/nrfx_uarte.c"&gt;https://github.com/NordicSemiconductor/nrfx/blob/a5397bea558fb4b6838081a22d1ee679289d7417/drivers/src/nrfx_uarte.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE power consumption after shutdown</title><link>https://devzone.nordicsemi.com/thread/250521?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 16:39:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:446d221a-66a2-4cc4-9cbc-442bbf4b2538</guid><dc:creator>MKJ</dc:creator><description>&lt;p&gt;Kenneth&lt;/p&gt;
&lt;p&gt;Thanks - I can&amp;#39;t read the chip markings because it is in a module. I did however read the part and build code registers from the debugger:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/part.jpg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;We are using SDK 16 with Softdevice 140; we are using most of the peripherals: SPI, QSPI, UARTE, TQI,PDM,GPIOTE, NFC, SAADC, WDT.&lt;/p&gt;
&lt;p&gt;I had thought that the SDK included a fix for this power thing (by stopping the UART TX and wiating for it to finish) but this does not appear to be enough.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UARTE power consumption after shutdown</title><link>https://devzone.nordicsemi.com/thread/250503?ContentTypeID=1</link><pubDate>Mon, 18 May 2020 15:24:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1059b904-e745-426c-8065-8ac42ee3560d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The 3 lines of code you refer to control the power to the peripheral, and simply does a hard reset of the peripheral. It can be used to return the peripheral to the default power-on state. There is no problem to use this after an uninit.&lt;/p&gt;
&lt;p&gt;Can you provide the detailed chip marking on the nRF52840 ic you have? Also, which peripherals are you using in your application (e.g. uart#, twi#, gpiote, spi#)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>