<?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>i.MX ProcessorsのトピックRe: i.mx6 DMA question!</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792229#M122707</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，yunteng&amp;nbsp;long：&lt;/P&gt;&lt;P&gt;I am also working on the DMA driver. I am carrying the SSI data into the memory. Can you refer to your code?&lt;/P&gt;&lt;P&gt;There is no idea now.&lt;BR /&gt;thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2018 08:00:49 GMT</pubDate>
    <dc:creator>hsl</dc:creator>
    <dc:date>2018-12-07T08:00:49Z</dc:date>
    <item>
      <title>i.mx6 DMA question!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792224#M122702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear programmer:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I bought a i.MX6Q board, Android version:4.4.2, Kernel version:3.0.35.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Now, i test the DMA function and i found a question.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; After i finish the DMA init, i start DMA transfer. But i found the function(static void imxdma_issue_pending(struct dma_chan *chan)) is not be finished. It is a null function!&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; How can i do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jul 2018 01:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792224#M122702</guid>
      <dc:creator>rclongyunteng</dc:creator>
      <dc:date>2018-07-27T01:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 DMA question!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792225#M122703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi yunteng&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check Chapter 3 Smart Direct Memory Access (SDMA) API&lt;/P&gt;&lt;P&gt;attached Linux Manual. Also may be useful to read&lt;/P&gt;&lt;P&gt;Chapter 29 Configuring the SDMA Driver iMX6_Firmware_Guide.pdf&lt;/P&gt;&lt;P&gt;included in baremetal sdk, which may be found on &lt;A href="https://community.nxp.com/thread/432859"&gt;SMP Enable in IMX6&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 10:20:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792225#M122703</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-30T10:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 DMA question!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792226#M122704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I think i configured the SDMA driver correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I want to make my SDMA work as external memory to internal memory. But i can not found it via the source codes except DMA_DEV_TO_MEM and DMA_MEM_TO_DEV.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Then i read its datasheet, i found that it may be work through reusing Transfer Between Peripheral and External Memory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And it should be programmed in increamented mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; So i programed to set PSA register value&amp;nbsp; 11000110 at address (0x0800 + 32 * channel + offset), to work at &lt;SPAN style="font-weight: 400;"&gt;increamented mode. At the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;same time, i set&amp;nbsp;direction = DMA_DEV_TO_MEM.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; But it does not work after i programmed like that.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Would you give me some suggestions please? Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: 400;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2018 10:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792226#M122704</guid>
      <dc:creator>rclongyunteng</dc:creator>
      <dc:date>2018-07-30T10:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 DMA question!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792227#M122705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for memory to memory one can look at mxc_sdma_memcopy_test.c example&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://repository.timesys.com/buildsources/i/imx-test/imx-test-3.0.35-4.0.0/" title="http://repository.timesys.com/buildsources/i/imx-test/imx-test-3.0.35-4.0.0/"&gt;Index of /buildsources/i/imx-test/imx-test-3.0.35-4.0.0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 01:18:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792227#M122705</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-07-31T01:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 DMA question!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792228#M122706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you for your reply very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have test&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;mxc_sdma_memcopy_test.c example. It is useful for transfer between internal memory and internal memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; But I want it work as copy data from EIM to Memory. I think the mode is the same sa transfer between external memory and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;internal memory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have mapped eim address like below:&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;s_armaddr = ioremap_nocache(WEIM_ARB_BASE_ADDR, SDMA_BUF_SIZE );&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;And then i set the source buf like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sg_set_buf(&amp;amp;sg[0], s_armaddr + 0x16, SDMA_BUF_SIZE );&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; But the data i read form eim is not what i want.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Any other suggestions please? Thank you very much.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2018 03:32:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792228#M122706</guid>
      <dc:creator>rclongyunteng</dc:creator>
      <dc:date>2018-07-31T03:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 DMA question!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792229#M122707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi，yunteng&amp;nbsp;long：&lt;/P&gt;&lt;P&gt;I am also working on the DMA driver. I am carrying the SSI data into the memory. Can you refer to your code?&lt;/P&gt;&lt;P&gt;There is no idea now.&lt;BR /&gt;thank you very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2018 08:00:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792229#M122707</guid>
      <dc:creator>hsl</dc:creator>
      <dc:date>2018-12-07T08:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 DMA question!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792230#M122708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, H SL:&lt;/P&gt;&lt;P&gt;I have deleted the SSI case in audio code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2018 05:49:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-DMA-question/m-p/792230#M122708</guid>
      <dc:creator>rclongyunteng</dc:creator>
      <dc:date>2018-12-10T05:49:51Z</dc:date>
    </item>
  </channel>
</rss>

