<?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_delay_in_trigger_pulse in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1958323#M9527</link>
    <description>&lt;P&gt;Hello Dragos,&lt;/P&gt;&lt;P&gt;My first point is that&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, we are generating the &lt;STRONG&gt;pwm signal&lt;/STRONG&gt; using the &lt;STRONG&gt;internal counter&lt;/STRONG&gt; for &lt;STRONG&gt;emios1_ch0&lt;/STRONG&gt; and &lt;STRONG&gt;emios0_ch0&amp;nbsp;&lt;/STRONG&gt;in &lt;STRONG&gt;OPWFMB&lt;/STRONG&gt; mode. And in &lt;STRONG&gt;mcl&lt;/STRONG&gt; configuration we mentioned only &lt;STRONG&gt;clock divider value.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And yes, we are configuring the same configuration for pwm in this post&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Reg-Raising-edge-and-Falling-edge-detection-issue-S32k344/m-p/1949425/highlight/true#M9454" target="_blank"&gt;Re: Reg: Raising edge and Falling edge detection issue_S32k344 - NXP Community.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We can be able to check the pwm edge triggering and able to generate pwm2 pulse within the pwm1 pulse on time.&lt;/P&gt;&lt;P&gt;But currently we are facing an issue of Certain delay in pwm2, and that delay is not constant for pwm2 pulse.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Photo - 1: 820uS delay for pwm 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_0-1726804764065.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300226i21D570FBFC7BC415/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_0-1726804764065.png" alt="Esakki_0-1726804764065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Photo - 2: no delay for pwm 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_1-1726804764536.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300228i995AA772836D2AA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_1-1726804764536.png" alt="Esakki_1-1726804764536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Photo - 3: 520uS delay for pwm 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_2-1726804764103.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300227i0F64F164A6E6EF10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_2-1726804764103.png" alt="Esakki_2-1726804764103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We don't know how to reduce this delay or make it as a constant delay.&lt;/P&gt;&lt;P&gt;Kindly help us resolve this issue.&lt;/P&gt;&lt;P&gt;I have attached the model and configuration with this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2024 04:20:11 GMT</pubDate>
    <dc:creator>Vijay98</dc:creator>
    <dc:date>2024-09-20T04:20:11Z</dc:date>
    <item>
      <title>Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1955433#M9500</link>
      <description>&lt;P&gt;Hello NXP team,&lt;/P&gt;&lt;P&gt;Currently we are generating the pwm pulse for two channels.&lt;/P&gt;&lt;P&gt;and with pwm channel 1 pulse, we are triggering the pwm channel 2 pulse with edge triggering.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_0-1726550630893.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299358i4DD3C0F321532759/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_0-1726550630893.jpeg" alt="Esakki_0-1726550630893.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but with triggering, there is some delay in Pwm channel 2 pulse and that delay is not constant it is getting varying from one pulse to another pulse.&lt;/P&gt;&lt;P&gt;Photo - 1: 820uS delay for pwm 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_4-1726551336086.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299363iFC7DEF99CAF2E802/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_4-1726551336086.png" alt="Esakki_4-1726551336086.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Photo - 2: no delay for pwm 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_5-1726551406656.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299364i210F73BAC85C3CD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_5-1726551406656.png" alt="Esakki_5-1726551406656.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Photo - 3: 520uS delay for pwm 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_6-1726551459604.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299365i60BA235E4F4B8283/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_6-1726551459604.png" alt="Esakki_6-1726551459604.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;we don't know how to reduce this delay, and it is not constant delay.&lt;/P&gt;&lt;P&gt;We have attached the configuration settings for this pwm pulse below,&lt;/P&gt;&lt;P&gt;Emios_0 - Channel_0 for pwm2 pulse&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_7-1726551591729.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299367iF9DE6EC3CA19C733/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_7-1726551591729.png" alt="Esakki_7-1726551591729.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_9-1726551786268.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299369iEF3A59B0468B8652/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_9-1726551786268.png" alt="Esakki_9-1726551786268.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Emios_1 - Channel_0 for pwm1 pulse&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_8-1726551759125.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299368i767C084A1D337CF5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_8-1726551759125.png" alt="Esakki_8-1726551759125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_10-1726551802652.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299370i885BE0BAD6B2C6EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_10-1726551802652.png" alt="Esakki_10-1726551802652.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mcl_configuration for Pwm2 pulse&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_11-1726551854311.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/299371i0DE1B1B62703EBBE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_11-1726551854311.png" alt="Esakki_11-1726551854311.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kindly help us to resolve this issue related to pwm delay.&lt;/P&gt;&lt;P&gt;Thanks, and regards,&lt;/P&gt;&lt;P&gt;Esakki.P&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100054"&gt;@Irina_Costachescu&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229388"&gt;@DrKarthi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 05:49:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1955433#M9500</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-09-17T05:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1957783#M9524</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;,&lt;/P&gt;
&lt;P&gt;First of all, for the results obtained and the displayed delay, were the recommendations from this &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Reg-Raising-edge-and-Falling-edge-detection-issue-S32k344/m-p/1943519/highlight/true#M9416" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;post&lt;/STRONG&gt; &lt;/A&gt;also taken into account,&amp;nbsp;namely those related to the level of optimization?&lt;/P&gt;
&lt;P&gt;Secondly, I would like to mention the fact that I noticed in the provided screenshots the configuration of a master bus in the MCL component, for the eMIOS 1 instance.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1726755404693.png" style="width: 697px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300056i911F443E37A717DA/image-dimensions/697x512?v=v2" width="697" height="512" role="button" title="dragostoma_0-1726755404693.png" alt="dragostoma_0-1726755404693.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;On the other hand, in the configuration of the PWM channel I notice that in the same eMIOS 1 instance it is set to use a internal counter, that is, the reference to the previously mentioned master bus is not taken into account, but the calculation is based on an internal counter.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_1-1726755451081.png" style="width: 715px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300057i9FD61F8FB539FDFE/image-dimensions/715x592?v=v2" width="715" height="592" role="button" title="dragostoma_1-1726755451081.png" alt="dragostoma_1-1726755451081.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Is this how the application was designed? Because the results of the calculations are totally different regarding the counter used, if it is internal or external.&amp;nbsp;In the case of an external master bus, when calculating the frequency and period of a PWM signal, the period of the master bus, the clock divider and respectively the master bus prescalers are also included. Conversely, these things do not apply to the use of an internal counter.&lt;/P&gt;
&lt;P&gt;The last question would be if this model uses the same configuration as in the other similar &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Reg-Raising-edge-and-Falling-edge-detection-issue-S32k344/m-p/1949425/highlight/true#M9454" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;thread&lt;/STRONG&gt;&lt;/A&gt;, because in order to fully understand the behavior and configuration of the application, it can't help to share the configuration project, along with the model.&lt;/P&gt;
&lt;P&gt;Let us know about your progress.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 14:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1957783#M9524</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-09-19T14:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1958323#M9527</link>
      <description>&lt;P&gt;Hello Dragos,&lt;/P&gt;&lt;P&gt;My first point is that&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, we are generating the &lt;STRONG&gt;pwm signal&lt;/STRONG&gt; using the &lt;STRONG&gt;internal counter&lt;/STRONG&gt; for &lt;STRONG&gt;emios1_ch0&lt;/STRONG&gt; and &lt;STRONG&gt;emios0_ch0&amp;nbsp;&lt;/STRONG&gt;in &lt;STRONG&gt;OPWFMB&lt;/STRONG&gt; mode. And in &lt;STRONG&gt;mcl&lt;/STRONG&gt; configuration we mentioned only &lt;STRONG&gt;clock divider value.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;And yes, we are configuring the same configuration for pwm in this post&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Reg-Raising-edge-and-Falling-edge-detection-issue-S32k344/m-p/1949425/highlight/true#M9454" target="_blank"&gt;Re: Reg: Raising edge and Falling edge detection issue_S32k344 - NXP Community.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We can be able to check the pwm edge triggering and able to generate pwm2 pulse within the pwm1 pulse on time.&lt;/P&gt;&lt;P&gt;But currently we are facing an issue of Certain delay in pwm2, and that delay is not constant for pwm2 pulse.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Photo - 1: 820uS delay for pwm 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_0-1726804764065.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300226i21D570FBFC7BC415/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_0-1726804764065.png" alt="Esakki_0-1726804764065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Photo - 2: no delay for pwm 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_1-1726804764536.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300228i995AA772836D2AA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_1-1726804764536.png" alt="Esakki_1-1726804764536.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Photo - 3: 520uS delay for pwm 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Esakki_2-1726804764103.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/300227i0F64F164A6E6EF10/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_2-1726804764103.png" alt="Esakki_2-1726804764103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We don't know how to reduce this delay or make it as a constant delay.&lt;/P&gt;&lt;P&gt;Kindly help us resolve this issue.&lt;/P&gt;&lt;P&gt;I have attached the model and configuration with this post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 04:20:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1958323#M9527</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-09-20T04:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1966480#M9602</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 have opened the archived model:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1727971560612.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/302616iE8CA6CC7F6BEF6D3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1727971560612.png" alt="stefanvlad_0-1727971560612.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And flashed it on the S32K312EVB-Q172 board, then connected Logic analyzer probes and got this signals:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1727971604512.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/302617i569DC3408491E1AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1727971604512.png" alt="stefanvlad_1-1727971604512.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately the PTC10 signal seems to be reversed from your "Photo - 2: no delay for pwm 2."&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1727971655097.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/302618i8DA76FBD9319E560/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1727971655097.png" alt="stefanvlad_2-1727971655097.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But nevertheless i understood want you want to achieve, an PWM signal with lower Frequency , usually called a PWM_Modulator and a signal with a higher (11x) frequency, called a PWM_Carrier.&lt;/P&gt;
&lt;P&gt;there are two approaches to do this:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;Software enable/disable&lt;/STRONG&gt; of PWM_Carrier on the triggered PWM_Modulator interrupt, this is the implementation that you have tried. The disadvantage is the delay is not constant as you saw, one way to correct this is to check the peripheral priorities in the Interrupt Controller, another way is to implement the FastUpdate function for PWM, we have an example in the model&amp;nbsp;&lt;STRONG&gt;s32k344_mc_bldc_s32ct&lt;/STRONG&gt;:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_3-1727972253418.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/302620iE50FE8C92F1E184D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_3-1727972253418.png" alt="stefanvlad_3-1727972253418.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Hardware generation&lt;/STRONG&gt; of the PWM_Carrier, to be generated using the eMIOS with TRGMUX and LCU:&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1728053964163.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/302735i186728247778382E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1728053964163.png" alt="stefanvlad_0-1728053964163.png" /&gt;&lt;/span&gt;&lt;BR /&gt;With this configuration i was able to generate the proper PWM signals:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1728054330569.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/302737i69DD0AB018E8FBD4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1728054330569.png" alt="stefanvlad_2-1728054330569.png" /&gt;&lt;/span&gt;&lt;BR /&gt;
&lt;P&gt;This approach is a bit more complex, but it will ensure the delay is minimum and controllable.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try the FastUpdatePWM implementation in your model, or you can test the attached model in&amp;nbsp;&lt;STRONG&gt;s32k312_pwm_lcu_s32ct.zip:&lt;BR /&gt;&lt;/STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1728055832787.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/302738i3BB3C97D80177C57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1728055832787.png" alt="stefanvlad_0-1728055832787.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if this helps you and have a great weekend,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 15:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1966480#M9602</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-10-04T15:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1973315#M9655</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. For the first approach, &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="Esakki_0-1728903881304.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304536i411B8B19125FA065/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_0-1728903881304.png" alt="Esakki_0-1728903881304.png" /&gt;&lt;/span&gt;&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="Esakki_1-1728906825360.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/304542i8FD100362F0DC56A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Esakki_1-1728906825360.jpeg" alt="Esakki_1-1728906825360.jpeg" /&gt;&lt;/span&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229388"&gt;@DrKarthi&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226537"&gt;@Kavin_raj_mbd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 11:54:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1973315#M9655</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-10-14T11:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1983521#M9719</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kindly update the solution for above issue.&lt;/P&gt;&lt;P&gt;or it will be helpful if we discuss in a teams call.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 06:43:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1983521#M9719</guid>
      <dc:creator>DrKarthi</dc:creator>
      <dc:date>2024-10-29T06:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1984080#M9721</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;,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229388"&gt;@DrKarthi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. For the first &lt;STRONG&gt;Software enable/disable &lt;/STRONG&gt;I have looked in your attached model and saw:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_4-1730226807702.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307521iE1A4DBC64A8C3583/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_4-1730226807702.png" alt="stefanvlad_4-1730226807702.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In the model above, i could not find the missing &lt;STRONG&gt;PWM_FastUpdate&lt;/STRONG&gt; &lt;STRONG&gt;blocks&lt;/STRONG&gt;, as&amp;nbsp;&lt;SPAN&gt;in the model&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;s32k344_mc_bldc_s32ct,&amp;nbsp;&lt;/STRONG&gt;take a closer look at the picture below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1730225879850.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307517i3F589127E284E689/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1730225879850.png" alt="stefanvlad_0-1730225879850.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There are &lt;STRONG&gt;4 blocks&lt;/STRONG&gt; needed for &lt;STRONG&gt;one PWM channel&lt;/STRONG&gt;, and to be run in that &lt;STRONG&gt;specific order&lt;/STRONG&gt;:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Pwm_FastUpdateDisableOU&lt;/LI&gt;
&lt;LI&gt;Pwm_FastUpdateSetUCRegA&lt;/LI&gt;
&lt;LI&gt;Pwm_FastUpdateSetUCRegB&lt;/LI&gt;
&lt;LI&gt;Pwm_FastUpdateEnableOU&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Also the Channel Mask value is not "0" in the&amp;nbsp;&lt;STRONG&gt;s32k344_mc_bldc_s32ct &lt;/STRONG&gt;model, it is defined as&amp;nbsp;&lt;SPAN&gt;MBD_APP_PWM_MASK = uint32(0xE00);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This steps are a proper implementation that can help you achieve better results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. For the &lt;STRONG&gt;Hardware generation&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;of the PWM_Carrier, to be generated using the eMIOS with TRGMUX and LCU, i have updated the model and configuration to use&amp;nbsp;OPWFMB:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1730226281277.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307518i1EAAD753EB7261C3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1730226281277.png" alt="stefanvlad_1-1730226281277.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The PWM_Mod+ PWM_Carrier Period and Duty cycle values can be modified from FreeMASTER while the code is running on the board:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1730226406368.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307519i6EF0F8CAEEB45302/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1730226406368.png" alt="stefanvlad_2-1730226406368.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Now the variable frequency and duty cycle can be changed for both channels:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_3-1730226465678.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307520iF1BE059E82CE8DAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_3-1730226465678.png" alt="stefanvlad_3-1730226465678.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please find the attached model in &lt;STRONG&gt;s32k312_pwm_lcu_mod_carrier_s32ct&lt;/STRONG&gt;.zip&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 18:38:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1984080#M9721</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-10-29T18:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1987745#M9734</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We tried the model attached with this post and we can be able to Change the period and duty cycle with this model and able to see the waveform.&lt;/P&gt;&lt;P&gt;Thank you for your support for this method.&lt;/P&gt;&lt;P&gt;But we have a doubt that the modulator wave inside the carrier wave gets keep on updating (running) -&amp;gt; kindly see the video attached with this post.&lt;/P&gt;&lt;P&gt;It is ok for the modulator wave is running like that or can we stop that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 07:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1987745#M9734</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-11-05T07:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1988147#M9739</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/232522" target="_blank"&gt;@Vijay98&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to hear that this works better,&lt;/P&gt;
&lt;P&gt;I saw the issue presented in the Video, maybe there is a problem with the Oscilloscope trigger?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my case the duty cycle is changed only when i change it in FreeMASTER, otherwise it is kept constant, as in the picture below:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1730827343375.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308743iAB46DC7B22F59043/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_1-1730827343375.png" alt="stefanvlad_1-1730827343375.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can you check the same pins with a logic analyzer?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 17:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1988147#M9739</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-11-05T17:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1990989#M9747</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response&lt;/P&gt;&lt;P&gt;We have checked the waveform,&amp;nbsp;&lt;/P&gt;&lt;P&gt;and right now we need to change only the LCU pins for our hardware for that,&lt;/P&gt;&lt;P&gt;1. In MCL component -&amp;gt; LCU configuration what are the configuration need to be changed?&amp;nbsp; (for pin change)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ex: I need to change the pin from &lt;STRONG&gt;PTA3 to PTA0&lt;/STRONG&gt; and i configured pins in pin configuration &amp;amp; in peripherals port has been configured and then in &lt;STRONG&gt;Lcu how to configure that pin&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. which logic analyzer is used to measure the pwm signal from your side?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 09:19:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1990989#M9747</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-11-08T09:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1993066#M9749</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;To change the LCU output pins it is not easy(feasible), since all the Inputs/Outputs are tightly related to the existing LCU0 pins:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1731437169645.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310089i20E9151A7DC2FFEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1731437169645.png" alt="stefanvlad_2-1731437169645.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Instead, we can use TrgMux to re-route the &lt;STRONG&gt;PTA3&lt;/STRONG&gt; output to&amp;nbsp;&lt;STRONG&gt;PTA0,&lt;/STRONG&gt; there are multiple steps required:&lt;/P&gt;
&lt;P&gt;1. in the MCL Configuration , Trgmux Logic Instance, add input LCU0_LC0_OUT_I2:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1731436994058.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310086i743705CD02B110D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1731436994058.png" alt="stefanvlad_0-1731436994058.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. LCU Configuration, add an Lcu Logic Input, set to &lt;STRONG&gt;LCU_IP_MUX_SEL_LU_IN_2&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_3-1731437340855.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310091i34E91FC8DFBB4BE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_3-1731437340855.png" alt="stefanvlad_3-1731437340855.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;3. LCU Logic Output, add another ouput to LC_1, set to&amp;nbsp;&lt;STRONG&gt;LCU_IP_HW_OUTPUT_0&lt;/STRONG&gt; :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_4-1731437436087.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310094i15604CC0391A4027/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_4-1731437436087.png" alt="stefanvlad_4-1731437436087.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4. In the Simulink model, Initialize Function we need to add another &lt;STRONG&gt;MCL_LCU Output&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_5-1731437557652.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310095iD5FF712C26317984/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_5-1731437557652.png" alt="stefanvlad_5-1731437557652.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have updated the model with &lt;STRONG&gt;PWM_FastUpdate&lt;/STRONG&gt; functions, that can be used(applied) also in your original model that used &lt;STRONG&gt;Software Trigger&lt;/STRONG&gt;, to improve the update time, in my model this takes around &lt;STRONG&gt;7us&lt;/STRONG&gt; to update &lt;STRONG&gt;2 PWM&lt;/STRONG&gt; channels:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_8-1731438119981.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310102i94BF74EF435147C0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_8-1731438119981.png" alt="stefanvlad_8-1731438119981.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Visualize the results with the logic analyzer(Saleae Logic 8 or others from ebay/Aliexp) using the Logic2 software:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_6-1731437774328.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310100iE0EB1499354F2CDE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_6-1731437774328.png" alt="stefanvlad_6-1731437774328.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Also i have update the FreeMASTER model, so now it can change both Duty cycles and same Period:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_7-1731437885339.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310101iAD335AD20160D0F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_7-1731437885339.png" alt="stefanvlad_7-1731437885339.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is all from my side, you can find the updated model in the archive: &lt;STRONG&gt;s32k312_pwm_lcu_mod_carrier_s32ct&lt;/STRONG&gt;.zip&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_9-1731438229164.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310103i47A0D30234C7D34E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_9-1731438229164.png" alt="stefanvlad_9-1731438229164.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;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 19:13:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1993066#M9749</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-11-12T19:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1995720#M9763</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the update.&lt;/P&gt;&lt;P&gt;we have checked the model and its output pwm pulse in&amp;nbsp;&lt;SPAN&gt;Saleae Logic 8&amp;nbsp;(logic analyzer)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we can be able to see the pulses and checked that the&amp;nbsp;delay is reduced but we have an issue is that the pulse inside the Carrier (i.e., the modulator pulse in PTD2 &amp;amp; PTA0) is changing like keep on running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have attached the video of the pulses that we captured using logic analyzer and its logic analyzer file with this post.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we have tried giving different duty cycle and period for both the pulses, but we are facing that issue (modulator pulse is running).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kindly help us to resolve this issue &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; regards,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Vijay&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:12:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1995720#M9763</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-11-16T04:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1996919#M9771</link>
      <description>&lt;P&gt;Hello Nxp team,&lt;/P&gt;&lt;P&gt;We are also working in Pwm_trigmux_lcu to generate the pwm pulse in Lcu pins.&lt;/P&gt;&lt;P&gt;And we have checked the model given by nxp team "&lt;SPAN&gt;s32k312_pwm_lcu_mod_carrier_s32ct.zip" and we have also used 'PTA0' as the High side pin&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but we need to configure the 'PTC10' pin as the Low side pin, but we can't be able to see the waveform in Ptc 10 pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we have attached the photos by steps of which we configured.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Step-1: Pin configuration&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MN_TL_24_0-1731999687067.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311170iD072515B8013D201/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MN_TL_24_0-1731999687067.png" alt="MN_TL_24_0-1731999687067.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-2: Pin config in port driver&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MN_TL_24_1-1731999717746.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311171i0EFF1CE76A120130/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MN_TL_24_1-1731999717746.png" alt="MN_TL_24_1-1731999717746.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-3: Pwm driver configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MN_TL_24_2-1731999753141.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311172i78E426A51630E139/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MN_TL_24_2-1731999753141.png" alt="MN_TL_24_2-1731999753141.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MN_TL_24_3-1731999761421.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311173iD575780E1D5B1741/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MN_TL_24_3-1731999761421.png" alt="MN_TL_24_3-1731999761421.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-4: Trigmux configuration for Ptc10 (Lcu1_out11)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MN_TL_24_4-1731999794773.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311174i7D2A743CD776D6FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MN_TL_24_4-1731999794773.png" alt="MN_TL_24_4-1731999794773.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-5: Lcu_instance configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MN_TL_24_5-1731999870145.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311175i8C14D0B95D853F62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MN_TL_24_5-1731999870145.png" alt="MN_TL_24_5-1731999870145.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-6: Lcu logic input config&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MN_TL_24_6-1731999904508.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311176iB45C2DF9198BD307/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MN_TL_24_6-1731999904508.png" alt="MN_TL_24_6-1731999904508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-7: Lcu logic output configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MN_TL_24_7-1731999930115.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311178i93DC7EABDE236D41/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MN_TL_24_7-1731999930115.png" alt="MN_TL_24_7-1731999930115.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Kindly check this configuration, we think that we have made some small mistake in this.&lt;/P&gt;&lt;P&gt;We want to generate High side pwm pulse in "PTA0" - this is ok&lt;/P&gt;&lt;P&gt;and Low side PWM pulse in "PTC10" - this we tried but the waveform is not able to view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;MN_TL&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 07:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1996919#M9771</guid>
      <dc:creator>MN_TL_24</dc:creator>
      <dc:date>2024-11-19T07:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1998177#M9778</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;This is normal , since the Logic Analyzer software is plotting the captured samples in a increasing time domain on the X axis.&lt;/P&gt;
&lt;P&gt;The effect you are seeing in the video , i think it is due to aliasing in between the captured PWM frequency, the Logic software rendering and the display refresh rate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only issue i could find is regarding the PWM frequency:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1732126556146.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311495iE7F3E6218AE01C6B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1732126556146.png" alt="stefanvlad_0-1732126556146.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But this is due to PWM generation based on the PLL jitter, there is information about this jitter in the&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/data-sheet/S32K3xx.pdf" target="_blank"&gt;S32K3xx Data Sheet&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1732126667330.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311496i55B7A436CC60A75A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1732126667330.png" alt="stefanvlad_1-1732126667330.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Since the PLL clock is generating the CORE_CLK that goes into EMIOS_CLK that generates the PWM signals, according to this diagram:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1732126722563.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311497iAC6A11EC1745BE0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="stefanvlad_2-1732126722563.png" alt="stefanvlad_2-1732126722563.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this answered your questions,&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 18:23:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1998177#M9778</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-11-20T18:23:27Z</dc:date>
    </item>
    <item>
      <title>Pwm_Icu_pin_config_issue</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2002925#M9821</link>
      <description>&lt;P&gt;Hello Nxp Team,&lt;/P&gt;&lt;P&gt;Currently we are working in Pwm pulse generation using Lcu &amp;amp; Trigmux with the help of&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1995720#M9763" target="_blank"&gt;Re: Pwm_delay_in_trigger_pulse - NXP Community&lt;/A&gt;&amp;nbsp;this post.&lt;/P&gt;&lt;P&gt;We want to route the&lt;STRONG&gt; "PTA3"&lt;/STRONG&gt; pin which pwm is already generated by Lcu configuration to &lt;STRONG&gt;"PTC10"&amp;nbsp;&lt;/STRONG&gt;pin by Lcu configuration.&lt;/P&gt;&lt;P&gt;But we are trying to configure the PTC10 pin (LCU1_out11) in LCU configuration and trying to generate pwm pulse. But we are unable to generate pulse in that pin. Here by, we are attached the file and steps that we are configured.&lt;/P&gt;&lt;P&gt;Step-1: Pin configuration for PTC-10 pin.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_0-1732715275333.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312874i0B13797775D1AD12/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_0-1732715275333.png" alt="Vijay98_0-1732715275333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Step-2: Port configuration for Ptc10 pin.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_1-1732715453267.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312875iED5778B0142967FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_1-1732715453267.png" alt="Vijay98_1-1732715453267.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-3: Pwm peripheral configuration for PTC-10&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_2-1732715510985.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312878i1E6C68F652147495/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_2-1732715510985.png" alt="Vijay98_2-1732715510985.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_3-1732715524321.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312879i4970309662F1A813/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_3-1732715524321.png" alt="Vijay98_3-1732715524321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-4: Trigmux configuration for Ptc10 - LCU1_out11&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_4-1732715577831.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312880i12637171241189B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_4-1732715577831.png" alt="Vijay98_4-1732715577831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-5: Lcu configuration- lcu logic instance config&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_5-1732715627968.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312881i20F1BDEC3B2705A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_5-1732715627968.png" alt="Vijay98_5-1732715627968.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-6: Lcu configuration - Lcu input&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_6-1732715660529.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312882iF39FFE6097CEA844/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_6-1732715660529.png" alt="Vijay98_6-1732715660529.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-7: Lcu configuration - Lcu output&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_7-1732715691206.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312883iFD7883BD0B8C1878/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_7-1732715691206.png" alt="Vijay98_7-1732715691206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-8: In model -&amp;gt; initialize system -&amp;gt; configured Mcl output state - 4&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_8-1732715733740.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312884i6E2D9439D0377BB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_8-1732715733740.png" alt="Vijay98_8-1732715733740.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help to check this configuration for routing the Lcu output of 'PTA3' pwm to 'PTC10' pin with LCU configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help us to resolve this issue.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/199423"&gt;@dragostoma&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;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221383"&gt;@Adrian_Gherca&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229388"&gt;@DrKarthi&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226537"&gt;@Kavin_raj_mbd&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 14:06:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2002925#M9821</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-11-27T14:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2003791#M9822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/233667" target="_blank"&gt;@MN_TL_24&lt;/A&gt;&amp;nbsp;,&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;Thank you for reading the post on:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/1993066/highlight/true#M9749" target="_blank" rel="noopener"&gt;Re: Pwm_delay_in_trigger_pulse - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The pinout configuration in that thread is for enabling the Logic&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Cell 0&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with it's corresponding pins.&lt;/P&gt;
&lt;P&gt;Unfortunately, the pin PTC10 is tied to another Logic&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Cell 1&lt;/STRONG&gt;, Output&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;11&lt;/STRONG&gt;, namely&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;LC1_Out11&lt;/STRONG&gt;, as state in the Pin Manager:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1732802557969.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313143i7BDB6A2EC2B922CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1732802557969.png" alt="stefanvlad_0-1732802557969.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What output pin from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;LCU0&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;do you want to generate on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PTC10&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pin? From my understanding you want to output PWM_Modulator from&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PTD2&amp;nbsp;&lt;/STRONG&gt;on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PTC10&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We can check what options we have for that PTC10 in Pin Manager, there is an option for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;emios_0_ch6&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1732802558139.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313145iB2AEAB1477CE678E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1732802558139.png" alt="stefanvlad_1-1732802558139.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;We can use it as this and add another eMIOS channel in PWM driver,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;EMIOS_0&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;CH_6&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_2-1732802558540.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313144i78955F9CE7B33889/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_2-1732802558540.png" alt="stefanvlad_2-1732802558540.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then we add another PWM channel:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_3-1732802558189.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313147iA8AE36FF75CB0A53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_3-1732802558189.png" alt="stefanvlad_3-1732802558189.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then we need to enable it in Port peripheral:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_4-1732802558073.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313146i76E884CD4A630CD3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_4-1732802558073.png" alt="stefanvlad_4-1732802558073.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After this we need to Update Code and save configuration, and modify the Model to update Duty+Period on the new channel:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_5-1732802558185.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313148i2E5A5A881A48F1FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_5-1732802558185.png" alt="stefanvlad_5-1732802558185.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Save the model and Build , and program the board, we get the new eMIOS&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PWMC_Modulator&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;on the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PTC10&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pin:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_6-1732802557917.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313149iC6CFFD38DFBE5C7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_6-1732802557917.png" alt="stefanvlad_6-1732802557917.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this solves your questions,&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 14:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2003791#M9822</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-11-28T14:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2006599#M9834</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your support.&lt;/P&gt;&lt;P&gt;But in fast update method, when we give our period and duty cycle value to generate pwm signal the output signal is much different from what we expected.&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;1. I want to generate pwm pulse for frequency - &lt;STRONG&gt;25 Hz &lt;/STRONG&gt;for that &lt;STRONG&gt;period value is 1176 (Core clock - 120MHz, Clock divider value is 255 and internal prescalar value is 16)&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;Duty cycle is 16784 (50% duty cycle).&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;with those period and duty cycle value given to &lt;STRONG&gt;fast update block, &lt;/STRONG&gt;the &lt;STRONG&gt;output pulse is with different frequency and different duty cycle.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. And want to generate pwm pulse for frequency - &lt;STRONG&gt;1000 Hz &lt;/STRONG&gt;for that &lt;STRONG&gt;period value is 29(Core clock - 120MHz, Clock divider value is 255 and internal prescalar value is 16)&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;Duty cycle is 31129(95% duty cycle).&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;with those period and duty cycle value given to &lt;STRONG&gt;fast update block, &lt;/STRONG&gt;the &lt;STRONG&gt;output pulse is with different frequency and different duty cycle.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the Pins we are using PTA0 &amp;amp; PTC10, in that pins we can be able to see the output waveform with different frequency &amp;amp; different duty cycle.&amp;nbsp;&lt;/P&gt;&lt;P&gt;and&amp;nbsp;&lt;SPAN&gt;we need to configure the 'PTC10' pin as the Low side pin with lcu configuration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;we have attached the photos by steps of which we configured.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Step-1: Pin configuration&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_0-1733286929488.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313904iC901BE827AFEB967/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_0-1733286929488.png" alt="Vijay98_0-1733286929488.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-2: Pin config in port driver&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_1-1733286929217.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313905i811C5E8FF08196AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_1-1733286929217.png" alt="Vijay98_1-1733286929217.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-3: Pwm driver configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_2-1733286929646.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313906i66452306BB00772C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_2-1733286929646.png" alt="Vijay98_2-1733286929646.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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_3-1733286929440.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313907i7676F65D7D678C45/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_3-1733286929440.png" alt="Vijay98_3-1733286929440.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-4: Trigmux configuration for Ptc10 (Lcu1_out11)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_4-1733286929278.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313909i18BF56C64FE47A7B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_4-1733286929278.png" alt="Vijay98_4-1733286929278.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-5: Lcu_instance configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_5-1733286929538.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313908i8325AD253A2CFD52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_5-1733286929538.png" alt="Vijay98_5-1733286929538.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-6: Lcu logic input config&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_6-1733286929696.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313910i09A0E56EB6F17D06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_6-1733286929696.png" alt="Vijay98_6-1733286929696.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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step-7: Lcu logic output configuration&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_7-1733286929685.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/313911iB8F2B2027AF62590/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_7-1733286929685.png" alt="Vijay98_7-1733286929685.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;Kindly check this configuration, we think that we have made some small mistake in this.&lt;/P&gt;&lt;P&gt;We want to generate High side pwm pulse in "PTA0" - this is ok&lt;/P&gt;&lt;P&gt;and Low side PWM pulse in "PTC10" - this we tried but the waveform is not able to view without &lt;STRONG&gt;fast update method.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Kindly help us with this configuration.&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 04:37:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2006599#M9834</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-12-04T04:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2009083#M9836</link>
      <description>&lt;P&gt;Hello nxp ,&lt;/P&gt;&lt;P&gt;Any update on this Lcu pin configuration&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly help us on this issue&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 11:15:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2009083#M9836</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-12-06T11:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2010344#M9840</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;Can you repost the images? since they are very low resolution and cannot be read properly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the PTC10 output,&amp;nbsp;I have already given the solution and required steps in this post &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2003791/highlight/true#M9822" target="_blank"&gt;Re: 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 am able to generate the &lt;STRONG&gt;PWM_Modulator&lt;/STRONG&gt; frequency of 1000Hz (1kHz) using the &lt;STRONG&gt;Period&lt;/STRONG&gt; = &lt;STRONG&gt;7270 :&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1733763433340.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/314885i966A46AF12696787/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1733763433340.png" alt="stefanvlad_0-1733763433340.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And for &lt;STRONG&gt;Period&lt;/STRONG&gt; = &lt;STRONG&gt;43500&lt;/STRONG&gt; i was able to get&amp;nbsp;&lt;STRONG&gt;PWM_Modulator&lt;/STRONG&gt; frequency to 167Hz:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_1-1733763983268.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/314887iCB7EA1F0A6629A71/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_1-1733763983268.png" alt="stefanvlad_1-1733763983268.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But for even lower frequency you need to modify the PWM configuration for both PWM channels in order to keep that 11x times frequency in between them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 17:08:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2010344#M9840</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-12-09T17:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Pwm_delay_in_trigger_pulse</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2011000#M9843</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203341"&gt;@stefanvlad&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the update and we have checked with that configuration.&lt;/P&gt;&lt;P&gt;1. With fast update method that you provided is that &lt;STRONG&gt;we have an issue in generating low side pulse in PTC10 pin.&amp;nbsp;&lt;/STRONG&gt;Kindly check the video uploaded with this post.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_2-1733827424686.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315062i835256416F9BF2F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_2-1733827424686.png" alt="Vijay98_2-1733827424686.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. That &lt;STRONG&gt;we have a low side pulse already generated in PTA3 pin and we have to change that output to PTC10 pin (low side pulse).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vijay98_1-1733827048319.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/315060iD3DC3B3550DF2F5B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vijay98_1-1733827048319.png" alt="Vijay98_1-1733827048319.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For that we need help with configuration to generate the low side pulse in PTC10 pin.&lt;/P&gt;&lt;P&gt;Kindly help us with this,&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 10:52:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pwm-delay-in-trigger-pulse/m-p/2011000#M9843</guid>
      <dc:creator>Vijay98</dc:creator>
      <dc:date>2024-12-10T10:52:56Z</dc:date>
    </item>
  </channel>
</rss>

