<?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: HOW to use sdma channel to transfer data for uart? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709837#M110341</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jingyang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Per my understanding, if you enable the tx and rx dma channels in the dts file(it should aready be enabled by default), it can enable SDMA support for UART. Do you need the sample code for the sdma mem2mem application? You can&amp;nbsp;refer to &amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/440728?commentID=862063#comment" title="https://community.nxp.com/message/862063?commentID=862063#comment-862063"&gt;https://community.nxp.com/message/862063?commentID=862063#comment-862063&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Sep 2017 02:27:39 GMT</pubDate>
    <dc:creator>frank_zhang</dc:creator>
    <dc:date>2017-09-25T02:27:39Z</dc:date>
    <item>
      <title>HOW to use sdma channel to transfer data for uart?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709832#M110336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used imx6qsabread board,can anyone tell me how to use sdma channel to transfer data for uart or give me an example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 03:16:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709832#M110336</guid>
      <dc:creator>jingyangxie</dc:creator>
      <dc:date>2017-09-21T03:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: HOW to use sdma channel to transfer data for uart?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709833#M110337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jingyang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;It looks like common UART has used SDMA to transfer data. You can refer to Appendix A SDMA Scripts in i.MX6RM.Thank you！&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 04:44:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709833#M110337</guid>
      <dc:creator>frank_zhang</dc:creator>
      <dc:date>2017-09-21T04:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: HOW to use sdma channel to transfer data for uart?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709834#M110338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,Frank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; thaks for your answer,but I still can't understand usage of sdma for uart,can you give me an example ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 05:29:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709834#M110338</guid>
      <dc:creator>jingyangxie</dc:creator>
      <dc:date>2017-09-21T05:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: HOW to use sdma channel to transfer data for uart?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709835#M110339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jingyang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;For the SDMA usage of Linux UART driver, you can refer to chapter 47 of i.MX Linux RM. I paste some paragraphs as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Each UART can be configured to use DMA for the data transfer by enabling the DMA&lt;BR /&gt;channel in the DTS file.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The driver requests two DMA channels for the UARTs that need DMA transfer. On a&lt;BR /&gt;receive transaction, the driver copies the data from the DMA receive buffer to the TTY&lt;BR /&gt;Flip Buffer&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;While using DMA to transmit, the driver copies the data from the UART transmit buffer&lt;BR /&gt;to the DMA transmit buffer and sends this buffer to the DMA system. For more&lt;BR /&gt;information, see the Linux documentation on the serial driver in the kernel source tree.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Also you can check the driver&amp;nbsp;&amp;lt;Yocto_BuildDir&amp;gt;/linux/drivers/tty/serial/imx.c and the related dts file, Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 08:11:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709835#M110339</guid>
      <dc:creator>frank_zhang</dc:creator>
      <dc:date>2017-09-21T08:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: HOW to use sdma channel to transfer data for uart?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709836#M110340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Frank&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&amp;nbsp; read the chapter and check the driver,the driver supports DMA ,but how can I use this in an application?&lt;/P&gt;&lt;P&gt;could you give me an source code example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 01:51:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709836#M110340</guid>
      <dc:creator>jingyangxie</dc:creator>
      <dc:date>2017-09-25T01:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: HOW to use sdma channel to transfer data for uart?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709837#M110341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jingyang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Per my understanding, if you enable the tx and rx dma channels in the dts file(it should aready be enabled by default), it can enable SDMA support for UART. Do you need the sample code for the sdma mem2mem application? You can&amp;nbsp;refer to &amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/thread/440728?commentID=862063#comment" title="https://community.nxp.com/message/862063?commentID=862063#comment-862063"&gt;https://community.nxp.com/message/862063?commentID=862063#comment-862063&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Frank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 02:27:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709837#M110341</guid>
      <dc:creator>frank_zhang</dc:creator>
      <dc:date>2017-09-25T02:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: HOW to use sdma channel to transfer data for uart?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709838#M110342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the application layer, any application doesn't know about the hardware detail including using or not using DMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why need different layer for&amp;nbsp; software and OS. One application can run under the different platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The different is the speed and the CPU loading if it is using or not using DMA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Sep 2017 09:59:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/HOW-to-use-sdma-channel-to-transfer-data-for-uart/m-p/709838#M110342</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2017-09-25T09:59:48Z</dc:date>
    </item>
  </channel>
</rss>

