<?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: Input capture using DMA in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292183#M11751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="j-post-author" style="font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/people/alejandrolozano"&gt;alejandrolozano&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.. I can't open the file you attached, can you try again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Sep 2013 06:39:06 GMT</pubDate>
    <dc:creator>kenrenjen</dc:creator>
    <dc:date>2013-09-17T06:39:06Z</dc:date>
    <item>
      <title>Input capture using DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292181#M11749</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;I really have have a lack of understanding how to setup and use DMA for input capturing. How do define the registers to be written to and how do I get the values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, my problem is that I am trying to capture input signals on an IR and i figured out that i needed something to capture high frequency signals. (&amp;gt;450kHz) becouse of the overhead and becouse that very little code also takes too much time in the ISR.&lt;/P&gt;&lt;P&gt;I tryed with dual edge capture also, and by that I get very precise values, but it skips the time between the periods, becouse each channel caputere every second rising edge. Anyway. If you have any inputs or can help me out setting up DMA for input capture I will appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really miss some good examples on how to setup the diffrent times. I am working with a K60 using uTasker. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2013 11:07:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292181#M11749</guid>
      <dc:creator>kenrenjen</dc:creator>
      <dc:date>2013-09-05T11:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture using DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292182#M11750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I lack of an example exactly like the one you requested. But t&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;he attached project may be helpful.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;It uses the ADC0 but performs change of channels using the DMA and transfer from the result to a buffer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project sets the FTM to trigger a DMA channel. The transfer from a 3 element buffer where the channels to measure are store.&lt;/P&gt;&lt;P&gt;The ADC is configures as SW trigger.&amp;nbsp; The results are transferred from the ADC0_RA to a 2 dimension array buffer. This array is configured to save the results for each channel and index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The project needs to be opened using the &lt;A href="https://www.freescale.com/webapp/Download?colCode=KINETIS_120MHZ_SC&amp;amp;prodCode=K70_120&amp;amp;appType=license&amp;amp;location=null&amp;amp;fpsp=1"&gt;&lt;SPAN style="font-size: 9pt; font-family: Arial, sans-serif; color: #017bba; background-color: white;"&gt;KINETIS_120MHZ_SC&lt;/SPAN&gt;&lt;/A&gt; examples as workspace I used this examples as reference.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K70_120&amp;amp;webpageId=132640893777571792DDB1&amp;amp;nodeId=01624698C9DE2DDDB1&amp;amp;fromPage=tax"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=K70_120&amp;amp;webpageId=132640893777571792DDB1&amp;amp;nodeId=01624698C9DE2DDDB1&amp;amp;fromPage=tax&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the FTM triggers the DMA, you only need to reconfigure the FTM as input capture and add more DMA channels and maybe copy the FTMx_CnV value to other location via the DMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 11:38:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292182#M11750</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2013-09-13T11:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture using DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292183#M11751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="j-post-author" style="font-size: 0.9em; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;A href="https://community.nxp.com/people/alejandrolozano"&gt;alejandrolozano&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.. I can't open the file you attached, can you try again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 06:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292183#M11751</guid>
      <dc:creator>kenrenjen</dc:creator>
      <dc:date>2013-09-17T06:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture using DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292184#M11752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jensen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;were you ever able to download the content? Sorry for the delay on the follow up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Monica.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 22:28:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292184#M11752</guid>
      <dc:creator>Monica</dc:creator>
      <dc:date>2013-09-25T22:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Input capture using DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292185#M11753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Monica..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No I'm still not able to open the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kenneth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 07:46:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292185#M11753</guid>
      <dc:creator>kenrenjen</dc:creator>
      <dc:date>2013-09-27T07:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Input capture using DMA</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292186#M11754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kenneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delay.&lt;/P&gt;&lt;P&gt;Can you try with this file?&lt;/P&gt;&lt;P&gt;You may have to unzip it twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Sep 2013 19:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Input-capture-using-DMA/m-p/292186#M11754</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2013-09-30T19:36:39Z</dc:date>
    </item>
  </channel>
</rss>

