<?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: Trouble using DMA triggered by GPIO in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401198#M2671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Benjamin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; About the PE-CW demo code , i have not the GPIO trigger DMA, while there is HW trigger DMA , it use DAC , i think the configure of the DMA&lt;/P&gt;&lt;P&gt;is the same , so you can refer to .&amp;nbsp;&amp;nbsp; After you add the component "DMA_LDD" or "DMAChannel_ldd" , then right click the component , select the&lt;/P&gt;&lt;P&gt;"help on component " , in the Typical Usage , you can find the demo :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26851iE2EA8635C6A708D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this can help you ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Oct 2015 07:03:29 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2015-10-23T07:03:29Z</dc:date>
    <item>
      <title>Trouble using DMA triggered by GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401193#M2666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to investigate the capabilities of the DMA, and as an example, I'm trying to trigger the DMA by using a push button GPIO configured as an input.&amp;nbsp; The platform I'm using is the TWR-K60F120M.&amp;nbsp; I've been trying to use the processor expert since it helps greatly with the initialization code.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached some screenshots of my settings.&amp;nbsp; I'm simply trying to detect a falling edge of the push button, and initiate a 32-bit memory transfer.&amp;nbsp; Can anyone point me to what I might be doing wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For what it's worth, I know I've gotten the input GPIO working.&amp;nbsp; I previously had it generating an interrupt, and it was working perfectly.&amp;nbsp; It is only since I've tried to generate a DMA request instead of an interrupt that I've had issues.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 18:52:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401193#M2666</guid>
      <dc:creator>benjaminschroed</dc:creator>
      <dc:date>2015-10-15T18:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using DMA triggered by GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401194#M2667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What about the issues? Could you please describe the issues clearly , then we can check the reason .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 02:24:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401194#M2667</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-10-16T02:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using DMA triggered by GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401195#M2668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It just appears that nothing is happening.&amp;nbsp; I essentially set the "source" memory location to a test value that I expected to get copied over into the "destination" location.&amp;nbsp; The destination never gets updated as I would expect it to; it just maintains its initial value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 12:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401195#M2668</guid>
      <dc:creator>benjaminschroed</dc:creator>
      <dc:date>2015-10-16T12:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using DMA triggered by GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401196#M2669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a DMA sample code develop on CodeWarrior 10.6 , the function is transfer the data 0x12 from "sou" to "des", you can refer to it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 19 Oct 2015 03:13:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401196#M2669</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-10-19T03:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using DMA triggered by GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401197#M2670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have no problem getting source code examples for other processors, but there is a lot to configuring the eDMA.&amp;nbsp; Due to this, I would like to lean on Processor Expert as much as possible to help with initialization of device drivers.&amp;nbsp; That being said, I have tried writing code to do this using the PDD macro API, but to no avail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess my question is are there any "gotchas" when configuring DMA to be triggered from a peripheral? &lt;SPAN style="text-decoration: underline;"&gt; Is there a basic "Hello World" example that shows a basic peripheral (e.g. GPIO) triggering a DMA using processor expert?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe a better question.&amp;nbsp; I want my DMA features to be active all the time and triggered from a peripheral, thus in Processor Expert I only have need to call Init_eDMA.&amp;nbsp; Are there any other registers I need to poke while I'm in main() to enable/start DMA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2015 12:51:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401197#M2670</guid>
      <dc:creator>benjaminschroed</dc:creator>
      <dc:date>2015-10-22T12:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble using DMA triggered by GPIO</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401198#M2671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Benjamin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp; About the PE-CW demo code , i have not the GPIO trigger DMA, while there is HW trigger DMA , it use DAC , i think the configure of the DMA&lt;/P&gt;&lt;P&gt;is the same , so you can refer to .&amp;nbsp;&amp;nbsp; After you add the component "DMA_LDD" or "DMAChannel_ldd" , then right click the component , select the&lt;/P&gt;&lt;P&gt;"help on component " , in the Typical Usage , you can find the demo :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/26851iE2EA8635C6A708D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this can help you ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Oct 2015 07:03:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Trouble-using-DMA-triggered-by-GPIO/m-p/401198#M2671</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2015-10-23T07:03:29Z</dc:date>
    </item>
  </channel>
</rss>

