<?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>Kinetis Microcontrollers中的主题 Generating PWM</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generating-PWM/m-p/1626454#M64907</link>
    <description>&lt;P&gt;Hi! I am using FRDM KE16Z and i have sdk 2.13. I setted up the FTM driver for generating pwm on FTM0 ch0, ch1, ch2, ch3. I put a wire on pin no 23, wich is PTC0 and i see nothing on the osciloscope. The other function in the photo is for updating the pwm dutycycle.&amp;nbsp; In main is just called the init function and in while(1) part i just updated the pwm dutycycle and added a delay after.&lt;/P&gt;&lt;P&gt;I also added photos with pin and peripherals tools.&amp;nbsp;&lt;/P&gt;&lt;P&gt;TY!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andrei13_0-1680445753884.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/217418i419F0ECC796CB09A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andrei13_0-1680445753884.png" alt="Andrei13_0-1680445753884.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andrei13_1-1680445866932.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/217419i67E9E9EACA81136D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andrei13_1-1680445866932.png" alt="Andrei13_1-1680445866932.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andrei13_2-1680445892295.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/217420i155F7E9D12BEB18D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andrei13_2-1680445892295.png" alt="Andrei13_2-1680445892295.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 02 Apr 2023 14:32:39 GMT</pubDate>
    <dc:creator>Andrei13</dc:creator>
    <dc:date>2023-04-02T14:32:39Z</dc:date>
    <item>
      <title>Generating PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generating-PWM/m-p/1626454#M64907</link>
      <description>&lt;P&gt;Hi! I am using FRDM KE16Z and i have sdk 2.13. I setted up the FTM driver for generating pwm on FTM0 ch0, ch1, ch2, ch3. I put a wire on pin no 23, wich is PTC0 and i see nothing on the osciloscope. The other function in the photo is for updating the pwm dutycycle.&amp;nbsp; In main is just called the init function and in while(1) part i just updated the pwm dutycycle and added a delay after.&lt;/P&gt;&lt;P&gt;I also added photos with pin and peripherals tools.&amp;nbsp;&lt;/P&gt;&lt;P&gt;TY!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andrei13_0-1680445753884.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/217418i419F0ECC796CB09A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andrei13_0-1680445753884.png" alt="Andrei13_0-1680445753884.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andrei13_1-1680445866932.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/217419i67E9E9EACA81136D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andrei13_1-1680445866932.png" alt="Andrei13_1-1680445866932.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Andrei13_2-1680445892295.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/217420i155F7E9D12BEB18D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Andrei13_2-1680445892295.png" alt="Andrei13_2-1680445892295.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 14:32:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generating-PWM/m-p/1626454#M64907</guid>
      <dc:creator>Andrei13</dc:creator>
      <dc:date>2023-04-02T14:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Generating PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generating-PWM/m-p/1626654#M64910</link>
      <description>&lt;P&gt;Forgot to add this photo from pins. One is with label and identifier bc i tried&amp;nbsp; to see if that s the problem, but it isn t.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 07:27:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generating-PWM/m-p/1626654#M64910</guid>
      <dc:creator>Andrei13</dc:creator>
      <dc:date>2023-04-03T07:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Generating PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generating-PWM/m-p/1626780#M64912</link>
      <description>&lt;P&gt;I changed the order of functions in init function, but he output is visible on the blue led, not on the pins. Why? TY!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2023 09:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generating-PWM/m-p/1626780#M64912</guid>
      <dc:creator>Andrei13</dc:creator>
      <dc:date>2023-04-03T09:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generating PWM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generating-PWM/m-p/1628851#M64930</link>
      <description>&lt;P&gt;I fixed it. If you use the PTC pin it s ok, the pwm output is on the pin, but if you use PTD the pwm output is on the led.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 07:33:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Generating-PWM/m-p/1628851#M64930</guid>
      <dc:creator>Andrei13</dc:creator>
      <dc:date>2023-04-06T07:33:56Z</dc:date>
    </item>
  </channel>
</rss>

