<?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>S32KのトピックThe S32K312 UART receives variable length data.</title>
    <link>https://community.nxp.com/t5/S32K/The-S32K312-UART-receives-variable-length-data/m-p/1866144#M35396</link>
    <description>&lt;P&gt;Hi NXP，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;When I use the S32K312 UART to receive data of indefinite length, I encounter the following two questions, please ask NXP to answer, preferably give an engineering example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;How to use interrupts to receive data of indefinite length? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; How to use DMA to receive variable length data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Li 3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2024 09:17:18 GMT</pubDate>
    <dc:creator>li3</dc:creator>
    <dc:date>2024-05-15T09:17:18Z</dc:date>
    <item>
      <title>The S32K312 UART receives variable length data.</title>
      <link>https://community.nxp.com/t5/S32K/The-S32K312-UART-receives-variable-length-data/m-p/1866144#M35396</link>
      <description>&lt;P&gt;Hi NXP，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;When I use the S32K312 UART to receive data of indefinite length, I encounter the following two questions, please ask NXP to answer, preferably give an engineering example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN class=""&gt;How to use interrupts to receive data of indefinite length? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; How to use DMA to receive variable length data?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Li 3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 09:17:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-S32K312-UART-receives-variable-length-data/m-p/1866144#M35396</guid>
      <dc:creator>li3</dc:creator>
      <dc:date>2024-05-15T09:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: The S32K312 UART receives variable length data.</title>
      <link>https://community.nxp.com/t5/S32K/The-S32K312-UART-receives-variable-length-data/m-p/1867798#M35508</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/231581"&gt;@li3&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Both the interrupts and the DMA transfers are handled by the LPUART driver.&lt;/P&gt;
&lt;P&gt;Call the &lt;STRONG&gt;Lpuart_Uart_Ip_AsyncReceive()&lt;/STRONG&gt; and use the &lt;STRONG&gt;UartCallback&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1715929765002.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279316i357D47940DA34016/image-size/medium?v=v2&amp;amp;px=400" role="button" title="danielmartynek_0-1715929765002.png" alt="danielmartynek_0-1715929765002.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_0-1715929765002.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is this API that can be used to extend the &lt;STRONG&gt;AsyncReceive()&lt;/STRONG&gt; call from the callback:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1715929821288.png" style="width: 577px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279317iD6C84C9A3DA19741/image-dimensions/577x218?v=v2" width="577" height="218" role="button" title="danielmartynek_1-1715929821288.png" alt="danielmartynek_1-1715929821288.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;danielmartynek_1-1715929821288.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also, the application can call &lt;STRONG&gt;Lpuart_Uart_Ip_GetReceiveStatus()&lt;/STRONG&gt; to get the status of the call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 07:12:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/The-S32K312-UART-receives-variable-length-data/m-p/1867798#M35508</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-05-17T07:12:45Z</dc:date>
    </item>
  </channel>
</rss>

