<?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>Model-Based Design Toolbox (MBDT)のトピックRe: OPWMB_PWM_FREQ_ISSUE</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/OPWMB-PWM-FREQ-ISSUE/m-p/1822179#M8895</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230241"&gt;@ESAKKI_MBD&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please check the following article posted on our community (&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM/ta-p/1747898" target="_self"&gt;link&lt;/A&gt;)?&lt;/P&gt;
&lt;P&gt;It provides all the necessary information on how to configure and use the PWM component in MBDT applications (&lt;STRONG&gt;Section 4. PWM Configuration&lt;/STRONG&gt;). It also includes the explained formulas for computing the &lt;STRONG&gt;Frequency&lt;/STRONG&gt; and &lt;STRONG&gt;Period&lt;/STRONG&gt; of generated PWM signals, inside &lt;STRONG&gt;Section 4.4 MCL. &lt;/STRONG&gt;However, I would recommend going through the entire article for more details on PWM Peripheral, Pins, Clocks and Interrupts configuration.&lt;/P&gt;
&lt;P&gt;Please let us know if this helps or if any additional information/guidance is needed from our side.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 07:33:13 GMT</pubDate>
    <dc:creator>Irina_Costachescu</dc:creator>
    <dc:date>2024-03-06T07:33:13Z</dc:date>
    <item>
      <title>OPWMB_PWM_FREQ_ISSUE</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/OPWMB-PWM-FREQ-ISSUE/m-p/1822077#M8894</link>
      <description>&lt;P&gt;HELLO EVERYONE,&lt;/P&gt;&lt;P&gt;I'm testing the PWM using EMIOS and I facing some doubts:&lt;/P&gt;&lt;P&gt;Informations:&lt;/P&gt;&lt;P&gt;CLK is 160MHz.&lt;/P&gt;&lt;P&gt;and for pwm frequency calculation i used&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;PWM peripheral clock = CORE_CLK/ Core_clk_divider/ Global_prescaler/ Clock_prescaler&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;but my required output is getting wrong. after i research in nxp community i got two different formulas,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;1.&amp;nbsp;&lt;STRONG&gt;PWM frequency&lt;/STRONG&gt;&amp;nbsp;= CORE_CLK / global prescaler / internal prescaler / (period [ticks] x 2)&lt;BR /&gt;&lt;STRONG&gt;Period[ticks]&lt;/STRONG&gt;&amp;nbsp;= CORE_CLK / PERIOD_FREQ / 2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;2.&amp;nbsp;PWM frequency = CORE_CLK / global prescaler / internal prescaler / (B1+1)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;which one is correct formula for calculation of frequency and duty cycle.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57959"&gt;@Robin_Shen&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100054"&gt;@Irina_Costachescu&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;ES&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 05:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/OPWMB-PWM-FREQ-ISSUE/m-p/1822077#M8894</guid>
      <dc:creator>ESAKKI_MBD</dc:creator>
      <dc:date>2024-03-06T05:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: OPWMB_PWM_FREQ_ISSUE</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/OPWMB-PWM-FREQ-ISSUE/m-p/1822179#M8895</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/230241"&gt;@ESAKKI_MBD&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please check the following article posted on our community (&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM/ta-p/1747898" target="_self"&gt;link&lt;/A&gt;)?&lt;/P&gt;
&lt;P&gt;It provides all the necessary information on how to configure and use the PWM component in MBDT applications (&lt;STRONG&gt;Section 4. PWM Configuration&lt;/STRONG&gt;). It also includes the explained formulas for computing the &lt;STRONG&gt;Frequency&lt;/STRONG&gt; and &lt;STRONG&gt;Period&lt;/STRONG&gt; of generated PWM signals, inside &lt;STRONG&gt;Section 4.4 MCL. &lt;/STRONG&gt;However, I would recommend going through the entire article for more details on PWM Peripheral, Pins, Clocks and Interrupts configuration.&lt;/P&gt;
&lt;P&gt;Please let us know if this helps or if any additional information/guidance is needed from our side.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 07:33:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/OPWMB-PWM-FREQ-ISSUE/m-p/1822179#M8895</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2024-03-06T07:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: OPWMB_PWM_FREQ_ISSUE</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/OPWMB-PWM-FREQ-ISSUE/m-p/1822230#M8896</link>
      <description>&lt;P&gt;Please refer to the discussion in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763225" target="_blank"&gt;https://community.nxp.com/t5/S32K/PWM-issue/m-p/1763225&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 08:12:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/OPWMB-PWM-FREQ-ISSUE/m-p/1822230#M8896</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-03-06T08:12:31Z</dc:date>
    </item>
  </channel>
</rss>

