<?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>Disabling Shell over UART at runtime on nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93907/disabling-shell-over-uart-at-runtime-on-nrf52840</link><description>Hi, 
 I&amp;#39;m using nRF52840 with NCS 1.8 on the existing ongoing development project. 
 Recently I implemented shell commands, to be used during testing procedure either via UART or RTT. I have shell working with the following configuration: 
 CONFIG_PRINTK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Nov 2022 13:25:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93907/disabling-shell-over-uart-at-runtime-on-nrf52840" /><item><title>RE: Disabling Shell over UART at runtime on nRF52840</title><link>https://devzone.nordicsemi.com/thread/397444?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2022 13:25:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfe1906b-e725-41aa-b5ca-cf46368d0daa</guid><dc:creator>Sigurd</dc:creator><description>[quote user="eva_c"]function newer exits.[/quote]
&lt;p&gt;That is strange. Did you try to debug it? where in the code is it stuck?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling Shell over UART at runtime on nRF52840</title><link>https://devzone.nordicsemi.com/thread/397434?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2022 13:04:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53f086db-5a0e-4fb1-9a54-f4ac569edfe6</guid><dc:creator>eva_c</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thank you for the suggestion. I attempted approach, compatible with NCS&amp;nbsp; 1.8 version: &lt;a id="" href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.0-ncs1-branch/samples/boards/nrf/system_off/src/main.c"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.0-ncs1-branch/samples/boards/nrf/system_off/src/main.c&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;however with no success. When I call pm_device_state_set(cons, PM_DEVICE_STATE_SUSPENDED);&lt;/p&gt;
&lt;p&gt;power consumption actually increases and function newer exits. I did try stopping the shell first, also with no success.&lt;/p&gt;
&lt;p&gt;Do you have any idea why pm_device_state_set() would not exit?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Disabling Shell over UART at runtime on nRF52840</title><link>https://devzone.nordicsemi.com/thread/395795?ContentTypeID=1</link><pubDate>Tue, 15 Nov 2022 13:14:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aae57cf1-3282-49df-8976-c5410dbc2d00</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try the method used in this sample:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/samples/boards/nrf/system_off/src/main.c"&gt;github.com/.../main.c&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>