<?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: UART DMA problems。CPU isS32K118 in S32 SDK</title>
    <link>https://community.nxp.com/t5/S32-SDK/UART-DMA-problems-CPU-isS32K118/m-p/1000422#M1382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for your help.I will test and reply later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jan 2020 08:49:02 GMT</pubDate>
    <dc:creator>zhaowei961</dc:creator>
    <dc:date>2020-01-14T08:49:02Z</dc:date>
    <item>
      <title>UART DMA problems。CPU isS32K118</title>
      <link>https://community.nxp.com/t5/S32-SDK/UART-DMA-problems-CPU-isS32K118/m-p/1000420#M1380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Every time I use it, I need to call the receive function once to turn on the receive function. I need the DMA function to be on all the time and use it when I have data. But the library function is not implemented in this way. Every time I receive data, it will turn off the receiving function. How can I know when I receive the data? Is there a solution?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 07:09:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/UART-DMA-problems-CPU-isS32K118/m-p/1000420#M1380</guid>
      <dc:creator>zhaowei961</dc:creator>
      <dc:date>2020-01-13T07:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA problems。CPU isS32K118</title>
      <link>https://community.nxp.com/t5/S32-SDK/UART-DMA-problems-CPU-isS32K118/m-p/1000421#M1381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the usecase you described, a suitable implementation would be using an RX callback. The example project provided in the SDK shows such an implementation.&lt;/P&gt;&lt;P&gt;The idea is to install a callback, then call the receive function for one byte; once the first byte is received, the callback is called and inside the callback you can call LPUART_DRV_SetRxBuffer to update the receive buffer address. When no more bytes are expected, the communication is terminated (buffer is not updated anymore) - this will shut down the rx logic (and dma requests as well). This approach implements a continuous receive scenario, where the hw logic is not reinitialized for each transfer, basically receiving a variable number of bytes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have other questions!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vlad Lionte&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2020 10:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/UART-DMA-problems-CPU-isS32K118/m-p/1000421#M1381</guid>
      <dc:creator>B46399</dc:creator>
      <dc:date>2020-01-13T10:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: UART DMA problems。CPU isS32K118</title>
      <link>https://community.nxp.com/t5/S32-SDK/UART-DMA-problems-CPU-isS32K118/m-p/1000422#M1382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you for your help.I will test and reply later.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2020 08:49:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-SDK/UART-DMA-problems-CPU-isS32K118/m-p/1000422#M1382</guid>
      <dc:creator>zhaowei961</dc:creator>
      <dc:date>2020-01-14T08:49:02Z</dc:date>
    </item>
  </channel>
</rss>

