<?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: Update pwm duty cycle at rising edge in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Update-pwm-duty-cycle-at-rising-edge/m-p/916815#M53614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you refer the methods in ftm example of MCUXpresso SDK_2.5.0_MK27FN2M0Axxx15?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ftm_simple_pwm.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84116i476A9AB5FDC4068F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ftm_simple_pwm.png" alt="ftm_simple_pwm.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Try to find examples that are similar to what you need then test.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SDK_2.5.0_MK27FN2M0Axxx15 ftm.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84119iA381237FD00BF362/image-size/large?v=v2&amp;amp;px=999" role="button" title="SDK_2.5.0_MK27FN2M0Axxx15 ftm.png" alt="SDK_2.5.0_MK27FN2M0Axxx15 ftm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For more detail, please read the "44.5.11.4 MOD register synchronization".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="44.5.11.6 C(n)V and C(n+1)V register synchronization.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84120i344B3EE309916D28/image-size/large?v=v2&amp;amp;px=999" role="button" title="44.5.11.6 C(n)V and C(n+1)V register synchronization.png" alt="44.5.11.6 C(n)V and C(n+1)V register synchronization.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="44.5.11.4 MOD register synchronization.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84121i3C2E5D98824C1456/image-size/large?v=v2&amp;amp;px=999" role="button" title="44.5.11.4 MOD register synchronization.png" alt="44.5.11.4 MOD register synchronization.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, 30 May 2019 01:55:36 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2019-05-30T01:55:36Z</dc:date>
    <item>
      <title>Update pwm duty cycle at rising edge</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Update-pwm-duty-cycle-at-rising-edge/m-p/916814#M53613</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 have a problem with the settings of my pwm (K27). I'm updating the duty-cycle periodically. But even if the old and new duty cycle are the same, I see a jitter on my scope. Here, the "high" phase of the output signal is longer than it should be (e.g. 22us inset of 13us). So it seems that the couter is always started during a "high" phase. Is there any possibility to adopt the new duty cycle at a rising edge? I've tried several combinations of&amp;nbsp;SWRSTCNT,&amp;nbsp;SYNCMODE a.s.o, but did not find the correct combination.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2019 11:43:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Update-pwm-duty-cycle-at-rising-edge/m-p/916814#M53613</guid>
      <dc:creator>christophosterl</dc:creator>
      <dc:date>2019-05-28T11:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Update pwm duty cycle at rising edge</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Update-pwm-duty-cycle-at-rising-edge/m-p/916815#M53614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you refer the methods in ftm example of MCUXpresso SDK_2.5.0_MK27FN2M0Axxx15?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ftm_simple_pwm.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84116i476A9AB5FDC4068F/image-size/large?v=v2&amp;amp;px=999" role="button" title="ftm_simple_pwm.png" alt="ftm_simple_pwm.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Try to find examples that are similar to what you need then test.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SDK_2.5.0_MK27FN2M0Axxx15 ftm.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84119iA381237FD00BF362/image-size/large?v=v2&amp;amp;px=999" role="button" title="SDK_2.5.0_MK27FN2M0Axxx15 ftm.png" alt="SDK_2.5.0_MK27FN2M0Axxx15 ftm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For more detail, please read the "44.5.11.4 MOD register synchronization".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="44.5.11.6 C(n)V and C(n+1)V register synchronization.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84120i344B3EE309916D28/image-size/large?v=v2&amp;amp;px=999" role="button" title="44.5.11.6 C(n)V and C(n+1)V register synchronization.png" alt="44.5.11.6 C(n)V and C(n+1)V register synchronization.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="44.5.11.4 MOD register synchronization.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/84121i3C2E5D98824C1456/image-size/large?v=v2&amp;amp;px=999" role="button" title="44.5.11.4 MOD register synchronization.png" alt="44.5.11.4 MOD register synchronization.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, 30 May 2019 01:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Update-pwm-duty-cycle-at-rising-edge/m-p/916815#M53614</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2019-05-30T01:55:36Z</dc:date>
    </item>
  </channel>
</rss>

