<?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 Configuring ADC to output PWM using Processor Expert. in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Configuring-ADC-to-output-PWM-using-Processor-Expert/m-p/445234#M3605</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all. I am trying to get a PWM signal working using the &lt;EM&gt;ADC &lt;/EM&gt;and&lt;EM&gt; PWM &lt;/EM&gt;components in Processor Expert Kinetis IDE but I am having some troubles. So what I am trying to set up on my FRDM-K22F board is use one of the ADC capable header pins as the analog input to which I will have a 3VDC source connected, and another pin on the header as the digital output from the ADC which will be generated via PWM. I will hook up a logic analyzer to both of these pins and run some tests to make sure that the ADC is working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in order to actually output the digital signal from the ADC I decided to add a &lt;EM&gt;PWM&lt;/EM&gt; component to my project as well which will create a PWM signal based on the output of the ADC:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61087i5A1F4A63C2D1AF2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am having trouble how to set what pin I want to be the input to the ADC and what pin I want to be the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here are my settings for &lt;EM&gt;PWM&lt;/EM&gt; component:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61088i11966F05D59487B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here are my settings for &lt;EM&gt;ADC &lt;/EM&gt;component:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="rtrtrtrtrtrtrtr.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61089i28E0881D1835FD36/image-size/large?v=v2&amp;amp;px=999" role="button" title="rtrtrtrtrtrtrtr.png" alt="rtrtrtrtrtrtrtr.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with the configuration is much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 19:32:44 GMT</pubDate>
    <dc:creator>zoranmilosavlje</dc:creator>
    <dc:date>2015-06-30T19:32:44Z</dc:date>
    <item>
      <title>Configuring ADC to output PWM using Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Configuring-ADC-to-output-PWM-using-Processor-Expert/m-p/445234#M3605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all. I am trying to get a PWM signal working using the &lt;EM&gt;ADC &lt;/EM&gt;and&lt;EM&gt; PWM &lt;/EM&gt;components in Processor Expert Kinetis IDE but I am having some troubles. So what I am trying to set up on my FRDM-K22F board is use one of the ADC capable header pins as the analog input to which I will have a 3VDC source connected, and another pin on the header as the digital output from the ADC which will be generated via PWM. I will hook up a logic analyzer to both of these pins and run some tests to make sure that the ADC is working properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in order to actually output the digital signal from the ADC I decided to add a &lt;EM&gt;PWM&lt;/EM&gt; component to my project as well which will create a PWM signal based on the output of the ADC:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61087i5A1F4A63C2D1AF2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am having trouble how to set what pin I want to be the input to the ADC and what pin I want to be the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here are my settings for &lt;EM&gt;PWM&lt;/EM&gt; component:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61088i11966F05D59487B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here are my settings for &lt;EM&gt;ADC &lt;/EM&gt;component:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="rtrtrtrtrtrtrtr.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61089i28E0881D1835FD36/image-size/large?v=v2&amp;amp;px=999" role="button" title="rtrtrtrtrtrtrtr.png" alt="rtrtrtrtrtrtrtr.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help with the configuration is much appreciated. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 19:32:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Configuring-ADC-to-output-PWM-using-Processor-Expert/m-p/445234#M3605</guid>
      <dc:creator>zoranmilosavlje</dc:creator>
      <dc:date>2015-06-30T19:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring ADC to output PWM using Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Configuring-ADC-to-output-PWM-using-Processor-Expert/m-p/445235#M3606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;What I see in your screenshot is OK but you need to have an application code that provides the required functionality. You need to process measuring of the ADC inputs (samples) and convert these data as duty of the PWM. So you need to implement the initialization and also conversions of ADC and duty settings of PWM signals.&lt;/P&gt;&lt;P&gt;There are available examples in CW MCU 10.6 in the folder CW MCU v10.6.4\MCU\CodeWarrior_Examples\Processor_Expert\Kinetis\ (there are demo application for different derivatives but the API is the same or similar) The KDS 2.0.0 contains these examples in the folder KDS_2.0.0\eclipse\ProcessorExpert\Projects\Kinetis\ProcessorExpert\.&lt;/P&gt;&lt;P&gt;There is also available typical usage for every LDD component, see the Help of the component - typical usage:&lt;/P&gt;&lt;P&gt;In the Components windows, open the context menu and select &lt;EM&gt;Help on Component&lt;/EM&gt;:&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/61217i0E153C2DC0A8B837/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;In the Help window select the typical usage, see below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/61218iC1F2C58DFAEECDBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jul 2015 12:36:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Configuring-ADC-to-output-PWM-using-Processor-Expert/m-p/445235#M3606</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-07-03T12:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring ADC to output PWM using Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Configuring-ADC-to-output-PWM-using-Processor-Expert/m-p/445236#M3607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marek. I am using KDS3.0.0 and I am unable to find the &lt;EM&gt;Projects&lt;/EM&gt; folder in &lt;EM&gt;ProcessorExpert&lt;/EM&gt;​. Do you know where it could be?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2015 13:08:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Configuring-ADC-to-output-PWM-using-Processor-Expert/m-p/445236#M3607</guid>
      <dc:creator>zoranmilosavlje</dc:creator>
      <dc:date>2015-07-06T13:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring ADC to output PWM using Processor Expert.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Configuring-ADC-to-output-PWM-using-Processor-Expert/m-p/445237#M3608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am sorry these projects are not available in KDS 3.0.0. It seems that it is an issue and I am going to report it.&lt;/P&gt;&lt;P&gt;You can use these projects from KDS 2.0.0 and updated them (you can use the &lt;EM&gt;KDS Upgrade Assistant&amp;nbsp; - &lt;/EM&gt;see the main menu &lt;EM&gt;Projects &amp;gt; KDS Upgrade Assitant &lt;/EM&gt;in the KDS 3.0.0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Marek Neuzil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 11:47:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Configuring-ADC-to-output-PWM-using-Processor-Expert/m-p/445237#M3608</guid>
      <dc:creator>marek_neuzil</dc:creator>
      <dc:date>2015-07-23T11:47:23Z</dc:date>
    </item>
  </channel>
</rss>

