<?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のトピックRe: KV44 flexPWM with frequency dithering and nano edge</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV44-flexPWM-with-frequency-dithering-and-nano-edge/m-p/1340927#M61489</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/106859"&gt;@katha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well!&lt;/P&gt;
&lt;P&gt;Could you detail us&amp;nbsp; further the non-linear variations that you are seeing for the duty cycle and PWM period?&amp;nbsp; For example , when you call&amp;nbsp;&lt;SPAN&gt;PWM_UpdatePwmDutycycle()&amp;nbsp; to&amp;nbsp; increment/decrease/set the duty cycle , the error in the duty cycle edges can vary in many&amp;nbsp; different&amp;nbsp;clock cycles?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Our colleague Xiangjun Ron&amp;nbsp; provides a document and demo code introducing the Nano-edge placement. To get fine edge control the period the FRACVAL registers are also used.&amp;nbsp; &amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Nano-edge-placement-feature-for-eFlexPWM-module-based-on-KV4x/ta-p/1105571" target="_self"&gt;Nano-edge placement feature for eFlexPWM module based on KV4x&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;According to the KV44, the fine edge control , can be also simulated with dithering, this applies for those sub-modules that are not supported by the Nano edge placer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1631745887108.png" style="width: 591px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156150iFC9C3434BCC1BF46/image-dimensions/591x263?v=v2" width="591" height="263" role="button" title="diego_charles_0-1631745887108.png" alt="diego_charles_0-1631745887108.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All the best&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 22:49:24 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2021-09-15T22:49:24Z</dc:date>
    <item>
      <title>KV44 flexPWM with frequency dithering and nano edge</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV44-flexPWM-with-frequency-dithering-and-nano-edge/m-p/1337836#M61453</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;to realize a spread spectrum frequency modulation with two pwm signals and nano edge placement I currently vary the periode using VAL1. Frequency varies between 105kHz - 95kHz, nanoedge 2x clock runs at 168MHz.&lt;/P&gt;&lt;P&gt;I realized, that the periode setting with VAL1 seems to be non linear. Also the dutycycle values doesn't seem to vary linear. If I use SDK function PWM_UpdatePwmDutycycle() the dutycycle does not come out exactly.&lt;/P&gt;&lt;P&gt;Could you explain why the values are non linear?&lt;BR /&gt;Do you have a better idea how to realize a frequency dithering feature?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Katharina&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 15:53:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV44-flexPWM-with-frequency-dithering-and-nano-edge/m-p/1337836#M61453</guid>
      <dc:creator>katha</dc:creator>
      <dc:date>2021-09-09T15:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: KV44 flexPWM with frequency dithering and nano edge</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV44-flexPWM-with-frequency-dithering-and-nano-edge/m-p/1340927#M61489</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/106859"&gt;@katha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing well!&lt;/P&gt;
&lt;P&gt;Could you detail us&amp;nbsp; further the non-linear variations that you are seeing for the duty cycle and PWM period?&amp;nbsp; For example , when you call&amp;nbsp;&lt;SPAN&gt;PWM_UpdatePwmDutycycle()&amp;nbsp; to&amp;nbsp; increment/decrease/set the duty cycle , the error in the duty cycle edges can vary in many&amp;nbsp; different&amp;nbsp;clock cycles?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Our colleague Xiangjun Ron&amp;nbsp; provides a document and demo code introducing the Nano-edge placement. To get fine edge control the period the FRACVAL registers are also used.&amp;nbsp; &amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Nano-edge-placement-feature-for-eFlexPWM-module-based-on-KV4x/ta-p/1105571" target="_self"&gt;Nano-edge placement feature for eFlexPWM module based on KV4x&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;According to the KV44, the fine edge control , can be also simulated with dithering, this applies for those sub-modules that are not supported by the Nano edge placer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="diego_charles_0-1631745887108.png" style="width: 591px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/156150iFC9C3434BCC1BF46/image-dimensions/591x263?v=v2" width="591" height="263" role="button" title="diego_charles_0-1631745887108.png" alt="diego_charles_0-1631745887108.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;All the best&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 22:49:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV44-flexPWM-with-frequency-dithering-and-nano-edge/m-p/1340927#M61489</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-09-15T22:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: KV44 flexPWM with frequency dithering and nano edge</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV44-flexPWM-with-frequency-dithering-and-nano-edge/m-p/1341684#M61502</link>
      <description>&lt;P&gt;Hie Diego,&lt;/P&gt;&lt;P&gt;got it working, dithering function does not work for a frequency dithering from 95kHz to 100kHz, just around the nearest whole number.&lt;/P&gt;&lt;P&gt;Non linearity was because of rounding problems.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 06:38:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV44-flexPWM-with-frequency-dithering-and-nano-edge/m-p/1341684#M61502</guid>
      <dc:creator>katha</dc:creator>
      <dc:date>2021-09-23T06:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: KV44 flexPWM with frequency dithering and nano edge</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV44-flexPWM-with-frequency-dithering-and-nano-edge/m-p/1345275#M61545</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/106859"&gt;@katha&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am glad that you have find out the problem! Thanks for sharing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 20:48:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV44-flexPWM-with-frequency-dithering-and-nano-edge/m-p/1345275#M61545</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2021-09-23T20:48:23Z</dc:date>
    </item>
  </channel>
</rss>

