<?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: LPC845: uart_transfer_dma example : how to read buffer before callback?  in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-uart-transfer-dma-example-how-to-read-buffer-before/m-p/1087967#M41726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update DMA descriptor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Aug 2020 09:16:12 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2020-08-18T09:16:12Z</dc:date>
    <item>
      <title>LPC845: uart_transfer_dma example : how to read buffer before callback?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-uart-transfer-dma-example-how-to-read-buffer-before/m-p/1087964#M41723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm working on the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;uart_transfer_dma&lt;/STRONG&gt; &lt;/EM&gt;example for the LPC845 with ping pong buffers which are each 8 bytes sized. This works well when there is a continuous data stream.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder what is the proper way to handle the case when less than 8 bytes are received and&amp;nbsp;we want to process them anyway. This happens when the communication rate is very low.&lt;/P&gt;&lt;P&gt;Let's say I have a software timer that expires each 10ms, and I want to check if a few bytes were received on the UART. How can I check if they are some available without risk of loosing any byte?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Victor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2020 16:39:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-uart-transfer-dma-example-how-to-read-buffer-before/m-p/1087964#M41723</guid>
      <dc:creator>v_canoz</dc:creator>
      <dc:date>2020-07-10T16:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845: uart_transfer_dma example : how to read buffer before callback?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-uart-transfer-dma-example-how-to-read-buffer-before/m-p/1087965#M41724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Victor,&lt;/P&gt;&lt;P&gt;You can just transfer 4 bytes to have a try,&amp;nbsp; check whether can received.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2020 08:50:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-uart-transfer-dma-example-how-to-read-buffer-before/m-p/1087965#M41724</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-07-13T08:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845: uart_transfer_dma example : how to read buffer before callback?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-uart-transfer-dma-example-how-to-read-buffer-before/m-p/1087966#M41725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alice,&lt;/P&gt;&lt;P&gt;The question is, can I flush the DMA transfer before receiving the 8 bytes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2020 13:47:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-uart-transfer-dma-example-how-to-read-buffer-before/m-p/1087966#M41725</guid>
      <dc:creator>v_canoz</dc:creator>
      <dc:date>2020-08-07T13:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC845: uart_transfer_dma example : how to read buffer before callback?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-uart-transfer-dma-example-how-to-read-buffer-before/m-p/1087967#M41726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update DMA descriptor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 09:16:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC845-uart-transfer-dma-example-how-to-read-buffer-before/m-p/1087967#M41726</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2020-08-18T09:16:12Z</dc:date>
    </item>
  </channel>
</rss>

