<?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>nrf52840 and s140, using sdk14, UART Example Problem ..</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25929/nrf52840-and-s140-using-sdk14-uart-example-problem</link><description>Hello, 
 I am trying to communicate urart with nrf52840 and other devices. 
 But there was a problem.
You can transfer data from the nrf52840 to another device, but if you transfer data to the nrf52840 from another device, it will not be received from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Oct 2017 08:49:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25929/nrf52840-and-s140-using-sdk14-uart-example-problem" /><item><title>RE: nrf52840 and s140, using sdk14, UART Example Problem ..</title><link>https://devzone.nordicsemi.com/thread/102134?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 08:49:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9bdcb9b6-e8ca-48a2-a018-4e0f219b2ce8</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure if I understand what code you are referring to. If it is the peripheral uart example in our SDKs the uart handler function is there to register possible UART errors. You can also chose to read out the data in the handler &lt;em&gt;or&lt;/em&gt; by polling the app_uart_get() function over and over in your main context.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 and s140, using sdk14, UART Example Problem ..</title><link>https://devzone.nordicsemi.com/thread/102133?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 09:24:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42db1271-6c07-43fb-abaf-13652c10399c</guid><dc:creator>jwcheon</dc:creator><description>&lt;p&gt;Hi, Martin.&lt;/p&gt;
&lt;p&gt;I solved the problem.
I was aiming to get data using APP_UART_GET () in the body (main.c).&lt;/p&gt;
&lt;p&gt;However, it was my problem that I could print on other devices but not read on that device.
It turns out that this is due to the &amp;quot;UART_EVENT_HANDLE&amp;quot; set in uart_init.
&amp;quot;uart_event_handle&amp;quot; has no data to read in main (main.c) because it already reads data through APP_UART_GET in case APP_UART_DATA_READY when data comes in.&lt;/p&gt;
&lt;p&gt;So I commented out the APP_UART_GET part in APP_UART_DATA_READY Case and found that it works properly.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure why this code was configured. Do you know?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 and s140, using sdk14, UART Example Problem ..</title><link>https://devzone.nordicsemi.com/thread/102132?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2017 08:47:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90ef9d6f-f1f4-470f-8e08-891c3e64b005</guid><dc:creator>MartinBL</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Can you edit your question and add the relevant code?&lt;/li&gt;
&lt;li&gt;Have you double checked that you have connected everything correctly? RX-TX, TX-RX, CTS-RTS, RTS-CTS?&lt;/li&gt;
&lt;li&gt;Have you connect both devices to common ground?&lt;/li&gt;
&lt;li&gt;Are both devices using the same supply voltage?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>