<?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: KwikStik ADC and DMA in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208254#M874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, the reason is that the DMA_Transfer as a component with unified API has some limitations, so it does not cover all hardware features used by this project.&lt;/P&gt;&lt;P&gt;Other thing is that this project is to be demonstrating the approach of using just peripheral initialization components and direct hardware for users that are familiar with the hardware architecture, are familiar with the MCU and need full control over the peripheral control code.&lt;/P&gt;&lt;P&gt;I have also created an application note for this application, you can read it here :&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4688.pdf?fsrch=1&amp;amp;sr=18" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4688.pdf?fsrch=1&amp;amp;sr=18"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4688.pdf?fsrch=1&amp;amp;sr=18&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 May 2013 09:22:31 GMT</pubDate>
    <dc:creator>Petr_H</dc:creator>
    <dc:date>2013-05-03T09:22:31Z</dc:date>
    <item>
      <title>KwikStik ADC and DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208249#M869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;need to measure ADC in 20...100kHz sampling rate.&lt;/P&gt;&lt;P&gt;Idea is to use DMA to&amp;nbsp;move ADC-results&amp;nbsp;to circular buffer.&lt;/P&gt;&lt;P&gt;Does AD1:ADC_LDD component support DMA transfer?&lt;/P&gt;&lt;P&gt;Cannot find any selection for it.&lt;/P&gt;&lt;P&gt;Does this bit &amp;lt;ADC0_SC2: DMAEN=0&amp;gt; activate it?&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2012 01:59:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208249#M869</guid>
      <dc:creator>MarkP_</dc:creator>
      <dc:date>2012-02-21T01:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: KwikStik ADC and DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208250#M870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please find attached the demo project for Kwikstik showing &amp;nbsp;use of ADC, triggering and DMA.&lt;/P&gt;&lt;P&gt;It's built using Processor Expert Peripheral initialization components.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find more details in ProcessorExpert.c file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;best regards&lt;BR /&gt;Petr Hradsky&lt;BR /&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 22:18:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208250#M870</guid>
      <dc:creator>ProcessorExpert</dc:creator>
      <dc:date>2012-04-26T22:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: KwikStik ADC and DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208251#M871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I get a copy of this demo project.&amp;nbsp; I have spent two days on this topic and could really use the help a demo project would provide.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 23:49:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208251#M871</guid>
      <dc:creator>joebange</dc:creator>
      <dc:date>2013-01-30T23:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: KwikStik ADC and DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208252#M872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please find it attached to this post.&lt;/P&gt;&lt;P&gt;Unfortunately, the attachment got lost during migration of old posts to the new community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 16:53:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208252#M872</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2013-01-31T16:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: KwikStik ADC and DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208253#M873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the reason that this example uses low-level Peripheral Initialization Components instead of higher-level Logical Device Drivers like DMATransfer_LDD? Could this be done using LDDs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 08:57:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208253#M873</guid>
      <dc:creator>anguel</dc:creator>
      <dc:date>2013-05-03T08:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: KwikStik ADC and DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208254#M874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, the reason is that the DMA_Transfer as a component with unified API has some limitations, so it does not cover all hardware features used by this project.&lt;/P&gt;&lt;P&gt;Other thing is that this project is to be demonstrating the approach of using just peripheral initialization components and direct hardware for users that are familiar with the hardware architecture, are familiar with the MCU and need full control over the peripheral control code.&lt;/P&gt;&lt;P&gt;I have also created an application note for this application, you can read it here :&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4688.pdf?fsrch=1&amp;amp;sr=18" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4688.pdf?fsrch=1&amp;amp;sr=18"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4688.pdf?fsrch=1&amp;amp;sr=18&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2013 09:22:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208254#M874</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2013-05-03T09:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: KwikStik ADC and DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208255#M875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Petr!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wonder if it is not possible at all to use ADC + DMA with the RTOS-enabled LDD drivers.&lt;/P&gt;&lt;P&gt;Anyway, thanks for the nice appnote, I already had read it. It will be nice to see more of this kind. The Kinetis devices offer so much but it is not obvious how to use the features in such an elegant way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 10:21:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208255#M875</guid>
      <dc:creator>anguel</dc:creator>
      <dc:date>2013-05-06T10:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: KwikStik ADC and DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208256#M876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome. &lt;/P&gt;&lt;P&gt;Could you be more specific on your use-case of the ADC with DMA?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The ADC component is currently not ready to for using DMA as it is. However, we are preparing direct integration of LDD component and DMA&amp;nbsp; allowing simple use without need of deep knowledge of DMA configuration on specific MCU. This should be available in Processor Expert later this year.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 11:40:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208256#M876</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2013-05-06T11:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: KwikStik ADC and DMA</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208257#M877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Petr,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will be wonderful if you integrate DMA with other PEx components! Most modern MCUs can do so much with DMA alone, while the CPU can do processing of the values in the meantime, so one does not even have to use an RTOS. Unfortunately, most demos coming with MCUs do not make use of DMA so it is simply wasted. Actually your appnote is very very useful, only drawback may be that it cannot be integrated with MQX at that time (e.g. when needing Ethernet in addition to ADC sampling) as it uses only low-level peripheral init components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am interested in right now is reading in many ADC values (like in your appnote), doing some processing by the CPU at the same time and then sending some of them to a bigger graphical LCD via SPI and eGUI (unfortunately the display on the Kwikstik is IMHO terrible), at the same time I would like to log the processed values to SD Card and to stream them out directly via USB CDC. That could probably make good use of DMA and can be all done on the wonderful Kwikstik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Anguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 14:10:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/KwikStik-ADC-and-DMA/m-p/208257#M877</guid>
      <dc:creator>anguel</dc:creator>
      <dc:date>2013-05-06T14:10:11Z</dc:date>
    </item>
  </channel>
</rss>

