<?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 K64: ADC input to PWM output  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-input-to-PWM-output/m-p/501374#M31393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to input an analog sine wave to an ADC input on the FRDM-K64F MCU, which will then convert it to a PWM. Then using a PWM output pin, I want to reproduce the original sine wave. I have all the necessary circuits and filters, but I'm having trouble on how to start coding. Is there any example code for ADC to PWM, and then PWM to sine wave (or any wave) available for this MCU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2016 04:33:14 GMT</pubDate>
    <dc:creator>nunyabruh</dc:creator>
    <dc:date>2016-03-24T04:33:14Z</dc:date>
    <item>
      <title>K64: ADC input to PWM output</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-input-to-PWM-output/m-p/501374#M31393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to input an analog sine wave to an ADC input on the FRDM-K64F MCU, which will then convert it to a PWM. Then using a PWM output pin, I want to reproduce the original sine wave. I have all the necessary circuits and filters, but I'm having trouble on how to start coding. Is there any example code for ADC to PWM, and then PWM to sine wave (or any wave) available for this MCU?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 04:33:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-input-to-PWM-output/m-p/501374#M31393</guid>
      <dc:creator>nunyabruh</dc:creator>
      <dc:date>2016-03-24T04:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: K64: ADC input to PWM output</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-input-to-PWM-output/m-p/501375#M31394</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;&lt;SPAN&gt;You can get some ideas about how to do DMA based ADC-&amp;gt;PWM or internally generate signals to the PWM output from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fdocs%2FuTasker%2FuTaskerADC.pdf" rel="nofollow" target="_blank"&gt;http://www.utasker.com/docs/uTasker/uTaskerADC.pdf&lt;/A&gt;&lt;SPAN&gt; (in particular appendix C).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Complete working solutions for such are included in the uTasker project for the K64 and all other KL and K parts with DMA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 13:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-input-to-PWM-output/m-p/501375#M31394</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-03-24T13:21:17Z</dc:date>
    </item>
  </channel>
</rss>

