<?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中的主题 GPIO to RAM using DMA?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-to-RAM-using-DMA/m-p/1413425#M187003</link>
    <description>&lt;P&gt;I'm considering connecting a 12-bit ~50 MHz parallel A/D (e.g. &lt;A href="https://www.analog.com/media/en/technical-documentation/data-sheets/ad9235.pdf" target="_self"&gt;AD9235&lt;/A&gt;) to GPIOs of an MIMXRT1062, getting the samples to RAM using DMA. I need "ping/pong" mode so that the CPU can process half of the RAM buffer while the next is acquired, with no gap.&lt;/P&gt;&lt;P&gt;Is there some resource (appnote) that will help? I admit I'm intimidated by chapters 60-63 of the i.MX RT1060 Processor Reference Manual, describing the chip cross triggers.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Feb 2022 05:09:02 GMT</pubDate>
    <dc:creator>fgrieu</dc:creator>
    <dc:date>2022-02-15T05:09:02Z</dc:date>
    <item>
      <title>GPIO to RAM using DMA?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-to-RAM-using-DMA/m-p/1413425#M187003</link>
      <description>&lt;P&gt;I'm considering connecting a 12-bit ~50 MHz parallel A/D (e.g. &lt;A href="https://www.analog.com/media/en/technical-documentation/data-sheets/ad9235.pdf" target="_self"&gt;AD9235&lt;/A&gt;) to GPIOs of an MIMXRT1062, getting the samples to RAM using DMA. I need "ping/pong" mode so that the CPU can process half of the RAM buffer while the next is acquired, with no gap.&lt;/P&gt;&lt;P&gt;Is there some resource (appnote) that will help? I admit I'm intimidated by chapters 60-63 of the i.MX RT1060 Processor Reference Manual, describing the chip cross triggers.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 05:09:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-to-RAM-using-DMA/m-p/1413425#M187003</guid>
      <dc:creator>fgrieu</dc:creator>
      <dc:date>2022-02-15T05:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO to RAM using DMA?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-to-RAM-using-DMA/m-p/1414927#M187091</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196944"&gt;@fgrieu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;There isn't a example which can fit for your case. But in SDK, there is a EDMA ping-ping buffer demo you can refer to. It transfer data from buffer to buffer. You can modify its transfer type to&amp;nbsp;kEDMA_PeripheralToMemory.&lt;/P&gt;
&lt;P&gt;You want to use XBAR to trig dma transfer? I think the XBAR input should from a timer and XBAR_OUT00 is to a DMA MUX. Please refer to the XBAR demo in SDK.&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>Thu, 17 Feb 2022 03:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-to-RAM-using-DMA/m-p/1414927#M187091</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-02-17T03:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO to RAM using DMA?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-to-RAM-using-DMA/m-p/1415354#M187141</link>
      <description>&lt;P&gt;Hi jingpan,&lt;/P&gt;&lt;P&gt;thanks for pointing me to this demo which seems an excellent starting point:&lt;BR /&gt;SDK_2_11_0_MIMXRT1062xxxxA/boards/evkbmimxrt1060/driver_examples/edma/ping_pong_transfer/edma_ping_pong_transfer.c&lt;/P&gt;&lt;P&gt;I'm not &lt;EM&gt;trying&lt;/EM&gt; to use XBAR to trig DMA transfer; I'm &lt;EM&gt;fearing&lt;/EM&gt; having to mess with it to create a data path from GPIOs to RAM thru eDMA. If somewhat I do not, or some existing code does it form me, that's best.&lt;/P&gt;&lt;P&gt;One thing I do not get is how I synchronize the DMA. I need a 50 or 48 MHz clock generated by the CPU, and sample the GPIOs at the rising edge of that (the data is valid except from 2 to 10 ns after the rising edge).&lt;/P&gt;&lt;P&gt;Regards, fgrieu&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 14:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-to-RAM-using-DMA/m-p/1415354#M187141</guid>
      <dc:creator>fgrieu</dc:creator>
      <dc:date>2022-02-17T14:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO to RAM using DMA?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-to-RAM-using-DMA/m-p/1415769#M187170</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196944"&gt;@fgrieu&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The 48~50Mhz trig signal should comes from QTIMER or FlexPWM. They can trig DMA.&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>Fri, 18 Feb 2022 05:38:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-to-RAM-using-DMA/m-p/1415769#M187170</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2022-02-18T05:38:13Z</dc:date>
    </item>
  </channel>
</rss>

