<?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>nRF9160 DK UART configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/47652/nrf9160-dk-uart-configuration</link><description>I&amp;#39;m trying to understand how the UARTs are configured on the nRF9160 DK. 
 
 The spec mentions that there are two UARTs, a primary and a secondary. https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/if_connector.html 
 And I see these being</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 May 2019 09:01:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/47652/nrf9160-dk-uart-configuration" /><item><title>RE: nRF9160 DK UART configuration</title><link>https://devzone.nordicsemi.com/thread/188990?ContentTypeID=1</link><pubDate>Fri, 24 May 2019 09:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:535b7c0b-2182-43a8-9c55-7c22173ef092</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Erik,&lt;/p&gt;
&lt;p&gt;For most of the nrf91 applications, the default software settings for UART0 and UART1 are that they are routed to VCOM0 and VCOM2 respectively.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The UART0&amp;nbsp;is the &amp;quot;primary&amp;quot; UART which you get the console data as well as the data from the AT host library if you have that enabled.&lt;/p&gt;
&lt;p&gt;The UART1 can be used for modem tracing when you have enabled the&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/reference/kconfig/CONFIG_BSD_LIBRARY_TRACE_ENABLED.html#cmdoption-arg-config-bsd-library-trace-enabled" rel="noopener noreferrer" target="_blank"&gt;&amp;nbsp;BSD_LIBRARY_TRACE_ENABLED config.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BSD_LIBRARY_TRACE_ENABLED=y&lt;/pre&gt;&lt;br /&gt;That feature is used in combination with the &amp;quot;Trace collector&amp;quot; application in &amp;quot;nRF Connect for Desktop&amp;quot; as &lt;a href="https://devzone.nordicsemi.com/nordic/b/blog/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect" rel="noopener noreferrer" target="_blank"&gt;described here.&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want to route UART0 or UART1 to the external pins for the nRF91 DK you can follow&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45476/connecting-uart1-to-a-periph-on-nrf9160-dk" rel="noopener noreferrer" target="_blank"&gt; the instructions in this thread.&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;(&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf91_dk%2FUG%2Fnrf91_DK%2Fmcu_virtual_com_port.html&amp;amp;anchor=mcu_virtual_com_port" rel="noopener noreferrer" target="_blank"&gt;VCOM1 is used by the nRF52&lt;/a&gt;)&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;The &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/lte_ble_gateway/README.html" rel="noopener noreferrer" target="_blank"&gt;LTE Sensor Gateway Sample&lt;/a&gt; is programmed to use the UART2 from the nRF91 to communicate with the nRF52 to send data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That&amp;#39;s why you can see that UART2 has been enabled in that sample.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;For your last question, that should be sufficient to turn of Flow control for the chosen UART.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Martin L.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>