<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Extra bytes got added at the beginning of UART buffer in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extra-bytes-got-added-at-the-beginning-of-UART-buffer/m-p/228012#M6196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have mcf52259 Controller based hardware board and MQX 3.5 OS, which is communicating with external device on RS 485 (MODBUS RTU Protocol).&lt;/P&gt;&lt;P&gt;We have established communication between this device.&lt;/P&gt;&lt;P&gt;we found during reception of data from the external device&lt;/P&gt;&lt;P&gt;one or two extra bytes are getting added to the beginning of the frame sent by that device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had debugged and concluded that the bytes are getting added inside UART.&lt;/P&gt;&lt;P&gt;We used Scope and concluded that the additional bytes are not added till the RX pin of the Controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do find the packets send and received ( Bold ones are the extra bytes).&lt;/P&gt;&lt;P&gt;Note: This behavior is not consistent and sometimes we are getting correct response continuously.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;TX:- 01 03 08 34 00 01 c7 a4 &lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; 01 03 02 00 c8 b9 d2 ( Right Packet )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX:-01 03 03 e8 00 06 45 b8&lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; &lt;STRONG style="color: #ff0000;"&gt;5c&lt;/STRONG&gt; 01 03 0c 00 40 00 00 00 00 a5 a5 a5 a5 2c ec bd ff (Wrong packet,5c got added at the beginning)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX:- 01 03 03 e8 00 06 45 b8&lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; 01 03 0c 00 40 00 00 00 00 a5 a5 a5 a5 2c ec bd ff ( Right Packet )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX:- 01 03 04 b0 00 01 84 dd&lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;fb&lt;/STRONG&gt;&lt;/SPAN&gt; 01 03 02 00 03 f8 45(Wrong packet,0xfb got added at the beginning)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX:- 01 03 04 b0 00 01 84 dd&lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; 01 03 02 00 03 f8 45( Right Packet )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sethu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 10:58:11 GMT</pubDate>
    <dc:creator>Sethu123</dc:creator>
    <dc:date>2013-11-26T10:58:11Z</dc:date>
    <item>
      <title>Extra bytes got added at the beginning of UART buffer</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Extra-bytes-got-added-at-the-beginning-of-UART-buffer/m-p/228012#M6196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have mcf52259 Controller based hardware board and MQX 3.5 OS, which is communicating with external device on RS 485 (MODBUS RTU Protocol).&lt;/P&gt;&lt;P&gt;We have established communication between this device.&lt;/P&gt;&lt;P&gt;we found during reception of data from the external device&lt;/P&gt;&lt;P&gt;one or two extra bytes are getting added to the beginning of the frame sent by that device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had debugged and concluded that the bytes are getting added inside UART.&lt;/P&gt;&lt;P&gt;We used Scope and concluded that the additional bytes are not added till the RX pin of the Controller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do find the packets send and received ( Bold ones are the extra bytes).&lt;/P&gt;&lt;P&gt;Note: This behavior is not consistent and sometimes we are getting correct response continuously.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;TX:- 01 03 08 34 00 01 c7 a4 &lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; 01 03 02 00 c8 b9 d2 ( Right Packet )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX:-01 03 03 e8 00 06 45 b8&lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; &lt;STRONG style="color: #ff0000;"&gt;5c&lt;/STRONG&gt; 01 03 0c 00 40 00 00 00 00 a5 a5 a5 a5 2c ec bd ff (Wrong packet,5c got added at the beginning)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX:- 01 03 03 e8 00 06 45 b8&lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; 01 03 0c 00 40 00 00 00 00 a5 a5 a5 a5 2c ec bd ff ( Right Packet )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX:- 01 03 04 b0 00 01 84 dd&lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;fb&lt;/STRONG&gt;&lt;/SPAN&gt; 01 03 02 00 03 f8 45(Wrong packet,0xfb got added at the beginning)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TX:- 01 03 04 b0 00 01 84 dd&lt;/P&gt;&lt;P&gt;RX:-&amp;nbsp; 01 03 02 00 03 f8 45( Right Packet )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sethu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 10:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Extra-bytes-got-added-at-the-beginning-of-UART-buffer/m-p/228012#M6196</guid>
      <dc:creator>Sethu123</dc:creator>
      <dc:date>2013-11-26T10:58:11Z</dc:date>
    </item>
  </channel>
</rss>

