<?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 DMA on K66 in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/UART4-DMA-on-K66/m-p/1354721#M8109</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;No, there isn't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
    <pubDate>Wed, 13 Oct 2021 07:25:08 GMT</pubDate>
    <dc:creator>jingpan</dc:creator>
    <dc:date>2021-10-13T07:25:08Z</dc:date>
    <item>
      <title>UART4 DMA on K66</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/UART4-DMA-on-K66/m-p/1349986#M8106</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a custom board with K66.&lt;/P&gt;&lt;P&gt;I'm using UART4 to handle modbus protocol (half duplex) and I'd want to handle it with DMA.&lt;/P&gt;&lt;P&gt;UART4 has a shared request for tx and rx DMA: in this post&amp;nbsp;&lt;LI-MESSAGE title="UART4 DMA on K66" uid="757111" url="https://community.nxp.com/t5/Kinetis-Microcontrollers/UART4-DMA-on-K66/m-p/757111#U757111" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;it's written that it's not possible to use UART4 DMA to handle full duplex tx and rx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to use UART4 DMA for half duplex communication?&lt;/P&gt;&lt;P&gt;If so, how can I configure the DMA to hanlde this situation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 10:41:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/UART4-DMA-on-K66/m-p/1349986#M8106</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2021-10-04T10:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: UART4 DMA on K66</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/UART4-DMA-on-K66/m-p/1353303#M8107</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/65478"&gt;@biafra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, of course you can&amp;nbsp;&lt;SPAN&gt;use UART4 DMA for half duplex communication. But software has to do lots of work to switch DMA work mode. I think it's no good than interrupt mode.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jing&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 07:11:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/UART4-DMA-on-K66/m-p/1353303#M8107</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-10-11T07:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: UART4 DMA on K66</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/UART4-DMA-on-K66/m-p/1353314#M8108</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/61241"&gt;@jingpan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for yor answer.&lt;/P&gt;&lt;P&gt;My problem is the speed: at higher bps it's a little bit hard to receive correctly all the packets (UART4 has only 1 byte FIFO), so the solution seems to use DMA.&lt;/P&gt;&lt;P&gt;Is there any example to configure the UART4 and DMA in such situation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Biafra&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 07:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/UART4-DMA-on-K66/m-p/1353314#M8108</guid>
      <dc:creator>biafra</dc:creator>
      <dc:date>2021-10-11T07:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: UART4 DMA on K66</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/UART4-DMA-on-K66/m-p/1354721#M8109</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;No, there isn't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 07:25:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/UART4-DMA-on-K66/m-p/1354721#M8109</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-10-13T07:25:08Z</dc:date>
    </item>
  </channel>
</rss>

