<?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: I am seeing fluctuation in frequency while generating PWM using k20d72m board  in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482482#M29501</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi josephxavier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please also attach the picture of your fluctuation PWM wave, this will help us to identify the root problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Feb 2016 06:42:07 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2016-02-02T06:42:07Z</dc:date>
    <item>
      <title>I am seeing fluctuation in frequency while generating PWM using k20d72m board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482481#M29500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am seeing fluctuation in frequency while generating PWM using k20d72m board, how can I resolve it .&lt;/P&gt;&lt;P&gt;I am attaching my code below&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there any problem with my code . I am using CodeWarrior Development Studio&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337570"&gt;New-Text-Document-(2).txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 05:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482481#M29500</guid>
      <dc:creator>josephxavier</dc:creator>
      <dc:date>2016-02-02T05:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: I am seeing fluctuation in frequency while generating PWM using k20d72m board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482482#M29501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi josephxavier,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please also attach the picture of your fluctuation PWM wave, this will help us to identify the root problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Waiting for your reply!&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2016 06:42:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482482#M29501</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-02-02T06:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: I am seeing fluctuation in frequency while generating PWM using k20d72m board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482483#M29502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could verify&amp;nbsp; the code attached in my previous post and suggest any correction if any .&lt;/P&gt;&lt;P&gt;how can I attach the image of fluctuating PWM ?&lt;/P&gt;&lt;P&gt;the PWM generated shows a fluctuation of&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4Hz at 2kHz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40Hz at 5kHz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 200Hz at 13kHz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope the above data is sufficient .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 09:42:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482483#M29502</guid>
      <dc:creator>josephxavier</dc:creator>
      <dc:date>2016-02-11T09:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: I am seeing fluctuation in frequency while generating PWM using k20d72m board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482484#M29503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi josephxavier,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for your more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I check your attachment, and find you said" I am reading this PWM frequency using interrupt on rising edge and calculating the time between two successive rising edges &lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Could you tell me, how did you find your PWM is the fluctation in frequency? Through the OSCILLOSCOPE or just through the rising edge caculation?&lt;/P&gt;&lt;P&gt;&amp;nbsp; We should make sure it is caused by the PWM or the rising edge capture error, you can just define the fixed PWM frequent ,&amp;nbsp; don't change it with function void Engine_speed_PWMOUT(unsigned int FMOD_regVal), then test it, whether it will have the fluctuation.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Besides, please send the whole project to me, I would like to help you to check it on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have question, please contact with me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 03:29:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482484#M29503</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-02-15T03:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: I am seeing fluctuation in frequency while generating PWM using k20d72m board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482485#M29504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fluctuations posted in my earlier post were observed on my CRO (it will not have any effect of my PWM frequency reading error (if any)).I hope I have&amp;nbsp; shared my files related to my PWM generation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 06:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482485#M29504</guid>
      <dc:creator>josephxavier</dc:creator>
      <dc:date>2016-02-18T06:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: I am seeing fluctuation in frequency while generating PWM using k20d72m board</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482486#M29505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi josephxavier,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The attached PWM project is for K20DX256VLL7, I already test it on our TWR-K20D72M board, and it works ok, without the fluctuations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The project is the Codewarrior project, please refer to that code, the PWM wave can generated in PTC1 and PTC2 pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you still have question, please contact with me!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jingjing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2016 06:44:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/I-am-seeing-fluctuation-in-frequency-while-generating-PWM-using/m-p/482486#M29505</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2016-02-19T06:44:00Z</dc:date>
    </item>
  </channel>
</rss>

