<?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>possible that WiFi Shell example in 5340 using UART1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120515/possible-that-wifi-shell-example-in-5340-using-uart1</link><description>Hi 
 
 I have run nrf5340 WiFi shell project in ncs2.9.0, everything ok if use Logging UART0 for cmmands(wifi scan/wifi status/ wifi connect.....etc) 
 
 now I need to use custom serial port UART1 to receive commands, is it possible? if yes please guide</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Apr 2025 06:30:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120515/possible-that-wifi-shell-example-in-5340-using-uart1" /><item><title>RE: possible that WiFi Shell example in 5340 using UART1</title><link>https://devzone.nordicsemi.com/thread/530935?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 06:30:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47fa2358-5d1d-460a-8b62-ffdfa41d2467</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Dannis,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is how to redirect the shell specifically to another uart:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {

	chosen {
		zephyr,shell-uart = &amp;amp;uart1;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This will need to be added to your overlay.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: possible that WiFi Shell example in 5340 using UART1</title><link>https://devzone.nordicsemi.com/thread/530906?ContentTypeID=1</link><pubDate>Tue, 08 Apr 2025 00:43:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4174f361-f307-4026-a011-8c0b170dfa57</guid><dc:creator>DannisWong</dc:creator><description>&lt;p&gt;Hi Sir&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please read my question, not setup uart port, my question is how to use UART1 to handle wifi command&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;
&lt;p&gt;Dannis&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: possible that WiFi Shell example in 5340 using UART1</title><link>https://devzone.nordicsemi.com/thread/530835?ContentTypeID=1</link><pubDate>Mon, 07 Apr 2025 13:18:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b48e29d7-19b6-4a2d-82f3-af02d465303d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When using uart0 for a specific task, in this case the shell, you can setup uartX freely, but please keep in mind that uart instances are shared resources.&lt;/p&gt;
&lt;p&gt;This means that when uart0 is enabled, spi0 / i2c0 must be kept disabled.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a section on how to setup a generic async uart:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-4-serial-communication-uart/topic/uart-driver/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-4-serial-communication-uart/topic/uart-driver/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>