<?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: Sampling ADC at 1.2 MHz in Kinetis Software Development Kit</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518692#M5418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Nadine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I have not the example code using ADC/DMA/PIT for K64.&lt;/P&gt;&lt;P&gt;Pls refer to the community for the example code:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-102951"&gt;PIT- ADC- DMA Example for FRDM-KL25z, FRDM-K64F, TWR-K60D100 and TWR-K70&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 09:49:57 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2016-06-16T09:49:57Z</dc:date>
    <item>
      <title>Sampling ADC at 1.2 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518688#M5414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a FRDM-K64 board. I need to sample the ADC at 1.2 MHz.&lt;/P&gt;&lt;P&gt;I have use the PDB timer to program hardware interrupt. The program works but&lt;/P&gt;&lt;P&gt;the interruption function takes almost half of the CPU time (47%), and I need more time&lt;/P&gt;&lt;P&gt;for the data computing in the main program.&lt;/P&gt;&lt;P&gt;Is there a better way to do, for sampling ADC at high speed. I was thinking to an hardware FIFO&lt;/P&gt;&lt;P&gt;where the data conversion of the ADC would be stored.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Nadine&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2016 08:34:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518688#M5414</guid>
      <dc:creator>nadine</dc:creator>
      <dc:date>2016-06-13T08:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sampling ADC at 1.2 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518689#M5415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Nadine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you know that the K64 has eDMA module, which can fetch the data from ADC module to memory automatically, after the number of data specified has been transferred, the eDMA can generate an interrupt. in the ISR, you can reconfigure the eDMA so that eDMA can fectch the ADC sample to another memory location, at the same time, you can handle the data the eDMA has fetched, this is called Ping-Pong mode.&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 03:41:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518689#M5415</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-06-14T03:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sampling ADC at 1.2 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518690#M5416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I suppose that the K64 ADC sampling frequency can not reach up to 1.2MHz, the maximum ADC sampling frequency is 818KHz with 13 bit resolution.&lt;/P&gt;&lt;P&gt;If you want to get 1.2MHz sampling frequency, I suggest you use KV5x, the KV5X has cyclic ADC,&amp;nbsp; the cyclic ADC of KV5x can reach up to 1.2MSPS.&lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&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/60200i3128686431073867/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2016 05:16:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518690#M5416</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-06-14T05:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sampling ADC at 1.2 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518691#M5417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try to configure and use the eDMA driver. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know if there is a demo available using the eDMA and the ADC ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is very helpful to start with such a program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, it is not obvious for me to link the ADC data and the eDMA&lt;/P&gt;&lt;P&gt;channels.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nadine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TALUKO    &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;mailto:CRE@TVT&amp;gt; CRE@TVT NUMERIQUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bâtiment A, 1er étage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place Besagne&lt;/P&gt;&lt;P&gt;83000 Toulon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;http://www.taluko.com&amp;gt; &lt;A href="https://community.nxp.com/www.taluko.com" target="test_blank"&gt;www.taluko.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Tel :     +(33) 4 98 07 74 52&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mobile: +(33) 6 66 27 85 66&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 08:00:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518691#M5417</guid>
      <dc:creator>nadine</dc:creator>
      <dc:date>2016-06-15T08:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sampling ADC at 1.2 MHz</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518692#M5418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Nadine,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, I have not the example code using ADC/DMA/PIT for K64.&lt;/P&gt;&lt;P&gt;Pls refer to the community for the example code:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-102951"&gt;PIT- ADC- DMA Example for FRDM-KL25z, FRDM-K64F, TWR-K60D100 and TWR-K70&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hope it can help you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Xiangjun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 09:49:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Sampling-ADC-at-1-2-MHz/m-p/518692#M5418</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2016-06-16T09:49:57Z</dc:date>
    </item>
  </channel>
</rss>

