<?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: Is there a way to change PWM period through Processor Expert Interface? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272753#M9431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read this before, but as you can see it only explains how to set the initial period of the PWM, and not how to change it during program execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is also mention the functions to change the duty cycle, but it is not enough for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a setup in which I need to have a way to change the buzzer frequency dinamically as I don't know which kind of buzzer will be installed (may have different product versions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you anyway!&lt;/P&gt;&lt;P&gt;Luiz Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 18:09:56 GMT</pubDate>
    <dc:creator>lfschrickte</dc:creator>
    <dc:date>2013-08-23T18:09:56Z</dc:date>
    <item>
      <title>Is there a way to change PWM period through Processor Expert Interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272749#M9427</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;I've just figured out I can't change the PWM Component Period during program execution through Processor Expert functions. Looking at the Timer Unit Component associated I realized the functions to change the timer period are "blocked" either, as this component is controlled by the PWM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, as I don't want to study the underlying PWM code (at least not right now), is there an easy way to change the PWM period? Maybe through some combination of PDD functions..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using CodeWarrior 10.4 with Processor Expert. My MCU is a Kinetis L MKL14Z64VFM4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, any help will be appreciated!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luiz Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 17:45:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272749#M9427</guid>
      <dc:creator>lfschrickte</dc:creator>
      <dc:date>2013-08-23T17:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change PWM period through Processor Expert Interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272750#M9428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luiz,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Take a look at this tutorial: &lt;A href="http://mcuoneclipse.com/2013/03/16/pwm-for-processor-expert-explained/" title="http://mcuoneclipse.com/2013/03/16/pwm-for-processor-expert-explained/"&gt;Tutorial: PWM with Processor Expert | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Let us know if that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anthony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 18:05:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272750#M9428</guid>
      <dc:creator>anthony_huereca</dc:creator>
      <dc:date>2013-08-23T18:05:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change PWM period through Processor Expert Interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272751#M9429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luiz,&lt;/P&gt;&lt;P&gt;for non-Kinetis parts I'm using the PPG (Programmable Pulse Generation) component, but it looks this one is not available for Kinetis :-(&lt;/P&gt;&lt;P&gt;I'm wondering why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 18:05:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272751#M9429</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-08-23T18:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change PWM period through Processor Expert Interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272752#M9430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that tutorial shows how to set up the PWM period in the component. But at runtime it allows only changing the duty period/percent, and not the frequency of the PWM which what would be needed here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 18:07:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272752#M9430</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-08-23T18:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change PWM period through Processor Expert Interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272753#M9431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read this before, but as you can see it only explains how to set the initial period of the PWM, and not how to change it during program execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is also mention the functions to change the duty cycle, but it is not enough for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've a setup in which I need to have a way to change the buzzer frequency dinamically as I don't know which kind of buzzer will be installed (may have different product versions).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you anyway!&lt;/P&gt;&lt;P&gt;Luiz Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 18:09:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272753#M9431</guid>
      <dc:creator>lfschrickte</dc:creator>
      <dc:date>2013-08-23T18:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change PWM period through Processor Expert Interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272754#M9432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luiz,&lt;/P&gt;&lt;P&gt;what is the frequency of the PWM you need? Have you considered using a software PWM generation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Aug 2013 06:48:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272754#M9432</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2013-08-24T06:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change PWM period through Processor Expert Interface?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272755#M9433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I've considered setting up a timer to use the interrupts + IO as a PWM, however my application already has some critical interrupts being served and I don't want to have one more interrupt there for something like this. Indeed it is kind of frustrating that I can't set a PWM frequency in software because this looks so basic!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll hold this function in my app for now (switching the PWM frequency) as it is not mandatory. In the future I'll probably use the PDD functions and maybe some direct register manipulation to configure the PWM by myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Luiz Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2013 13:01:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Is-there-a-way-to-change-PWM-period-through-Processor-Expert/m-p/272755#M9433</guid>
      <dc:creator>lfschrickte</dc:creator>
      <dc:date>2013-08-27T13:01:24Z</dc:date>
    </item>
  </channel>
</rss>

