<?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>Want to use UART 1 with nRF9160 DK to print output on the console from another MCU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65254/want-to-use-uart-1-with-nrf9160-dk-to-print-output-on-the-console-from-another-mcu</link><description>I am unable to read any uart input when I configure UART1 with nRF9160DK. 
 Please let me know if anything is wrong in my code/config 
 
 main.c 
 
 nrf9160dk_nrf9160ns.overlay 
 
 
 prj.conf 
 
 
 I cannot see any data on my console even after sending</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Aug 2020 12:27:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65254/want-to-use-uart-1-with-nrf9160-dk-to-print-output-on-the-console-from-another-mcu" /><item><title>RE: Want to use UART 1 with nRF9160 DK to print output on the console from another MCU</title><link>https://devzone.nordicsemi.com/thread/266737?ContentTypeID=1</link><pubDate>Thu, 27 Aug 2020 12:27:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ec6f704-3f06-4dcd-93f0-d6746d7dbae1</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;I&amp;#39;m glad to hear it worked.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Parth Sagar"]Do you have any suggestions to factory reset nRF9160DK?[/quote]
&lt;p&gt;&amp;nbsp;You can erase the application, by calling &amp;quot;nrfjprog -e -f nrf91&amp;quot;. This will then leave the nRF9160 application flash blank. Note: this does not do anything with the modem itself, it only erases the application.&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: Want to use UART 1 with nRF9160 DK to print output on the console from another MCU</title><link>https://devzone.nordicsemi.com/thread/266542?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 14:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d2517a7-94ab-4e15-a87b-7ed443f18c15</guid><dc:creator>Parth Sagar</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;Thank you very much for your recommendations. I followed your instructions on another board and it works. Still not sure what was wrong with my previous board. Do you have any suggestions to factory reset nRF9160DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to use UART 1 with nRF9160 DK to print output on the console from another MCU</title><link>https://devzone.nordicsemi.com/thread/266540?ContentTypeID=1</link><pubDate>Wed, 26 Aug 2020 07:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:224fa723-a430-49b0-8bc1-eba1b0053dc1</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;Did you try to use P0.10 and P0.11 as RXD/TXD on UART1?&lt;/p&gt;
&lt;p&gt;As mentioned, P0.01 and P0.00 are physically connected to another IC on the DK, so you cannot use those pins if you want to connect your own UART device. Do note that not all GPIOs are available to use freely on the nRF9160-DK, but P0.10 to P0.13 are available on the pin header. Here you can see the default configuration, and which pins are already in-use on the DK:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/board_controller.html?cp=2_0_5_4_6_0"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf91_dk/UG/nrf91_DK/board_controller.html?cp=2_0_5_4_6_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: Want to use UART 1 with nRF9160 DK to print output on the console from another MCU</title><link>https://devzone.nordicsemi.com/thread/266539?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 14:39:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:321fe873-658d-4450-ab47-1be0da8aac1b</guid><dc:creator>Parth Sagar</dc:creator><description>&lt;p&gt;So this occurs when I add&amp;nbsp;&lt;span&gt;CONFIG_UART_1_NRF_UARTE=y in my config file&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-4e49f0a02d1b404dbff52f85e54b3ca6/pastedimage1598366296576v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If its not needed to add (as you told earlier), then it wouldnt give any error.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to use UART 1 with nRF9160 DK to print output on the console from another MCU</title><link>https://devzone.nordicsemi.com/thread/266538?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 14:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac034ecf-3d87-4ef8-8fcf-948d7629ac8b</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;
[quote user="Parth Sagar"]Do you think I need to add&amp;nbsp; CONFIG_UART_1_NRF_UARTE=y in my cfg file?[/quote]
&lt;p&gt;No need in ncs v1.3.0, as the dts has this peripheral enabled in the .overlay file.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you click where it says &amp;quot;tasks&amp;quot; in the SES text box, and select &amp;quot;output&amp;quot; and show what that states?&lt;/p&gt;
&lt;p&gt;It might be that you need to delete your build folder, and regenerate the project. If that still shows errors, please post them to me.&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: Want to use UART 1 with nRF9160 DK to print output on the console from another MCU</title><link>https://devzone.nordicsemi.com/thread/266537?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 14:20:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4466e800-4872-4440-a9b3-f75ab1541be3</guid><dc:creator>Parth Sagar</dc:creator><description>&lt;p&gt;Thanks for the suggestion, but&amp;nbsp;it dsnt work.&lt;/p&gt;
&lt;p&gt;Do you think I need to add&amp;nbsp; CONFIG_UART_1_NRF_UARTE=y in my cfg file?&lt;/p&gt;
&lt;p&gt;If yes, then I am getting errors&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-4e49f0a02d1b404dbff52f85e54b3ca6/pastedimage1598365194250v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Want to use UART 1 with nRF9160 DK to print output on the console from another MCU</title><link>https://devzone.nordicsemi.com/thread/266536?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 06:59:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21998d44-9276-4726-ad51-342b1b3aec2c</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;UART1 is by default on P0.00 and P0.01, and is connected to the SEGGER IC on the DK.&lt;/p&gt;
&lt;p&gt;Can you please try to use another GPIO pair (like P0.10 and P0.11) and see if those work better?&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>