<?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: UART4/5 can only transmit or receive in DMA mode? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-5-can-only-transmit-or-receive-in-DMA-mode/m-p/1525250#M64068</link>
    <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Hi, Vinolzy&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;You can use DMA on either TX or RX but not both, in K64 both UARTs 4 and 5 have this restriction.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;If you connect the source to a DMA channel with both RX and TX DMA triggers enabled either of them will trigger a DMA transfer, which means that RX will disturb TX and TX will disturb RX.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;I think that you will need to decide on the direction to use DMA mode and use interrupt on the other.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN&gt;UARTs: &lt;/SPAN&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerUART.PDF" target="_blank"&gt;&lt;SPAN&gt;http://www.utasker.com/docs/uTasker/uTaskerUART.PDF&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;I hope this information help you!.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Kind Regards&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 19:50:09 GMT</pubDate>
    <dc:creator>Ramon_Vega</dc:creator>
    <dc:date>2022-09-20T19:50:09Z</dc:date>
    <item>
      <title>UART4/5 can only transmit or receive in DMA mode?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-5-can-only-transmit-or-receive-in-DMA-mode/m-p/1523072#M64043</link>
      <description>&lt;P&gt;the DMA request sources&amp;nbsp;&lt;/P&gt;&lt;P&gt;In terms of UART0~UART3,UART Transmit and UART Receive are DMA sources respectively.But UART4~5 only have one source which is UART Transmit or Receive.&lt;/P&gt;&lt;P&gt;Does it mean UART4/5 can't transmit and receive both in DMA mode?Or I have to make sure the process of transmit and receive is at different time.&lt;/P&gt;&lt;P&gt;What should I pay attention to in the program?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193832i33A14099FC51E6CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 16:59:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-5-can-only-transmit-or-receive-in-DMA-mode/m-p/1523072#M64043</guid>
      <dc:creator>jake111</dc:creator>
      <dc:date>2022-09-15T16:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: UART4/5 can only transmit or receive in DMA mode?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-5-can-only-transmit-or-receive-in-DMA-mode/m-p/1524494#M64062</link>
      <description>&lt;P&gt;Hi Vinolzy,&lt;/P&gt;
&lt;P&gt;Thank you for contact us, could you please tell me what Kinetis device are you working on?, I am looking for additional details.&lt;/P&gt;
&lt;P&gt;Kind Regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 21:46:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-5-can-only-transmit-or-receive-in-DMA-mode/m-p/1524494#M64062</guid>
      <dc:creator>Ramon_Vega</dc:creator>
      <dc:date>2022-09-19T21:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: UART4/5 can only transmit or receive in DMA mode?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-5-can-only-transmit-or-receive-in-DMA-mode/m-p/1524710#M64063</link>
      <description>&lt;P&gt;Thanks for your reply.The device is MK64FN1M0VMD12.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 06:03:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-5-can-only-transmit-or-receive-in-DMA-mode/m-p/1524710#M64063</guid>
      <dc:creator>jake111</dc:creator>
      <dc:date>2022-09-20T06:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: UART4/5 can only transmit or receive in DMA mode?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-5-can-only-transmit-or-receive-in-DMA-mode/m-p/1525250#M64068</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Hi, Vinolzy&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;You can use DMA on either TX or RX but not both, in K64 both UARTs 4 and 5 have this restriction.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;If you connect the source to a DMA channel with both RX and TX DMA triggers enabled either of them will trigger a DMA transfer, which means that RX will disturb TX and TX will disturb RX.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;I think that you will need to decide on the direction to use DMA mode and use interrupt on the other.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;SPAN&gt;UARTs: &lt;/SPAN&gt;&lt;A href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerUART.PDF" target="_blank"&gt;&lt;SPAN&gt;http://www.utasker.com/docs/uTasker/uTaskerUART.PDF&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;I hope this information help you!.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;Kind Regards&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 19:50:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-5-can-only-transmit-or-receive-in-DMA-mode/m-p/1525250#M64068</guid>
      <dc:creator>Ramon_Vega</dc:creator>
      <dc:date>2022-09-20T19:50:09Z</dc:date>
    </item>
  </channel>
</rss>

