<?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>SHELL_BACKEND_RTT increased current consumption when buffer fills up</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113848/shell_backend_rtt-increased-current-consumption-when-buffer-fills-up</link><description>We are developing nRF52840 battery powered device, NCS 2.5.2. 
 Wanted to use shell for external commands for system testing (currents must be low when the debugger is not connected) - only in debug build, so this is not critical for production build</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Aug 2024 13:39:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113848/shell_backend_rtt-increased-current-consumption-when-buffer-fills-up" /><item><title>RE: SHELL_BACKEND_RTT increased current consumption when buffer fills up</title><link>https://devzone.nordicsemi.com/thread/497846?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 13:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1023e7db-5c17-4ddf-b80f-734762e780c3</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see the same as you, and I have not been able to get to the bottom of this yet, but I will continue to look into it.&lt;/p&gt;
&lt;p&gt;Regardign&amp;nbsp;CONFIG_SHELL_RTT_RX_POLL_PERIOD that is a good comment, but I suspect a lower value is better as default as RTT is typically only used for debugging and not in production code or code where you are measuring current consumption. So responsiveness is probably more important than saving some milli amps.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SHELL_BACKEND_RTT increased current consumption when buffer fills up</title><link>https://devzone.nordicsemi.com/thread/497770?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2024 10:15:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98a7068a-8c5b-4318-9496-3477d7bd9192</guid><dc:creator>lev</dc:creator><description>&lt;p&gt;&lt;span&gt;As a side note:&lt;br /&gt;CONFIG_SHELL_RTT_RX_POLL_PERIOD=1000 (ms) is critical for low power. I think it would make sense to maybe have the default higher interval if&amp;nbsp;CONFIG_PM_DEVICE=y? Or have it documented under achieving low power consumption.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Without this config the current is ~32uA instead of ~4 uA.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>