<?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>Send UARTE data , but an error has occurred</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37726/send-uarte-data-but-an-error-has-occurred</link><description>Hi , 
 I don&amp;#39;t know if it is related to the code below? 
 #define UART_TX_BUF_SIZE 256 /**&amp;lt; UART TX buffer size. */ 
 I cut two pictures and hope to help understand the problem. 
 
 
 I don&amp;#39;t understand how the 0x04 framing error happened. 
 In addition</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Aug 2018 17:00:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37726/send-uarte-data-but-an-error-has-occurred" /><item><title>RE: Send UARTE data , but an error has occurred</title><link>https://devzone.nordicsemi.com/thread/145365?ContentTypeID=1</link><pubDate>Wed, 22 Aug 2018 17:00:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b4c4ad-05da-49ef-9fe2-397df7a4be5d</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Is this still your DMX project?&lt;/p&gt;
&lt;p&gt;As your 2nd picture shows, the DMX has a BREAK condition&amp;nbsp; before the first &amp;quot;real&amp;quot; UART frame.&lt;/p&gt;
&lt;p&gt;I think it is to be expected that the UART &lt;em&gt;&lt;strong&gt;will&lt;/strong&gt; &lt;/em&gt;give a Framing Error on a BREAK ?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter#Break_condition"&gt;https://en.wikipedia.org/wiki/Universal_asynchronous_receiver-transmitter#Break_condition&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You will probably need to detect the BREAK separately (as the&amp;nbsp;start&amp;nbsp; of a new DMX protocol packet).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Again, DMX512 is a well-established and widely-used protocol - there must be plenty of &lt;em&gt;prior art&lt;/em&gt; on this ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>