<?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>Problem with UART0 on nRF9160dk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56913/problem-with-uart0-on-nrf9160dk</link><description>Hello, 
 I am trying to do communication with external module using UART0. But when I connect pin P0.28 (RX of UART0) to external module to receive the data, there is no data on terminal. Same way I tried with UART1 and it worked. I connect pin P0.00</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Sep 2020 11:35:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56913/problem-with-uart0-on-nrf9160dk" /><item><title>RE: Problem with UART0 on nRF9160dk</title><link>https://devzone.nordicsemi.com/thread/272264?ContentTypeID=1</link><pubDate>Wed, 30 Sep 2020 11:35:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78d3b49e-deed-48a7-8e00-2a3612e9f0e6</guid><dc:creator>Adeel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I get Kconfig errors when I try to use either UART 1 or UART 2. Anything else to change apart from this ?&lt;/p&gt;
&lt;p&gt;What could be the reason for the KConfig errors and how can I get rid of that ?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adeel.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART0 on nRF9160dk</title><link>https://devzone.nordicsemi.com/thread/266237?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 12:42:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2482ac88-ae0a-4c69-908a-7032103189d2</guid><dc:creator>Jagruti</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/parth-sagar"&gt;Parth Sagar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;These are the prj.conf and&amp;nbsp;nrf9160_pca10090ns.overlay files:&lt;/p&gt;
&lt;p&gt;prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SERIAL=y
CONFIG_TRUSTED_EXECUTION_NONSECURE=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_MAIN_STACK_SIZE=4096
CONFIG_UART_1_NRF_UARTE=y
CONFIG_UART_0_NRF_UARTE=y
CONFIG_UART_2_NRF_UARTE=y
CONFIG_BSD_LIBRARY_TRACE_ENABLED=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf9160_pca10090ns.overlay:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;16&amp;gt;;
	rx-pin = &amp;lt;14&amp;gt;;
	rts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
	cts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
};

&amp;amp;uart1 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;1&amp;gt;;
	rx-pin = &amp;lt;0&amp;gt;;
	rts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
	cts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
};

&amp;amp;uart2 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;10&amp;gt;;
	rx-pin = &amp;lt;11&amp;gt;;
	rts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
	cts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;To use UART0, you need to change the pin configuartion in overlay file of SPM&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;nrf9160_pca10090.overlay for SPM:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	tx-pin = &amp;lt;16&amp;gt;;
	rx-pin = &amp;lt;14&amp;gt;;
	rts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
	cts-pin = &amp;lt;0xFFFFFFFF&amp;gt;;
};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jagruti&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART0 on nRF9160dk</title><link>https://devzone.nordicsemi.com/thread/266058?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 16:17:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7e92f61-4b19-4a58-86f6-19f36619d086</guid><dc:creator>Parth Sagar</dc:creator><description>&lt;p&gt;Hi Jagruti,&lt;/p&gt;
&lt;p&gt;I am kind of facing a similar problem. For me even the UART1 isnt working. Can you share the details of the prj.cfg and overlay files of your working UART1?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART0 on nRF9160dk</title><link>https://devzone.nordicsemi.com/thread/230828?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2020 11:27:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:700ceca7-e14c-4e62-b546-57ca9b5dddf3</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;How have you enabled UART2?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a thread listing the&amp;nbsp;configuration to enable both in prj.conf and to define it in dts:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49797/using-uart2-in-asset_tracker-example"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/49797/using-uart2-in-asset_tracker-example&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could you try those configs and see if that works?&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: Problem with UART0 on nRF9160dk</title><link>https://devzone.nordicsemi.com/thread/230715?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2020 16:58:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e005e221-6ffb-49f4-8ea3-ed20b61abb97</guid><dc:creator>Jagruti</dc:creator><description>&lt;p&gt;I am able to change the UART0 pins to 10 and 11. I just changed SPM overlay file and I did not make any changes to dts compiled file. The pins are changed. So UART0 and UART1 are working. But still I can&amp;#39;t use UART2. There is always error after compiling. It shows UART 2 is undeclared.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART0 on nRF9160dk</title><link>https://devzone.nordicsemi.com/thread/230697?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2020 15:31:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71366490-6306-4f20-ac61-8e7f9768d918</guid><dc:creator>Jagruti</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I tried to use UART 2. For that I changed overlay file in spm, nrf9160_pca10090ns.dts_compiled files for UART and SPM. While compiling there is error in uart_nrfx_uarte.c file. After starting SES it always modify&amp;nbsp;&lt;span&gt;nrf9160_pca10090ns.dts_compiled file for UART and come backs to previous values. I am not understanding how to use UART2 and how to assign external gpio pins to UART0 or UART1. For UART program there is no overlay file.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UART0 on nRF9160dk</title><link>https://devzone.nordicsemi.com/thread/230573?ContentTypeID=1</link><pubDate>Thu, 23 Jan 2020 11:37:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67dc99a2-c34e-402c-b379-7b72b546d1f3</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;Could you try to add your .overlay configuration to the SPM?&lt;/p&gt;
&lt;p&gt;This is done by creating &amp;quot;../nrf/samples/nrf9160/spm/nrf9160_pca10090.overlay&amp;quot; and adding your &amp;amp;uart0 configuration.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note: you need to re-import the project in SES (or regenerate using CMake) to get the new overlay to take effect.&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>