<?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>UART Configuration on nrf9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58132/uart-configuration-on-nrf9160</link><description>Hi all, 
 I have no experience on Nordic products. I have struggled with this issue for several days. My goal is communication between nrf9160 and nrf52840 through UART. In order to provide it, my setup is below: 
 In nrf9160; 
 
 -- In nrf9160_pca10090ns</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Feb 2020 00:06:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58132/uart-configuration-on-nrf9160" /><item><title>RE: UART Configuration on nrf9160</title><link>https://devzone.nordicsemi.com/thread/236101?ContentTypeID=1</link><pubDate>Tue, 25 Feb 2020 00:06:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67172b4e-163a-46c3-a0ae-019c6bfb063e</guid><dc:creator>CWallach</dc:creator><description>&lt;p&gt;Which version of the SDK are you using?&amp;nbsp; &amp;nbsp;Maybe try the at_client sample project.&lt;/p&gt;
&lt;p&gt;In your example the char &amp;#39;B&amp;#39; is continually written by the&amp;nbsp;&lt;span&gt;nrf52840.&amp;nbsp; &amp;nbsp;Maybe reverse the direction.&amp;nbsp;&amp;nbsp;&lt;/span&gt;When bringing up UART communication, I typically setup up a 1 second timer in order to write a single char to the UART once every second.&amp;nbsp; Transmitting is simpler than receiving.&lt;/p&gt;
&lt;p&gt;In your picture it looks like a nRF9160 dev board is being used&amp;nbsp;which has&amp;nbsp;a USB serial port interface. I&amp;#39;d connect that to a PC and run a serial terminal program such as TeraTerm (be sure to configure the baud rate).&amp;nbsp; The dev board shows up as 3 COM ports on the PC.&amp;nbsp; I forgot which one to select so try them all and see if chars are received.&amp;nbsp; Oh, use UART0 when talking to the PC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Configuration on nrf9160</title><link>https://devzone.nordicsemi.com/thread/236070?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2020 17:26:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4714031-7664-4f22-9f64-442f87ec2c60</guid><dc:creator>CNONE</dc:creator><description>&lt;p&gt;Still, I couldn&amp;#39;t achieve it. Do you have any suggestion about how I can test UART communication on nrf52840 or nrf9160? I just need simple example for UART communication.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART Configuration on nrf9160</title><link>https://devzone.nordicsemi.com/thread/235797?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2020 21:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8aef5cf7-3524-4af1-85ec-72e6cc99d637</guid><dc:creator>CWallach</dc:creator><description>&lt;p&gt;Try adding the following to the&amp;nbsp;&lt;span&gt;prj.conf file:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;CONFIG_AT_HOST_LIBRARY=n&lt;br /&gt;CONFIG_UART_INTERRUPT_DRIVEN=y&lt;br /&gt;CONFIG_UART_2_NRF_UARTE=y&lt;br /&gt;CONFIG_UART_2_NRF_TX_BUFFER_SIZE=32&lt;/p&gt;
&lt;p&gt;Changes to configuration files, such as the .overlay or prj.conf,&amp;nbsp;do not take affect until&amp;nbsp; the following:&lt;/p&gt;
&lt;p&gt;Close the project&lt;/p&gt;
&lt;p&gt;Exit Segger&lt;/p&gt;
&lt;p&gt;delete the build directory (build_nrf9160_pca10090ns)&lt;/p&gt;
&lt;p&gt;Run Segger and&amp;nbsp;do file --&amp;gt; open nRF Connect SDK project.&lt;/p&gt;
&lt;p&gt;Wait for indexing to complete.&lt;/p&gt;
&lt;p&gt;Then clean and build.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>