<?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 break</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16574/uart-break</link><description>Hello together,
i have a question to the uart hardware communication.
I try to send 6 bytes from the nRF51 DK, S130, SDK12 (p0.09 tx) pin to another hardware rx pin. 
 My Init:
uart_init() in main. Baudrate 115200, Flow Control Disabled. 
 UART:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Sep 2016 12:53:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16574/uart-break" /><item><title>RE: UART break</title><link>https://devzone.nordicsemi.com/thread/63398?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2016 12:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b67ec951-2a8f-4ee3-9859-0f7dbbeedf79</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You can shorten the 21 microseconds a lot. The SDK driver actually starts and stops the transmission for every byte, which is not efficient at all. If you look at the &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf"&gt;Reference Manual&lt;/a&gt; part 29.4 this is not necessary. You can write your own driver to send the bytes.&lt;/p&gt;
&lt;p&gt;Actually what I said in the last comment is not the correct time to measure. The time between ENDTX interrupt and TXD being set is about 24us which reflects the total time the nRF51 is doing the processing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART break</title><link>https://devzone.nordicsemi.com/thread/63396?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2016 11:36:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73a2c188-fb7c-46e1-9dc9-12c8e86f70ef</guid><dc:creator>Sascha</dc:creator><description>&lt;p&gt;Thanks for your answer. Ok, i thought so. So, there is no way to shorten this 21 microseconds? Think its much time, if i will send a couple of data, compared to the cable variant.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART break</title><link>https://devzone.nordicsemi.com/thread/63397?ContentTypeID=1</link><pubDate>Wed, 21 Sep 2016 11:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b395438-ca43-46d8-9d89-9b15a181dae5</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The 21 extra microseconds you see when using nRF51 is due to processing (it is the time between the ENDTX interrupt and the STARTTX task where a new byte is being transferred). It should not be a problem however as each byte starts when the line goes low.&lt;/p&gt;
&lt;p&gt;Unless the the time it takes to receive all the bytes matter this should work and I would try to look for other reasons it is not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>