<?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: S32K SKD - PWM in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K-SKD-PWM/m-p/812636#M2972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem&amp;nbsp;is caused by:&amp;nbsp;FTM_UPDATE_NOW. If you try to update the duty cycle the counter will be reset and you won't have fixed frequency.&lt;/P&gt;&lt;P&gt;To avoid this issue please use&amp;nbsp;FTM_WAIT_LOADING_POINTS and enable one of the loading point (&lt;SPAN&gt; true&lt;/SPAN&gt;,&lt;SPAN&gt; &lt;/SPAN&gt;/* Max loading point state */). In this set-up no Mather when you update duty the update will be made just after finishing current period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Nov 2018 21:09:35 GMT</pubDate>
    <dc:creator>razva_tilimpea</dc:creator>
    <dc:date>2018-11-07T21:09:35Z</dc:date>
    <item>
      <title>S32K SKD - PWM</title>
      <link>https://community.nxp.com/t5/S32K/S32K-SKD-PWM/m-p/812635#M2971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've started to setup the PWM outputs over FTM timers. When I try to set the PWM output with the PWM frequnecy in the range of approx. 80 - 250 Hz, the PWM period is not consistent. It genererates additional pulse among the rest of expected PWM pulses - see attached file. For the project SDK drivers are used (for PWM the FTM_PWM driver is used).&lt;/P&gt;&lt;P&gt;I attached two files, first is the pwm setting file generated by Proc. Expert and second one shows the PWM curve on the osciloscopue.&lt;/P&gt;&lt;P&gt;Please can you explain me what is wrong. If I change PWM period (also PWM prescaler must be changed) e.g. to 1ms, 500us... the period is really precisely set.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2018 12:16:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-SKD-PWM/m-p/812635#M2971</guid>
      <dc:creator>radekpivokonsky</dc:creator>
      <dc:date>2018-11-07T12:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: S32K SKD - PWM</title>
      <link>https://community.nxp.com/t5/S32K/S32K-SKD-PWM/m-p/812636#M2972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem&amp;nbsp;is caused by:&amp;nbsp;FTM_UPDATE_NOW. If you try to update the duty cycle the counter will be reset and you won't have fixed frequency.&lt;/P&gt;&lt;P&gt;To avoid this issue please use&amp;nbsp;FTM_WAIT_LOADING_POINTS and enable one of the loading point (&lt;SPAN&gt; true&lt;/SPAN&gt;,&lt;SPAN&gt; &lt;/SPAN&gt;/* Max loading point state */). In this set-up no Mather when you update duty the update will be made just after finishing current period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Razvan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Nov 2018 21:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-SKD-PWM/m-p/812636#M2972</guid>
      <dc:creator>razva_tilimpea</dc:creator>
      <dc:date>2018-11-07T21:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K SKD - PWM</title>
      <link>https://community.nxp.com/t5/S32K/S32K-SKD-PWM/m-p/812637#M2973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your help. Now, all the tested frequencies are precisely set.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 07:41:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K-SKD-PWM/m-p/812637#M2973</guid>
      <dc:creator>radekpivokonsky</dc:creator>
      <dc:date>2018-11-08T07:41:05Z</dc:date>
    </item>
  </channel>
</rss>

