<?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>SDK v15.3.0 vs. v16.0.0 Power Consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57453/sdk-v15-3-0-vs-v16-0-0-power-consumption</link><description>Hi team, 
 I was comparing the ble_app_hrs example from SDK v15.3.0 to SDK v16.0.0 and noticed a big difference in the average power consumption. The only change I made to each of the examples was to enable usage of the DC/DC using sd_power_dcdc_mode_set</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Feb 2020 14:00:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57453/sdk-v15-3-0-vs-v16-0-0-power-consumption" /><item><title>RE: SDK v15.3.0 vs. v16.0.0 Power Consumption</title><link>https://devzone.nordicsemi.com/thread/233552?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 14:00:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26373d16-a9de-43b1-9ec9-9150f0f3c685</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;SDK 15.3.0 comes with nrfx version 1.6.2, and SDK 16.0.0 comes with nrfx version 1.8.0. Doing a diff between the two tags, and looking at the uarte.c file, shows that they made the following changes:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/nrfx/compare/v1.6.2...v1.8.0#diff-b83040199a6d53ba3c5768b6942c6e2aL587"&gt;https://github.com/NordicSemiconductor/nrfx/compare/v1.6.2...v1.8.0#diff-b83040199a6d53ba3c5768b6942c6e2aL587&lt;/a&gt; (maybe wait a little bit for the code to load)&lt;/p&gt;
&lt;p&gt;So basically, the old UART driver in nrfx version 1.6.2, when the transaction stopped (receiving the ENDTX event), just cleared the event, and did nothing more. This is not the correct way of handling the ENDTX event, &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uarte.html?cp=4_0_0_5_33_1#concept_a54_2gm_wr"&gt;according to the PS&lt;/a&gt;. After the ENDTX event is received the UART transaction is properly stopped by calling the STOPTX task, and then waiting for the TXSTOPPED event.&lt;/p&gt;
&lt;p&gt;In other words, logging in the older versions of the SDK consumed a lot of current because the UART transation was never stopped.&lt;/p&gt;
&lt;p&gt;You can probably add the lines in the git diff I linked to above to SDK 15.3.0 to get the current consumption down.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK v15.3.0 vs. v16.0.0 Power Consumption</title><link>https://devzone.nordicsemi.com/thread/233163?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 22:38:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cbbc858-77c0-43fe-8520-8ca79480f374</guid><dc:creator>Akash Patel</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;Thanks, I was able to disable logging in both examples and measure about 2 uA of current and see about 70 uA of average current.&lt;/p&gt;
[quote userid="4556" url="~/f/nordic-q-a/57453/sdk-v15-3-0-vs-v16-0-0-power-consumption/233027"]they have been able to reduce the high current consumed by the UARTE driver in the nrfx version that comes with SDK 16.0.0[/quote]
&lt;p&gt;Do you have more information on this? Is there something similar that can be done to reduce the UARTE power consumption in SDK v15.3.0?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Akash Patel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK v15.3.0 vs. v16.0.0 Power Consumption</title><link>https://devzone.nordicsemi.com/thread/233027?ContentTypeID=1</link><pubDate>Thu, 06 Feb 2020 11:12:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7633f12-e3e2-4b72-8c99-965d4e11e384</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, the high idle current you get when using SDK 15.3.0 and earlier is because logging is enabled by default. Logging is also enabled by default in SDK 16.0.0, but it seems like they have been able to reduce the high current consumed by the UARTE driver in the nrfx version that comes with SDK 16.0.0. To get similar idle current, ~2.0 µA, in both SDK 15.3.0 and SDK 16.0.0 heart rate examples, disable logging by setting the NRF_LOG_ENABLED define to 0 in sdk_config.h.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>