<?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)のトピックRe: LPUART_Receive does not read size</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931567#M3469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the file that you should change to make the block use the input for setting the size of the transfer (versus using the output's size to set the transfer size, as it is currently doing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The location of the file is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;{ROOT}\mbdtbx_s32k\blocks\lpuart\&lt;STRONG&gt;lpuart_s32k_receive.tlc&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for reporting this issue.&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>Thu, 03 Oct 2019 09:18:24 GMT</pubDate>
    <dc:creator>constantinrazva</dc:creator>
    <dc:date>2019-10-03T09:18:24Z</dc:date>
    <item>
      <title>LPUART_Receive does not read size</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931563#M3465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to read 16 bytes from the serial interface, and I did the following comfiguration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90848iE843EFCC1E731D40/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I generate code, the function call is using 1 as size, and never changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91254i6A2FD491F9E11613/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you help me NXP team?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MATLAB: 2019b&lt;/P&gt;&lt;P&gt;NXP_MDBDToolbox_S32K1xx: 4.1.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2019 12:24:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931563#M3465</guid>
      <dc:creator>vinicius_olivei</dc:creator>
      <dc:date>2019-09-30T12:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_Receive does not read size</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931564#M3466</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/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if the input is 16, the output is a single uint8_t variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was more interested about the output data type, like in the following model:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81555i269AF68F865A144A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In order to achieve this, please declare a Data Store memory and adjust the following settings:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/81557iF840D29B3EF4C5AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can declare it as volatile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 09:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931564#M3466</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2019-10-01T09:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_Receive does not read size</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931565#M3467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="301099" data-objecttype="3" href="https://community.nxp.com/people/mariuslucianandrei"&gt;Marius-lucian Andrei&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;Yeah, that is good work around&lt;BR /&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I created a stateflow chart which packes the buffer withing start character and end character, but your idea is better.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Vinicius.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 13:22:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931565#M3467</guid>
      <dc:creator>vinicius_olivei</dc:creator>
      <dc:date>2019-10-01T13:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_Receive does not read size</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931566#M3468</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/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply (was taking some time off). Thank you for reporting this issue! I will get a fix today and first post it here and in a few days on the hotfixes page for our latest release. Although the block is perfectly usable with the workaround that &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌ proposed, that is not the intended way for the block to work - you should be able to use variable length with more control than that for receiving blocks [eventhough for transfer blocks that is not the case]. I'll come back with the fix in a few!&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>Thu, 03 Oct 2019 08:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931566#M3468</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-10-03T08:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_Receive does not read size</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931567#M3469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/vinicius.oliveira@enfas.de"&gt;vinicius.oliveira@enfas.de&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the file that you should change to make the block use the input for setting the size of the transfer (versus using the output's size to set the transfer size, as it is currently doing).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The location of the file is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;{ROOT}\mbdtbx_s32k\blocks\lpuart\&lt;STRONG&gt;lpuart_s32k_receive.tlc&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for reporting this issue.&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>Thu, 03 Oct 2019 09:18:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931567#M3469</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2019-10-03T09:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART_Receive does not read size</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931568#M3470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class=""&gt;&lt;A _jive_internal="true" class="" data-userid="298737" data-username="constantinrazvan.chivu" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;Constantin&lt;/A&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the support and providing the hot fix. It works great.&lt;/P&gt;&lt;P&gt;NXP team aways helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Vinicius.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 12:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/LPUART-Receive-does-not-read-size/m-p/931568#M3470</guid>
      <dc:creator>vinicius_olivei</dc:creator>
      <dc:date>2019-10-03T12:56:34Z</dc:date>
    </item>
  </channel>
</rss>

