<?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 uart0 and uart1 both used at the same time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38589/nrf52840-uart0-and-uart1-both-used-at-the-same-time</link><description>Hi, 
 I want to use both UART0 and UART1 at the same time, and run the testing example from https://devzone.nordicsemi.com/f/nordic-q-a/25173/nrf52840-uart1-not-working-in-sdk-14 and it seems that the read data function from both UART is blocking until</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 29 Sep 2018 10:14:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38589/nrf52840-uart0-and-uart1-both-used-at-the-same-time" /><item><title>RE: nrf52840 uart0 and uart1 both used at the same time</title><link>https://devzone.nordicsemi.com/thread/150855?ContentTypeID=1</link><pubDate>Sat, 29 Sep 2018 10:14:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8261ba3-05e2-4134-8b69-81e1cb2708f8</guid><dc:creator>vernon</dc:creator><description>&lt;p&gt;Hi Keneth,&lt;/p&gt;
&lt;p&gt;After so many times testing, I found that the serial not work if the PC&amp;#39;s transmission is fast(10ms probably) or the sending data size is greater than 10 bytes, do you have any ideas for that issue? thank you very much.&lt;/p&gt;
&lt;p&gt;Vernon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 uart0 and uart1 both used at the same time</title><link>https://devzone.nordicsemi.com/thread/149134?ContentTypeID=1</link><pubDate>Tue, 18 Sep 2018 02:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac7010ba-c061-4bcf-ab0a-2cd967db4364</guid><dc:creator>vernon</dc:creator><description>&lt;p&gt;Hi Keneth, Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 uart0 and uart1 both used at the same time</title><link>https://devzone.nordicsemi.com/thread/149107?ContentTypeID=1</link><pubDate>Mon, 17 Sep 2018 17:52:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c6b9271-c209-464c-9dcd-d548c25da886</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;From the documentation is says:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/**
 * @brief Function for reading from a serial port.
 *
 * @param p_serial   Serial port instance.
 * @param p_data     Receive buffer pointer.
 * @param size       Receive buffer size.
 * @param p_read     Amount of data actually read from the serial port.
 *                   NULL pointer can be passed.
 * @param timeout_ms Operation timeout, in milliseconds. Pass 0 to operate in
 *                   non blocking mode.
 *
 * @return Standard error code.
 * */
ret_code_t nrf_serial_read(nrf_serial_t const * p_serial,
                           void * p_data,
                           size_t size,
                           size_t * p_read,
                           uint32_t timeout_ms);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Wouldn&amp;#39;t&amp;nbsp;timeout_ms=0 do the trick?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>