<?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>LPC MicrocontrollersのトピックRe: LPC55S16 USART DMA receive unknown Length.</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-USART-DMA-receive-unknown-Length/m-p/1559635#M50832</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209087"&gt;@NaveenGS&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Have you tried with any of the following check examples yet?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_0-1669340170549.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201679i5AB88E09C3A2DE7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_0-1669340170549.png" alt="RaulRomero_0-1669340170549.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;[Import SDK example(s) -&amp;gt; driver_examples]&lt;/P&gt;
&lt;P&gt;You could try using polling method too.&lt;/P&gt;
&lt;P&gt;Since the USART, as you point out, does not provide an IDLE detection interrupt, you could try to configure the DMA for a large receive buffer and perform polling every amount of ms of the transfer count. For that you should configure the transfers from FIFORD register.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_1-1669340170552.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201680iF33372AFDEF5AB24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_1-1669340170552.png" alt="RaulRomero_1-1669340170552.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;[LPC55S1x/LPC551x User Manual. Chapter 34: LPC55S1x/LPC551x USARTs]&lt;/P&gt;
&lt;P&gt;Best regards, Raul&lt;/P&gt;</description>
    <pubDate>Fri, 25 Nov 2022 01:36:46 GMT</pubDate>
    <dc:creator>RaRo</dc:creator>
    <dc:date>2022-11-25T01:36:46Z</dc:date>
    <item>
      <title>LPC55S16 USART DMA receive unknown Length.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-USART-DMA-receive-unknown-Length/m-p/1557585#M50784</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Previously I used MKV58 series controller which has EDMA support where, I was using idleline flag to handle unknown rx size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, does&amp;nbsp;LPC55s16supports EDMA?&lt;/P&gt;&lt;P&gt;I have gone through DMA and interrupt transfer examples of LPC55s16 controller.&lt;/P&gt;&lt;P&gt;DMA send is working as expected. How to use DMA receive with unknown bytes length. Is interrupt with ring buffer the only way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Naveen G S&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Nov 2022 07:49:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-USART-DMA-receive-unknown-Length/m-p/1557585#M50784</guid>
      <dc:creator>NaveenGS</dc:creator>
      <dc:date>2022-11-22T07:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S16 USART DMA receive unknown Length.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-USART-DMA-receive-unknown-Length/m-p/1559635#M50832</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/209087"&gt;@NaveenGS&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Have you tried with any of the following check examples yet?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_0-1669340170549.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201679i5AB88E09C3A2DE7F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_0-1669340170549.png" alt="RaulRomero_0-1669340170549.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;[Import SDK example(s) -&amp;gt; driver_examples]&lt;/P&gt;
&lt;P&gt;You could try using polling method too.&lt;/P&gt;
&lt;P&gt;Since the USART, as you point out, does not provide an IDLE detection interrupt, you could try to configure the DMA for a large receive buffer and perform polling every amount of ms of the transfer count. For that you should configure the transfers from FIFORD register.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RaulRomero_1-1669340170552.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/201680iF33372AFDEF5AB24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RaulRomero_1-1669340170552.png" alt="RaulRomero_1-1669340170552.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;[LPC55S1x/LPC551x User Manual. Chapter 34: LPC55S1x/LPC551x USARTs]&lt;/P&gt;
&lt;P&gt;Best regards, Raul&lt;/P&gt;</description>
      <pubDate>Fri, 25 Nov 2022 01:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S16-USART-DMA-receive-unknown-Length/m-p/1559635#M50832</guid>
      <dc:creator>RaRo</dc:creator>
      <dc:date>2022-11-25T01:36:46Z</dc:date>
    </item>
  </channel>
</rss>

