<?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 Generate PWM with 20Hz with K27 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generate-PWM-with-20Hz-with-K27/m-p/809840#M49225</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'm struggeling to generate a pwm with 20Hz and a duty cycle of 50%.&amp;nbsp;Running the clock with 120Mhz, i get a bus clock speed of 60Mhz. Even with the maximum prescaler of 128 I'm far away from 20Hz (cause the compare value would be &amp;gt; 16bit).&lt;/P&gt;&lt;P&gt;When I'm&amp;nbsp;to use the fixed frequeny clock (MCGFFCLK) by setting C1[IREFS] to 1 and set the&amp;nbsp;Clock Source Selection [CLKS] to 2, I do not get any output (when triggering the pin with a scope).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any hints for me what I've forgotten or could you tell me a different/better way to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Nov 2018 08:25:33 GMT</pubDate>
    <dc:creator>christophosterl</dc:creator>
    <dc:date>2018-11-28T08:25:33Z</dc:date>
    <item>
      <title>Generate PWM with 20Hz with K27</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generate-PWM-with-20Hz-with-K27/m-p/809840#M49225</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'm struggeling to generate a pwm with 20Hz and a duty cycle of 50%.&amp;nbsp;Running the clock with 120Mhz, i get a bus clock speed of 60Mhz. Even with the maximum prescaler of 128 I'm far away from 20Hz (cause the compare value would be &amp;gt; 16bit).&lt;/P&gt;&lt;P&gt;When I'm&amp;nbsp;to use the fixed frequeny clock (MCGFFCLK) by setting C1[IREFS] to 1 and set the&amp;nbsp;Clock Source Selection [CLKS] to 2, I do not get any output (when triggering the pin with a scope).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any hints for me what I've forgotten or could you tell me a different/better way to solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 08:25:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generate-PWM-with-20Hz-with-K27/m-p/809840#M49225</guid>
      <dc:creator>christophosterl</dc:creator>
      <dc:date>2018-11-28T08:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Generate PWM with 20Hz with K27</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generate-PWM-with-20Hz-with-K27/m-p/809841#M49226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi christophosterloh,&lt;/P&gt;&lt;P&gt;I try to import the ftm_simple_pwm example of &lt;A href="https://mcuxpresso.nxp.com/en/select"&gt;MCUXpresso SDK&lt;/A&gt;_2.4.1_MK27FN2M0Axxx15.&lt;BR /&gt;After modify the configurations using the Peripherals Tool in &lt;A href="https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-tools/mcuxpresso-integrated-development-environment-ide:MCUXpresso-IDE"&gt;MCUXpresso IDE&lt;/A&gt;, I can get 20Hz PWM at FTM3_CH1 pin on FRDM-K28F board.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Peripherals PWM 20Hz.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78354i551B9C01D49A08C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="Peripherals PWM 20Hz.png" alt="Peripherals PWM 20Hz.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="main.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/78277iD325D9C43394918F/image-size/large?v=v2&amp;amp;px=999" role="button" title="main.png" alt="main.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Robin&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Nov 2018 06:23:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generate-PWM-with-20Hz-with-K27/m-p/809841#M49226</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2018-11-29T06:23:08Z</dc:date>
    </item>
  </channel>
</rss>

