<?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: GPIO DMA Again in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-DMA-Again/m-p/537790#M11543</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by xianghuiwang on Thu Apr 17 16:55:58 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try to use p&amp;gt;m for your Timer3 Capture 1 triggered DMA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We will double check the accuracy of our documentation in this regard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:21:18 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:21:18Z</dc:date>
    <item>
      <title>GPIO DMA Again</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-DMA-Again/m-p/537789#M11542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by dsidlauskas on Tue Apr 01 18:11:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I need some help, please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have read in the manual and a number of other places that the DMA controller must be programmed for memory to memory transfers to DMA from/to GPIO. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, in the code for NXP's app note AN11365 the DMA&amp;nbsp; channel configuration is set for peripheral to memory to do GPIO to memory transfers &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's NXP's code::&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;s_ccb.pCHN-&amp;gt;CONFIG = | XferDoneIrqEn | 0UL&amp;lt;&amp;lt;0&amp;nbsp; | YACB_SCTDMAPERIPNUM&amp;lt;&amp;lt;1 | 0UL&amp;lt;&amp;lt;6 | 2UL&amp;lt;&amp;lt;11 | 1UL&amp;lt;&amp;lt;15;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the 2UL&amp;lt;&amp;lt;11 bits are what's setting up the p&amp;gt;m transfer, and is documented as such in the codes comments.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone please clarify this for me, please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I'm trying to do use Timer3 Capture 1 to trigger a DMA request which would result in a DMA transfer from GPIO to memory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Timer 3 is set as a counter and&amp;nbsp; set to reset and toggle it's match bit on a match. The match value is a 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DMA is configured for m&amp;gt;m, with source address = GPIO port address and destination of external RAM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC-&amp;gt;CREG = 3 sets the DMA request from T3C1 to peripheral 0. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The DMA channel reg is configured for peripheral 0 as it's source.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So whats my problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, when I run it it DMA's from GPIO to memory just fine. However, it completely ignores the DMA requests from Timer3 and completes the full DMA in about 1/10th of the time it should, so I assume it's running on it's internal clock for DMA requests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate any help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-DMA-Again/m-p/537789#M11542</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO DMA Again</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-DMA-Again/m-p/537790#M11543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by xianghuiwang on Thu Apr 17 16:55:58 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, David,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try to use p&amp;gt;m for your Timer3 Capture 1 triggered DMA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We will double check the accuracy of our documentation in this regard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:21:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-DMA-Again/m-p/537790#M11543</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO DMA Again</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-DMA-Again/m-p/537791#M11544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I am just trying to do the same thing as you in the LPC54114 board. &amp;nbsp;My DMA can work with the&amp;nbsp;trigger of Timer3 only when my frequency is less than 3MHz, Have you figured it out?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 May 2017 01:58:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/GPIO-DMA-Again/m-p/537791#M11544</guid>
      <dc:creator>kaiyuewang</dc:creator>
      <dc:date>2017-05-23T01:58:32Z</dc:date>
    </item>
  </channel>
</rss>

