<?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 Re: The question about uart communication in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-question-about-uart-communication/m-p/901362#M3190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Of course, the file is&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;in the attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 May 2019 13:45:19 GMT</pubDate>
    <dc:creator>260068845</dc:creator>
    <dc:date>2019-05-06T13:45:19Z</dc:date>
    <item>
      <title>The question about uart communication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-question-about-uart-communication/m-p/901360#M3188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, engineers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I encountered some problems when using the MPC5744P uart communication routine. In the 'uart_echo_mpc574xP', I can receive a U8 element in the serial port 1 interrupt and output it to the serial port, but I want to transfer an array and adjust the receiving size to 10. The other did not make adjustments, but the program did not receive 10 elements and returned as I expected. May I ask where is the problem? Thank you!!&lt;span class="lia-inline-image-display-wrapper" image-alt="图片2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/80428iECCB72A1CB4FFFEC/image-size/large?v=v2&amp;amp;px=999" role="button" title="图片2.png" alt="图片2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 May 2019 07:19:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-question-about-uart-communication/m-p/901360#M3188</guid>
      <dc:creator>260068845</dc:creator>
      <dc:date>2019-05-05T07:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: The question about uart communication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-question-about-uart-communication/m-p/901361#M3189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/260068845@qq.com"&gt;260068845@qq.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you attach your model ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;DIV class="" style="color: #646464; background-color: #ffffff; border: 0px; font-size: 0.8571rem; margin: 8px 0px 0px;"&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 13:26:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-question-about-uart-communication/m-p/901361#M3189</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-05-06T13:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: The question about uart communication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-question-about-uart-communication/m-p/901362#M3190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Of course, the file is&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;in the attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2019 13:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-question-about-uart-communication/m-p/901362#M3190</guid>
      <dc:creator>260068845</dc:creator>
      <dc:date>2019-05-06T13:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: The question about uart communication</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-question-about-uart-communication/m-p/901363#M3191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/260068845@qq.com"&gt;260068845@qq.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the way the UART transmit/receive blocks work is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Receive - here you have an input to tell it what size you are expecting to receive (number of bytes)&lt;/P&gt;&lt;P&gt;- Transmit - the transfer size will be automatically set to the dimension of the input (e.g.: if you are using a data store memory block with size 10, you'll start sending 10 bytes)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your model, by sending directly the output of UART_Receive to the input of UART_Transmit, Simulink sees that as having size 1, so you end up with a 1 byte UART transmit. To fix this, you can put the data in a data store memory (as you can see in the model attached by me). This way, Simulink will see this as a 10B variable, so the transfer size will be set accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2019 15:39:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/The-question-about-uart-communication/m-p/901363#M3191</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-05-08T15:39:18Z</dc:date>
    </item>
  </channel>
</rss>

