<?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 921600bit/s why so slow?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80692/uart-921600bit-s-why-so-slow</link><description>Dear Sirs, 
 
 In my current project I use nRF52 and external ADC. I have to send 14 Bytes each 500us using UART to PC. 
 It is only one way connection where nRF52840 is transmitter. 
 As I mentioned before, data amount is 14 Bytes and frequency is 2kHz</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 16 Oct 2021 11:37:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80692/uart-921600bit-s-why-so-slow" /><item><title>RE: UART 921600bit/s why so slow?</title><link>https://devzone.nordicsemi.com/thread/334438?ContentTypeID=1</link><pubDate>Sat, 16 Oct 2021 11:37:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:245c6109-35ed-4bc9-9487-ab7d175a9cdb</guid><dc:creator>mtimm</dc:creator><description>&lt;p&gt;Thank you Simonr,&lt;/p&gt;
&lt;p&gt;I have switched to UARTE and now transfer total time of 14 Bytes is ~170us. (using APP_UART was ~302us). So difference is huge.&lt;/p&gt;
&lt;p&gt;Could you please clarify what is the purpose of using APP_UART driver? Has it any advantages / pros comparing to UARTE? In my opinion it should be mark as&amp;nbsp;not recommended or deprecated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART 921600bit/s why so slow?</title><link>https://devzone.nordicsemi.com/thread/334362?ContentTypeID=1</link><pubDate>Fri, 15 Oct 2021 12:49:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf88aad2-3772-4e35-8b70-6046a290d3c6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;It seems like the reason it&amp;#39;s so slow is that you only write one byte at a time, making the device wait for each byte to be received before sending the next. My suggestion is to use &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52832.ps.v1.1%2Feasydma.html&amp;amp;anchor=easydma"&gt;EasyDMA &lt;/a&gt;to provide a dedicated channel for reading data from RAM to the peripheral at the same time as a second channel is dedicated for writing data to the RAM from the peripheral.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>