<?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>AT Command Uart</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121726/at-command-uart</link><description>HI Teams 
 I referenced the Thingy91_X design. The MCU nRF5340 connects to the nRF9151 using two UART interfaces, but AT commands should only require one UART. 
 Under what circumstances is the second UART needed? In what situations can it be released</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 27 May 2025 14:00:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121726/at-command-uart" /><item><title>RE: AT Command Uart</title><link>https://devzone.nordicsemi.com/thread/537213?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 14:00:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf74d194-4108-48b7-b0c1-165cae405409</guid><dc:creator>Mariano Goluboff</dc:creator><description>&lt;p&gt;With the default firmware, the LTE modem in the nRF9151 is not controlled via AT commands from the nRF5340 and the UARTs. The network application is running on the nRF9151&amp;#39;s integrated application processor.&lt;/p&gt;
&lt;p&gt;With the nRF9151, you don&amp;#39;t need an external processor to run connectivity applications. You could reuse both UARTs for GPIOs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AT Command Uart</title><link>https://devzone.nordicsemi.com/thread/537096?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 08:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f16e1e5b-2db8-40ea-9d45-8a04ff0141a2</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user=""]I referenced the Thingy91_X design. [/quote]
&lt;p&gt;So this is a custom design that you are working on?&lt;/p&gt;
[quote user="poyuankung"] I can use the UART port of the nRF5340 or another MCU connected to UART0 to operate the LTE modem via AT commands, while UART1 can be reserved and its pins kept available.[/quote]
&lt;p&gt;Yes, you can use the UART ports for whatever you want. By default the UART1 is configured for modem traces, but you can use this for whatever your needs are, e.g. collecting modem traces via RTT instead.&lt;/p&gt;
&lt;p&gt;Have a look at the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/applications/serial_lte_modem/README.html"&gt;Serial LTE Modem application&lt;/a&gt; and its associated &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/samples/cellular/slm_shell/README.html"&gt;Cellular: SLM shell sample&lt;/a&gt;, which can run on the nRF5340. The pre-programmed &lt;a href="https://hello-nrfcloud.github.io/firmware/html/index.html#thingy-91-x-hello-nrf-cloud-firmware"&gt;application&amp;nbsp;Hello nRF Cloud firmware&lt;/a&gt;&amp;nbsp;includes&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AT Command Uart</title><link>https://devzone.nordicsemi.com/thread/536852?ContentTypeID=1</link><pubDate>Mon, 26 May 2025 01:01:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bc0e3e6-86c3-431f-9023-cdb36274046c</guid><dc:creator>poyuankung</dc:creator><description>&lt;p&gt;So, you&amp;#39;re saying that I can use the UART port of the nRF5340 or another MCU connected to UART0 to operate the LTE modem via AT commands, while UART1 can be reserved and its pins kept available. It won&amp;#39;t be used during normal operation and should only be connected when debugging the modem&amp;#39;s behavior?&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AT Command Uart</title><link>https://devzone.nordicsemi.com/thread/536780?ContentTypeID=1</link><pubDate>Fri, 23 May 2025 12:37:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acd8a86f-3000-41ae-b024-29235f2d840f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""] but AT commands should only require one UART.[/quote]
&lt;p&gt;You can of course use it for other purposes, in our case the extra UART or VCOM is &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.1/page/nrf/libraries/modem/nrf_modem_lib/nrf_modem_lib_trace.html"&gt;used for modem tracing&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
&amp;amp;uart0 {
	compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;uart0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};

&amp;amp;uart1 {
	current-speed = &amp;lt;1000000&amp;gt;;
	status = &amp;quot;okay&amp;quot;;
	pinctrl-0 = &amp;lt;&amp;amp;uart1_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart1_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In this case UART1 is intended for modem trace.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>