<?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 PWM Synchronization error in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Synchronization-error/m-p/1976887#M9666</link>
    <description>&lt;P&gt;Hello Nxp team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. For the first approach,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Fast update function&amp;nbsp;&lt;/STRONG&gt;we tried with fast update function in our model and checked but there is a variable delay in pwm 2 pulse.&amp;nbsp;is there any example model available for the previous mentioned requirement.&lt;/P&gt;&lt;P&gt;and i have attached the file "Test_in_new".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_0-1729240517567.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305475iE99C2CF5D1FE84ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_0-1729240517567.png" alt="Vijay98_0-1729240517567.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. And for the second approach,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The program which shared was running in opwmb and has counter bus of bcde. And we seen change in periods not happening, its in fixed frequency with variable dutycycle.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Observation with your shared model(S32k312_pwm_icu_S32ct):&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. High side frequency always at 259.63HZ, refer image.&lt;/P&gt;&lt;P&gt;&lt;U&gt;(our requirement: it need to change from 0.1HZ to 150HZ)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;2. Low side Frequency always at 2.8Khz refer image&lt;/P&gt;&lt;P&gt;&lt;U&gt;(Our requirement: its need to change from 0.1Hz to 12Khz based on ON time of High side frequency)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_1-1729240517434.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305476i8EE85AA558804B5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_1-1729240517434.jpeg" alt="Vijay98_1-1729240517434.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we tried changing the mode and counter bus to 'OPWFMB' &amp;amp; 'internal bus' but the PWM-2 pulse is not getting synchronized with PWM1 pulse.&lt;/P&gt;&lt;P&gt;we want to change one pwm (PWM-1) both period and duty cycle for different frequency (OPWFMB) from Application and PWM-2 has to turned on and off based on PWM-1 ON time.&lt;/P&gt;&lt;P&gt;And i have attached the file below as "Nxp_pwm"&lt;/P&gt;&lt;P&gt;Kindly help us to resolve this issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Esakki.P&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2024 08:36:40 GMT</pubDate>
    <dc:creator>Vijay98</dc:creator>
    <dc:date>2024-10-18T08:36:40Z</dc:date>
    <item>
      <title>PWM Synchronization error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Synchronization-error/m-p/1976887#M9666</link>
      <description>&lt;P&gt;Hello Nxp team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. For the first approach,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Fast update function&amp;nbsp;&lt;/STRONG&gt;we tried with fast update function in our model and checked but there is a variable delay in pwm 2 pulse.&amp;nbsp;is there any example model available for the previous mentioned requirement.&lt;/P&gt;&lt;P&gt;and i have attached the file "Test_in_new".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_0-1729240517567.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305475iE99C2CF5D1FE84ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_0-1729240517567.png" alt="Vijay98_0-1729240517567.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. And for the second approach,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The program which shared was running in opwmb and has counter bus of bcde. And we seen change in periods not happening, its in fixed frequency with variable dutycycle.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Observation with your shared model(S32k312_pwm_icu_S32ct):&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1. High side frequency always at 259.63HZ, refer image.&lt;/P&gt;&lt;P&gt;&lt;U&gt;(our requirement: it need to change from 0.1HZ to 150HZ)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;2. Low side Frequency always at 2.8Khz refer image&lt;/P&gt;&lt;P&gt;&lt;U&gt;(Our requirement: its need to change from 0.1Hz to 12Khz based on ON time of High side frequency)&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_1-1729240517434.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305476i8EE85AA558804B5C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_1-1729240517434.jpeg" alt="Vijay98_1-1729240517434.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we tried changing the mode and counter bus to 'OPWFMB' &amp;amp; 'internal bus' but the PWM-2 pulse is not getting synchronized with PWM1 pulse.&lt;/P&gt;&lt;P&gt;we want to change one pwm (PWM-1) both period and duty cycle for different frequency (OPWFMB) from Application and PWM-2 has to turned on and off based on PWM-1 ON time.&lt;/P&gt;&lt;P&gt;And i have attached the file below as "Nxp_pwm"&lt;/P&gt;&lt;P&gt;Kindly help us to resolve this issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Esakki.P&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 08:36:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Synchronization-error/m-p/1976887#M9666</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-10-18T08:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: PWM Synchronization error</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Synchronization-error/m-p/1983896#M9720</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232522"&gt;@Vijay98&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recommend keeping the discussion only in the original thread here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1955433" target="_blank"&gt;Pwm_delay_in_trigger_pulse - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will further respond there, in the meantime i am looking into your question,&lt;/P&gt;
&lt;P&gt;PS: you can delete this thread, since this is a duplicate of that original one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 14:05:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/PWM-Synchronization-error/m-p/1983896#M9720</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-10-29T14:05:40Z</dc:date>
    </item>
  </channel>
</rss>

