<?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: Enabling two Complimentary PWM on KL16 with TPM in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Enabling-two-Complimentary-PWM-on-KL16-with-TPM/m-p/767176#M46673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have that KL16, but I see it is possible to set the initial polarity here:&lt;/P&gt;&lt;P&gt;&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/4053i4703D66EA9D2BF16/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;To have the Enable and Disable available, you should turn them on with the context menu:&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/4143iFFE86EA29D0A8449/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;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Dec 2017 06:44:37 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2017-12-08T06:44:37Z</dc:date>
    <item>
      <title>Enabling two Complimentary PWM on KL16 with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Enabling-two-Complimentary-PWM-on-KL16-with-TPM/m-p/767174#M46671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a Kinetis KL16Z128&lt;/P&gt;&lt;P&gt;We have the requirement to run two PWM signals at the same time.&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the signal's polarity should start high, and the other starts low.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) It seems there is no way to make the initial polarity high. Why is this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) We get an "undefined error" when trying to use PWM_Enable and Disable in our main.c on the Processor Expert PWM components.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/michaelgoudey"&gt;michaelgoudey&lt;/A&gt;&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/BlackNight"&gt;BlackNight&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 21:44:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Enabling-two-Complimentary-PWM-on-KL16-with-TPM/m-p/767174#M46671</guid>
      <dc:creator>grushbrush</dc:creator>
      <dc:date>2017-12-06T21:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling two Complimentary PWM on KL16 with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Enabling-two-Complimentary-PWM-on-KL16-with-TPM/m-p/767175#M46672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ethan,&lt;/P&gt;&lt;P&gt;The KL16 TPM does not support 'high' initial polarity.&amp;nbsp; Erich has a post on the topic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A class="link-titled" href="https://mcuoneclipse.com/2013/03/16/pwm-for-processor-expert-explained/" title="https://mcuoneclipse.com/2013/03/16/pwm-for-processor-expert-explained/"&gt;Tutorial: PWM with Processor Expert | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is the PWM component doesn't support initial high.&amp;nbsp; See the community link below which applies to FRDM-KL25Z and would apply to KL16 as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;A href="https://community.nxp.com/thread/339065"&gt;https://community.nxp.com/thread/339065&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have selected "Enabled in init. code" for the PWM, this is done automatically and you should not enable separately in your code.&amp;nbsp; If you do, Deinit should be called first.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael Goudey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 23:45:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Enabling-two-Complimentary-PWM-on-KL16-with-TPM/m-p/767175#M46672</guid>
      <dc:creator>michaelgoudey</dc:creator>
      <dc:date>2017-12-06T23:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling two Complimentary PWM on KL16 with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Enabling-two-Complimentary-PWM-on-KL16-with-TPM/m-p/767176#M46673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have that KL16, but I see it is possible to set the initial polarity here:&lt;/P&gt;&lt;P&gt;&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/4053i4703D66EA9D2BF16/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;To have the Enable and Disable available, you should turn them on with the context menu:&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/4143iFFE86EA29D0A8449/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;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Dec 2017 06:44:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Enabling-two-Complimentary-PWM-on-KL16-with-TPM/m-p/767176#M46673</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2017-12-08T06:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling two Complimentary PWM on KL16 with TPM</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Enabling-two-Complimentary-PWM-on-KL16-with-TPM/m-p/767177#M46674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a motor that has two connections. It requires two PWM signals. The first signal has to start high. Is there any way we can drive this motor? There has got to be, this is a really simple thing. Can you please help us with this one?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, is there any way we can start one PWM at a different time than the second PWM? We want to try offsetting the start time for the second PWM in relation to the first PWM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 21:01:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Enabling-two-Complimentary-PWM-on-KL16-with-TPM/m-p/767177#M46674</guid>
      <dc:creator>grushbrush</dc:creator>
      <dc:date>2017-12-11T21:01:57Z</dc:date>
    </item>
  </channel>
</rss>

