<?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 period in S32K</title>
    <link>https://community.nxp.com/t5/S32K/PWM-period/m-p/1680478#M24687</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How we can give period value as&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;285714 because the maximum value we can give is 65534 in the configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Default period value of Pwm channel at initialization.&lt;BR /&gt;The measure unit are in ticks (if Period In Ticks checked), or in seconds (if unchecked)&lt;BR /&gt;Valid range: [0, 65534]&lt;BR /&gt;&amp;lt;note&amp;gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jul 2023 11:19:58 GMT</pubDate>
    <dc:creator>Ajul</dc:creator>
    <dc:date>2023-07-03T11:19:58Z</dc:date>
    <item>
      <title>PWM period</title>
      <link>https://community.nxp.com/t5/S32K/PWM-period/m-p/1679416#M24620</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I was working on NXP s32k324 controller .&lt;/P&gt;&lt;P&gt;Need to run a PWM at 35Hz and 125Hz .&lt;/P&gt;&lt;P&gt;In S32k data sheet It is mentioned like The frequency range is b/w 400Hz to 20Khz . Is it possible to run the PWM at 35 and 125 Hz ? If yes could you please tell me How to achieve this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ajul&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 08:27:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-period/m-p/1679416#M24620</guid>
      <dc:creator>Ajul</dc:creator>
      <dc:date>2023-06-30T08:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: PWM period</title>
      <link>https://community.nxp.com/t5/S32K/PWM-period/m-p/1679558#M24629</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;yes, it is possible.&lt;BR /&gt;eMIOS module is clocked from CORE_CLK (up to 160Mhz). eMIOS divides this clock by the global prescaler (MCR[GPRE] + 1) and routes the resulting prescaled clock output to the channel internal prescaler (Cn[UCPRE] + 1). Thus channel internal counter counts (CORE_CLK/global prescaler/internal prescaler) clock. Channel offers also extended prescaler.&lt;BR /&gt;Channels Y/H do not have internal counters so must select some counter bus (global or local) which are be running from. The MCB mode is used to run on channels that serves as counter buses (ch 23,22,0,8,16).&lt;BR /&gt;Period in MCB mode is given as An[A]*global prescaler*internal prescaler/CORE_CLK.&lt;BR /&gt;Similar equation is also valid for modes generating PWM signal directly, like OPWFMB.&lt;BR /&gt;Global prescaler can range from 1 to 256. Internal prescaler can range from 1 to 4.&lt;BR /&gt;Register An is 24bit wide. So you can easily calculate longest PWM period for used Core clock, prescalers and An value.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 10:20:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-period/m-p/1679558#M24629</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-06-30T10:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: PWM period</title>
      <link>https://community.nxp.com/t5/S32K/PWM-period/m-p/1679606#M24631</link>
      <description>&lt;P&gt;Hi,Petr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share the EB configuration for this ?&lt;/P&gt;&lt;P&gt;It would be help full for better understand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ajul&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 11:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-period/m-p/1679606#M24631</guid>
      <dc:creator>Ajul</dc:creator>
      <dc:date>2023-06-30T11:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: PWM period</title>
      <link>https://community.nxp.com/t5/S32K/PWM-period/m-p/1679610#M24632</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Right Now Iam using core clock (160MHz) as input to the PWM.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ajul_0-1688125572942.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/230316i81F9397211B00F56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ajul_0-1688125572942.png" alt="Ajul_0-1688125572942.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 11:46:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-period/m-p/1679610#M24632</guid>
      <dc:creator>Ajul</dc:creator>
      <dc:date>2023-06-30T11:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: PWM period</title>
      <link>https://community.nxp.com/t5/S32K/PWM-period/m-p/1680426#M24682</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;as module clock is selected then global prescaler has no effect for this channel and just local one is taken into account for this OPWFMB mode. So for 160MHz module clock and prescaler of 16, to have 35Hz generated use 285714 for Period setting.&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 10:14:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-period/m-p/1680426#M24682</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-07-03T10:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: PWM period</title>
      <link>https://community.nxp.com/t5/S32K/PWM-period/m-p/1680478#M24687</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;How we can give period value as&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;285714 because the maximum value we can give is 65534 in the configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Default period value of Pwm channel at initialization.&lt;BR /&gt;The measure unit are in ticks (if Period In Ticks checked), or in seconds (if unchecked)&lt;BR /&gt;Valid range: [0, 65534]&lt;BR /&gt;&amp;lt;note&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 11:19:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-period/m-p/1680478#M24687</guid>
      <dc:creator>Ajul</dc:creator>
      <dc:date>2023-07-03T11:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: PWM period</title>
      <link>https://community.nxp.com/t5/S32K/PWM-period/m-p/1680485#M24689</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;yes, you are right, there is 16bit counter, 24bit counter is on different device.&lt;BR /&gt;Then you need to use global divider as well. As prescaler source select&amp;nbsp;EMIOS_PWM_IP_PS_SRC_PRESCALED_CLOCK. Within MCL component you can configure eMIOS global divider. Then calculate period value for global and internal prescalers.&lt;/P&gt;
&lt;P&gt;BR, Petr&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 11:34:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/PWM-period/m-p/1680485#M24689</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2023-07-03T11:34:09Z</dc:date>
    </item>
  </channel>
</rss>

