<?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>Model-Based Design Toolbox (MBDT)のトピックDifferent Size LPUART Receive Issue</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Different-Size-LPUART-Receive-Issue/m-p/1530433#M7713</link>
    <description>&lt;P&gt;Hello Dear NXP Employees,&lt;/P&gt;&lt;P&gt;I would like to different size data from lpuart receive.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1- How can i do that?&lt;/P&gt;&lt;P&gt;2- For this problem i have tried to clear rx buffer when i receive data but i can not clear the rx buffer. How can i clear lpuart rx buffer in Simulink and Arm Studio?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 12:24:03 GMT</pubDate>
    <dc:creator>Okan</dc:creator>
    <dc:date>2022-09-29T12:24:03Z</dc:date>
    <item>
      <title>Different Size LPUART Receive Issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Different-Size-LPUART-Receive-Issue/m-p/1530433#M7713</link>
      <description>&lt;P&gt;Hello Dear NXP Employees,&lt;/P&gt;&lt;P&gt;I would like to different size data from lpuart receive.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1- How can i do that?&lt;/P&gt;&lt;P&gt;2- For this problem i have tried to clear rx buffer when i receive data but i can not clear the rx buffer. How can i clear lpuart rx buffer in Simulink and Arm Studio?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 12:24:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Different-Size-LPUART-Receive-Issue/m-p/1530433#M7713</guid>
      <dc:creator>Okan</dc:creator>
      <dc:date>2022-09-29T12:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Different Size LPUART Receive Issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Different-Size-LPUART-Receive-Issue/m-p/1542129#M7756</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I think you can use a software approach to this problem. You can use delimiters in the message you send over uart and to read characters into a string one by one.&lt;/P&gt;&lt;P&gt;For example, if you want to send voltage, current and fault status over uart, you can format the message like this "voltage:10&lt;STRONG&gt;;&lt;/STRONG&gt;current:1;fault:0" (using the&amp;nbsp;&lt;STRONG&gt;;&lt;/STRONG&gt; as a delimiter). Then you can break the message like this:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Voltage:10&lt;/LI&gt;&lt;LI&gt;Current:1&lt;/LI&gt;&lt;LI&gt;Fault:0&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Let me know if this approach helps you.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 19:30:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Different-Size-LPUART-Receive-Issue/m-p/1542129#M7756</guid>
      <dc:creator>cristiand</dc:creator>
      <dc:date>2022-10-21T19:30:23Z</dc:date>
    </item>
  </channel>
</rss>

