<?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: PWM issue in S32K</title>
    <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763879#M29019</link>
    <description>&lt;P&gt;&amp;nbsp;first 1)&lt;/P&gt;&lt;P&gt;is the formular i am using for eMIOS correct ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;PWM frequency&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;= CORE_CLK / global prescaler / internal prescaler / (period ticks+1) or shoud it be&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;PWM frequency&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;= CORE_CLK / global prescaler / internal prescaler / (period ticks).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;second 2) when i have for example period for 2400 ticks and i set duty&amp;nbsp;cycle into 2400,100% duty&amp;nbsp;cycle&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is not giving any output,but if i decrease&amp;nbsp;the duty cycle only be&amp;nbsp; one ticks then the period then it will gives an output of 98,7%.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my setup is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CORE_CLK=48MHz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;global prescaler=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;internal prescaler=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mcl&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Skærmbillede 2023-114.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251563i680B85AC23CB814A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Skærmbillede 2023-114.png" alt="Skærmbillede 2023-114.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Skærmbillede 2023-11-27 093140.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251565i0654F1CDF4F53903/image-size/large?v=v2&amp;amp;px=999" role="button" title="Skærmbillede 2023-11-27 093140.png" alt="Skærmbillede 2023-11-27 093140.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2023 08:33:57 GMT</pubDate>
    <dc:creator>Ayaz</dc:creator>
    <dc:date>2023-11-27T08:33:57Z</dc:date>
    <item>
      <title>PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763225#M28960</link>
      <description>&lt;P&gt;I am using S32K344 to generate PWM via eMIOS and flexio using OPWMB?&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;i have some dough &lt;/FONT&gt;regrade&lt;FONT face="inherit"&gt;&amp;nbsp;to the &lt;/FONT&gt;formular&lt;FONT face="inherit"&gt;&amp;nbsp;for &lt;/FONT&gt;calculating&lt;FONT face="inherit"&gt;&amp;nbsp; the PWM frequency ?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;&lt;STRONG&gt;&lt;EM&gt;PWM frequency&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;= CORE_CLK / global prescaler / internal prescaler / (B1+1)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="inherit"&gt;I am using this &lt;/FONT&gt;formular&lt;FONT face="inherit"&gt;&amp;nbsp;for Emios can i use it also for flexio?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2023 09:11:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763225#M28960</guid>
      <dc:creator>Ayaz</dc:creator>
      <dc:date>2023-11-24T09:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763688#M28999</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;I don't think this formula for eMIOS can be used for Flexio_PWM. Have a look at&amp;nbsp;Flexio_Pwm_Ip_Example_S32K344:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Flexio_Pwm_Ip_Example_S32K344_RTD300 FlexIO AIPS_PLAT_CLK.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251516i71344073499B1739/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flexio_Pwm_Ip_Example_S32K344_RTD300 FlexIO AIPS_PLAT_CLK.png" alt="Flexio_Pwm_Ip_Example_S32K344_RTD300 FlexIO AIPS_PLAT_CLK.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Flexio_Pwm_Ip_Example_S32K344_RTD300 Clock prescaler Period.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251517i0B43382D12BFC280/image-size/large?v=v2&amp;amp;px=999" role="button" title="Flexio_Pwm_Ip_Example_S32K344_RTD300 Clock prescaler Period.png" alt="Flexio_Pwm_Ip_Example_S32K344_RTD300 Clock prescaler Period.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 03:10:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763688#M28999</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-11-27T03:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763863#M29017</link>
      <description>&lt;P&gt;what is the &lt;SPAN&gt;formula&lt;/SPAN&gt; for flexio_pwm ?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 08:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763863#M29017</guid>
      <dc:creator>Ayaz</dc:creator>
      <dc:date>2023-11-27T08:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763879#M29019</link>
      <description>&lt;P&gt;&amp;nbsp;first 1)&lt;/P&gt;&lt;P&gt;is the formular i am using for eMIOS correct ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;PWM frequency&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;= CORE_CLK / global prescaler / internal prescaler / (period ticks+1) or shoud it be&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;PWM frequency&lt;/EM&gt;&lt;/STRONG&gt;&amp;nbsp;= CORE_CLK / global prescaler / internal prescaler / (period ticks).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;second 2) when i have for example period for 2400 ticks and i set duty&amp;nbsp;cycle into 2400,100% duty&amp;nbsp;cycle&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;is not giving any output,but if i decrease&amp;nbsp;the duty cycle only be&amp;nbsp; one ticks then the period then it will gives an output of 98,7%.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my setup is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CORE_CLK=48MHz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;global prescaler=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;internal prescaler=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mcl&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Skærmbillede 2023-114.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251563i680B85AC23CB814A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Skærmbillede 2023-114.png" alt="Skærmbillede 2023-114.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Skærmbillede 2023-11-27 093140.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/251565i0654F1CDF4F53903/image-size/large?v=v2&amp;amp;px=999" role="button" title="Skærmbillede 2023-11-27 093140.png" alt="Skærmbillede 2023-11-27 093140.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 08:33:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763879#M29019</guid>
      <dc:creator>Ayaz</dc:creator>
      <dc:date>2023-11-27T08:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763887#M29020</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;FlexIO PWM frequency&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;= AIPS_PLAT_CLK/ Clock prescaler /&amp;nbsp;Period[ticks]=48MHz/1/200=240 kHz&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 08:44:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763887#M29020</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-11-27T08:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763900#M29024</link>
      <description>&lt;P&gt;eMIOS PWM frequency has been discussed in &lt;A href="https://community.nxp.com/t5/S32K/S32K344-hardware-PWM-frequency/m-p/1401775" target="_self"&gt;S32K344 hardware PWM frequency&lt;/A&gt;, which is:&lt;/P&gt;
&lt;P&gt;PWM frequency = CORE_CLK / global prescaler / internal prescaler / (B1+1)&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 08:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763900#M29024</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-11-27T08:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763905#M29025</link>
      <description>&lt;P&gt;&lt;SPAN&gt;PWM frequency = CORE_CLK / global prescaler / internal prescaler / (B1+1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;under the example you send me this formular is for OPWFMB mode&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;does this formular applies on OPWMB mode also?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 09:05:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763905#M29025</guid>
      <dc:creator>Ayaz</dc:creator>
      <dc:date>2023-11-27T09:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763911#M29026</link>
      <description>&lt;P&gt;Yes, I think it's the same.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 09:13:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763911#M29026</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-11-27T09:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763921#M29027</link>
      <description>&lt;P&gt;is it normal that if i apply 2399 ticks for period and i set the duty cycle 2399 to get 100% duty cycle ,is not giving my any output ,from the test i did ,the duty cycle most always be one ticks less the period to get 100% duty cycle ,it is for emios&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 09:19:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763921#M29027</guid>
      <dc:creator>Ayaz</dc:creator>
      <dc:date>2023-11-27T09:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1769644#M29360</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Note&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Clock prescaler(Internal P&lt;SPAN&gt;rescaler&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;Will only have an effect in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;OPWFMB&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;OPMCB&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;modes&lt;/EM&gt;&lt;SPAN&gt;.(Shown in S32 Configuration Tool). If&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;OPWMB&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;mode is selected, only&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;global prescaler(Master Bus Prescaler)&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;is active by using S32CT.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Clock prescaler Will only have an effect in OPWFMB and OPMCB modes.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/253189iC8DD54F0AF5F15F0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Clock prescaler Will only have an effect in OPWFMB and OPMCB modes.png" alt="Clock prescaler Will only have an effect in OPWFMB and OPMCB modes.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 09:06:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1769644#M29360</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-12-06T09:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1822333#M32555</link>
      <description>in this formula I can't be able to understand what is B1?</description>
      <pubDate>Wed, 06 Mar 2024 09:41:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1822333#M32555</guid>
      <dc:creator>ESAKKI_MBD</dc:creator>
      <dc:date>2024-03-06T09:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: PWM issue</title>
      <link>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1859527#M34977</link>
      <description>&lt;P&gt;I have a issue with OPWFMB mode for variable frequency &amp;amp; variable duty cycle. can you help me with this mode with an example?&lt;/P&gt;&lt;P&gt;I am encountering with the OPWFMB mode for variable frequency and duty cycle. can you help me with examples in understanding and troubleshooting such complexities.&lt;/P&gt;&lt;P&gt;Your expertise in this matter would greatly contribute to resolving the issue efficiently.&lt;/P&gt;&lt;P&gt;Thank you in advance for your attention to this matter. I look forward to your guidance and insights.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 08:11:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-issue/m-p/1859527#M34977</guid>
      <dc:creator>ESAKKI_MBD</dc:creator>
      <dc:date>2024-05-06T08:11:57Z</dc:date>
    </item>
  </channel>
</rss>

