<?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 MQX RTOS UART deriver using dma in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTOS-UART-deriver-using-dma/m-p/675124#M17368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MQX RTOS v4.0.2 doesn't give UART driver with dma. It gives support for polling&amp;nbsp;and interrupt method. I can see MQX RTOS v4.2 give UART driver using dma. How can I use MQX v4.2 dma UART driver in MQX v4.0? Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 May 2017 13:13:01 GMT</pubDate>
    <dc:creator>sameergorivale</dc:creator>
    <dc:date>2017-05-10T13:13:01Z</dc:date>
    <item>
      <title>MQX RTOS UART deriver using dma</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTOS-UART-deriver-using-dma/m-p/675124#M17368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MQX RTOS v4.0.2 doesn't give UART driver with dma. It gives support for polling&amp;nbsp;and interrupt method. I can see MQX RTOS v4.2 give UART driver using dma. How can I use MQX v4.2 dma UART driver in MQX v4.0? Is it possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 May 2017 13:13:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTOS-UART-deriver-using-dma/m-p/675124#M17368</guid>
      <dc:creator>sameergorivale</dc:creator>
      <dc:date>2017-05-10T13:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: MQX RTOS UART deriver using dma</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTOS-UART-deriver-using-dma/m-p/675125#M17369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sammer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UART driver updated to use the eDMA was introduced in MQX 4.1.0, it is for TWR-VF65GS10.&amp;nbsp; However this driver is not fully tested on Kinetis and even not documented in IO user guide. I would suggest you write your own driver for MQX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our customer implemented the UART with DMA at register programming level. I think it is very help to you. You can ported to MQX 4.0&lt;/P&gt;&lt;P&gt;Please refer to the following link.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/584042?commentID=584042#comment-584042" title="https://community.nxp.com/message/584042?commentID=584042#comment-584042"&gt;https://community.nxp.com/message/584042?commentID=584042#comment-584042&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;Have a nice day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 May 2017 03:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTOS-UART-deriver-using-dma/m-p/675125#M17369</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2017-05-18T03:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: MQX RTOS UART deriver using dma</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTOS-UART-deriver-using-dma/m-p/675126#M17370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel ,&lt;/P&gt;&lt;P&gt;Thanks for your comment. I refer your below link and have few queries&lt;/P&gt;&lt;P&gt;In link DMA is implemented for UART using 2 methods :&lt;/P&gt;&lt;P&gt;1. Without driver - register programming level&amp;nbsp;(Refer to folder - K60D100_MQX4.1_UART_DMA_withoutDriver)&lt;/P&gt;&lt;P&gt;2.Using MQX(K60D100_MQX4.1_UART_DMA).&lt;/P&gt;&lt;P&gt;You can find both folders in attachment in your link(&lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/thread/378987?commentID=584042#comment-584042"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.nxp.com/message/584042?commentID=584042#comment-584042" target="test_blank"&gt;https://community.nxp.com/message/584042?commentID=584042#comment-584042&lt;/A&gt;&amp;nbsp;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Without driver - register programming level&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A) I&amp;nbsp;was able to receive data(On UART 2)&amp;nbsp;using DMA at register programming level. When I send data from terminal, data is copied testDMA[240] buffer. Now,&amp;nbsp;I want to send some data as well through my application.&lt;/P&gt;&lt;P&gt;How same code can be modified such that it will send data using DMA&amp;nbsp;keeping receiving functionality as well? Please suggest.&lt;/P&gt;&lt;P&gt;I tried to configure another DMA channel i.e. channel 1 for transmitting data, but program does not work. Any suggestion?&lt;/P&gt;&lt;P&gt;B) Another question I have in receiving mode, When I send 240 bytes from terminal(From PC)&amp;nbsp;it copied to testDMA[240] buffer, however after 240 byte it stops filling data in buffer. I want to modify code such that&amp;nbsp; 240 byte copy from UART data register to testDMA[240] buffer then again for next 240 bytes it should copy data from UART data register to testDMA[240] buffer. How&amp;nbsp;I can modify your program for this application?&lt;/P&gt;&lt;P&gt;C) What does below field&amp;nbsp;indicates? Does it mean DMA transfer 1 byte at time from Data register to testDMA[240] buffer? What if I changed this to 5 bytes?&lt;/P&gt;&lt;P&gt;/* Transfer size */&lt;BR /&gt;&amp;nbsp;DMA_TCD0_NBYTES_MLNO = 1; //1 byte&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.Using MQX driver:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A) I need to port DMA driver to v4.0.2, However it is available in 4.2. I tried to work this driver in MQX 4.2 examples(UART example - Hello). However code is not compiled. Because following structure parameter(edma_devif) is undefined in given file.&lt;/P&gt;&lt;P&gt;const DMA_DEVIF_LIST my_dma_devif_list[] =&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;{ &amp;amp;edma_devif, (void *) 0, 16 },&lt;BR /&gt;&amp;nbsp;&amp;nbsp;{ NULL, NULL, 0 }&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;How to create instance for this parameter and get code compiled and work?&lt;/P&gt;&lt;P&gt;Because I wanted to port it to v4.0.2, before that just wanted to confirm to work it on v4.2. After that it is easy to port on v4.0.2.&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 07:11:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/MQX-RTOS-UART-deriver-using-dma/m-p/675126#M17370</guid>
      <dc:creator>sameergorivale</dc:creator>
      <dc:date>2017-05-19T07:11:30Z</dc:date>
    </item>
  </channel>
</rss>

