<?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>nrf51822 TX bytes not back to back at 12K8 or 38K4 baud</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20908/nrf51822-tx-bytes-not-back-to-back-at-12k8-or-38k4-baud</link><description>We have a nrf51822 device that has to send 6 bytes back to back at 12K8 and 6-18 bytes at 38K4 in the future. 
 The bytes are in an array and do not need to be generated anymore. 
 Since the Bluetooth interrupt can be away for 3ms this generates a disruption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Mar 2017 13:49:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20908/nrf51822-tx-bytes-not-back-to-back-at-12k8-or-38k4-baud" /><item><title>RE: nrf51822 TX bytes not back to back at 12K8 or 38K4 baud</title><link>https://devzone.nordicsemi.com/thread/81649?ContentTypeID=1</link><pubDate>Wed, 29 Mar 2017 13:49:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f6cf5e6-a061-47cd-99d6-b4f83999a570</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Without knowing what your application timing requirements for the UART are it&amp;#39;s hard to suggest a exact solution. However, I can try to help with your questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Is there a TX FIFO? There is no HW FIFO on the nRF51. There is a software TX FIFO implementation if you use the app_uart_put(); function and app_uart_fifo.c and app_fifo.c&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Is the easyDMA controller usable for TX? No, easyDMA is not available for the UART on the nRF51, it is on the nRF52 but that doesn&amp;#39;t help you much here.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Is there a way to get time in the radio interrupt to copy bytes? Not sure exactly what you need to do here. However, you can use the Radio Notification feature to make sure you can complete your UART work before the radio interrupts you. There is also a time slicing feature of the Soft Device that may be of use depending on what exactly you need here.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>