<?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: How can I configure FTM_PWM_Config block? in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055727#M4482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/utkuckmgl@gmail.com"&gt;utkuckmgl@gmail.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You&amp;nbsp;will have to connect with a wire the output of the PWM to the LED you want to control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jul 2020 14:22:35 GMT</pubDate>
    <dc:creator>constantinrazva</dc:creator>
    <dc:date>2020-07-16T14:22:35Z</dc:date>
    <item>
      <title>How can I configure FTM_PWM_Config block?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055722#M4477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with FTM_PWM_Config block in simulink. When I try to add FTM_PWM_Config block from library to my simulink model, program is freezing and in Matlab Command Window thousand of this message type; Failure in mbd_s32k_isr_priority_cbk: Index exceeds the number of array elements (0). I waited about 8-10 minutes and block has added to my model but this time I can not change source clock or output pin configurations of block. How can I fix this problems?&lt;span class="lia-inline-image-display-wrapper" image-alt="FTM_PWM_block_fail.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116063i4F0AF2B5C2E06BB2/image-size/large?v=v2&amp;amp;px=999" role="button" title="FTM_PWM_block_fail.PNG" alt="FTM_PWM_block_fail.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="OutputSignalFail.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116064iB95250B4AE946908/image-size/large?v=v2&amp;amp;px=999" role="button" title="OutputSignalFail.PNG" alt="OutputSignalFail.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="SourceClockFail.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116065i70BF8A8094121CE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="SourceClockFail.PNG" alt="SourceClockFail.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 12:55:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055722#M4477</guid>
      <dc:creator>utkuckmgl</dc:creator>
      <dc:date>2020-07-16T12:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure FTM_PWM_Config block?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055723#M4478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/utkuckmgl@gmail.com"&gt;utkuckmgl@gmail.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to first add the main configuration block into your model, then put any other blocks. It should have shown a message warning you for this instead of the rest of the errors you get - I will investigate and fix it for the next release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reporting this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116069i610333A1517CA94A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:29:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055723#M4478</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-07-16T13:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure FTM_PWM_Config block?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055724#M4479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hello&amp;nbsp;&lt;/SPAN&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="298737" data-objecttype="3" href="https://community.nxp.com/people/constantinrazvan.chivu" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Constantin Razvan Chivu&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, this works, thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:34:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055724#M4479</guid>
      <dc:creator>utkuckmgl</dc:creator>
      <dc:date>2020-07-16T13:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure FTM_PWM_Config block?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055725#M4480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/utkuckmgl@gmail.com"&gt;utkuckmgl@gmail.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;constantinrazvan.chivu&lt;/A&gt;&amp;nbsp;is right.&lt;/P&gt;&lt;P&gt;I also think that before starting developing your model from scratch, you should have a look&amp;nbsp;at&amp;nbsp;one of our examples delivered with the toolbox. Based on your screenshot, the &lt;STRONG&gt;ftm_complementary_pwm_s32k14x.mdl&lt;/STRONG&gt; is the closest to your scenario.&lt;/P&gt;&lt;P&gt;Try running up this and see if you have any errors.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116070i53220991E222D501/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 13:38:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055725#M4480</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-07-16T13:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure FTM_PWM_Config block?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055726#M4481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello &lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #646464; "&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; color: #646464; "&gt;I could run up this example and has no problem, thank you both &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;constantinrazvan.chivu&lt;/A&gt;&amp;nbsp;and &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;. But I have one more issue. I want to control LED with potentiometer. I'm using S32k148 development kit and as I read from datasheet, PTE21-22-23 are the LED pins. I modelled a design as below, I chose&amp;nbsp;pot pin(PTC28) for ADC input but I can't choose LED pins for FTM_PWM_Config output pin. Dropdown items are PTB14,PTC2 and PTD0, include none of LED pins. Can you also help me for this?&lt;span class="lia-inline-image-display-wrapper" image-alt="Ftm_Pwm_Config.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116080iBA0B4981DD8B2741/image-size/large?v=v2&amp;amp;px=999" role="button" title="Ftm_Pwm_Config.PNG" alt="Ftm_Pwm_Config.PNG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG class="" style="color: #646464; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 0px 0px 0px 30px;"&gt;&lt;SPAN class="" style="border: 0px; font-weight: inherit; font-size: 18.004px;"&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 14:17:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055726#M4481</guid>
      <dc:creator>utkuckmgl</dc:creator>
      <dc:date>2020-07-16T14:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure FTM_PWM_Config block?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055727#M4482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/utkuckmgl@gmail.com"&gt;utkuckmgl@gmail.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You&amp;nbsp;will have to connect with a wire the output of the PWM to the LED you want to control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 14:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055727#M4482</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2020-07-16T14:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure FTM_PWM_Config block?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055728#M4483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/constantinrazvan.chivu"&gt;constantinrazvan.chivu&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to&amp;nbsp;control directly internal LED on chip, that's why I thought that I need to configure the output of FTM_PWM_Config output to internal LED pin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 14:37:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055728#M4483</guid>
      <dc:creator>utkuckmgl</dc:creator>
      <dc:date>2020-07-16T14:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure FTM_PWM_Config block?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055729#M4484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/utkuckmgl@gmail.com"&gt;utkuckmgl@gmail.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the S32K148 there are 8 modules of FTM and output pins differs for each instance. So, if you need to choose the PE21,PE22 and PE23, you have to change the PWM module&amp;nbsp;from module 0 to module 4.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116106iAA8012A22626361B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now, if you enable the first two pairs, (0-1) and (2-3) You will be able to directly select the required pins.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/116107i72320149AFB847B7/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Marius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2020 18:41:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055729#M4484</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2020-07-16T18:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I configure FTM_PWM_Config block?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055730#M4485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/mariuslucianandrei"&gt;mariuslucianandrei&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for this information, it's very clear, I'm appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2020 05:31:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-can-I-configure-FTM-PWM-Config-block/m-p/1055730#M4485</guid>
      <dc:creator>utkuckmgl</dc:creator>
      <dc:date>2020-07-17T05:31:35Z</dc:date>
    </item>
  </channel>
</rss>

