<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Model-Based Design Toolbox (MBDT)のトピックRe: Pin configuration on the new MBDT version (1.5.0)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1923803#M9351</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186237"&gt;@Alfredo_Rubio&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I highly recommend you check out the&amp;nbsp;&lt;STRONG&gt;Release Notes&lt;/STRONG&gt; of the latest release, version &lt;STRONG&gt;1.5.0&lt;/STRONG&gt;.&amp;nbsp;I will summarize the new approach between &lt;STRONG&gt;Port&lt;/STRONG&gt; and &lt;STRONG&gt;Pins&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;The toolbox offers support for configuring the on-board pins using the &lt;STRONG&gt;Port&lt;/STRONG&gt; &lt;STRONG&gt;component&lt;/STRONG&gt;, from the &lt;EM&gt;&lt;STRONG&gt;Peripherals&lt;/STRONG&gt; &lt;STRONG&gt;Tool&lt;/STRONG&gt;&lt;/EM&gt;, together with the &lt;STRONG&gt;&lt;EM&gt;Pins Tool&lt;/EM&gt;&lt;/STRONG&gt;. The two &lt;STRONG&gt;must be used together&lt;/STRONG&gt; as required by the implementation of the RTD (Real-Time Drivers) package that MBDT integrates. The configuration of the pins must be made according to the following information:&lt;/P&gt;
&lt;P&gt;For each functional group inside the &lt;STRONG&gt;&lt;EM&gt;Pins Tool&lt;/EM&gt;&lt;/STRONG&gt;, a Port container must be configured inside the &lt;STRONG&gt;Port&lt;/STRONG&gt; &lt;STRONG&gt;component&lt;/STRONG&gt;. Please see the screenshots below, the first one taken from the Pins Tool, and the second one from the Port component configuration inside the &lt;EM&gt;&lt;STRONG&gt;Peripherals Tool&lt;/STRONG&gt;&lt;/EM&gt; of a .mex file.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1722586205998.png" style="width: 756px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291647iDEFEC41559BDFF55/image-dimensions/756x391?v=v2" width="756" height="391" role="button" title="dragostoma_0-1722586205998.png" alt="dragostoma_0-1722586205998.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="dragostoma_1-1722586227530.png" style="width: 797px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291648i91F8FABE8328E90B/image-dimensions/797x608?v=v2" width="797" height="608" role="button" title="dragostoma_1-1722586227530.png" alt="dragostoma_1-1722586227530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;By inserting the &lt;STRONG&gt;PortPin Mscr&lt;/STRONG&gt; inside the &lt;STRONG&gt;PortPin&lt;/STRONG&gt; configuration, the settings inside the Port component for that particular pin will be automatically populated as configured inside the &lt;EM&gt;&lt;STRONG&gt;Pins Tool&lt;/STRONG&gt;&lt;/EM&gt;. The name of the &lt;EM&gt;&lt;STRONG&gt;Pins Tool&lt;/STRONG&gt;&lt;/EM&gt; functional group must respect the following convention: &lt;STRONG&gt;PortContainer Name + ‘_MBDT’, ‘MBDT’&lt;/STRONG&gt; representing the name of the Functional Group from the &lt;EM&gt;&lt;STRONG&gt;Peripherals Tool&lt;/STRONG&gt;&lt;/EM&gt;, where all the components of the project are configured.&lt;/P&gt;
&lt;P&gt;Please check one of the default configurations provided inside the toolbox for an example on how &lt;STRONG&gt;Port&lt;/STRONG&gt; and &lt;STRONG&gt;Pins&lt;/STRONG&gt; must be configured.&lt;/P&gt;
&lt;P&gt;Additionally, you can find information related to &lt;STRONG&gt;Pins&lt;/STRONG&gt; and &lt;STRONG&gt;Port&lt;/STRONG&gt; tab in &lt;STRONG&gt;S32 Configuration Tool&lt;/STRONG&gt; at the following &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT1-5-DIO-and-PWM-not-working/m-p/1895947/highlight/true#M9269" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Community thread link&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us know if you have other issues.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;</description>
    <pubDate>Fri, 02 Aug 2024 08:14:02 GMT</pubDate>
    <dc:creator>dragostoma</dc:creator>
    <dc:date>2024-08-02T08:14:02Z</dc:date>
    <item>
      <title>Pin configuration on the new MBDT version (1.5.0)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1923737#M9349</link>
      <description>&lt;P&gt;We are migrating our development to the new version MBDT for S32K3 family (1.5.0).&lt;/P&gt;&lt;P&gt;We need to configure some pins for different functions such as LCU output and found that the new version of the S32config tools (1.7) doesn’t works as the previous one.&lt;/P&gt;&lt;P&gt;We the that under the MCAL group a new PORT group has been created and the old SIUL2-PORT under DRIVERS has been removed. In the previous version whenever a new pin is added in the PIN VIEW. The PORT group configuration is not updated.&lt;/P&gt;&lt;P&gt;What is the right procedure to add or change a pin configuration in this new version.&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 07:08:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1923737#M9349</guid>
      <dc:creator>Alfredo_Rubio</dc:creator>
      <dc:date>2024-08-02T07:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pin configuration on the new MBDT version (1.5.0)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1923803#M9351</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186237"&gt;@Alfredo_Rubio&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I highly recommend you check out the&amp;nbsp;&lt;STRONG&gt;Release Notes&lt;/STRONG&gt; of the latest release, version &lt;STRONG&gt;1.5.0&lt;/STRONG&gt;.&amp;nbsp;I will summarize the new approach between &lt;STRONG&gt;Port&lt;/STRONG&gt; and &lt;STRONG&gt;Pins&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;The toolbox offers support for configuring the on-board pins using the &lt;STRONG&gt;Port&lt;/STRONG&gt; &lt;STRONG&gt;component&lt;/STRONG&gt;, from the &lt;EM&gt;&lt;STRONG&gt;Peripherals&lt;/STRONG&gt; &lt;STRONG&gt;Tool&lt;/STRONG&gt;&lt;/EM&gt;, together with the &lt;STRONG&gt;&lt;EM&gt;Pins Tool&lt;/EM&gt;&lt;/STRONG&gt;. The two &lt;STRONG&gt;must be used together&lt;/STRONG&gt; as required by the implementation of the RTD (Real-Time Drivers) package that MBDT integrates. The configuration of the pins must be made according to the following information:&lt;/P&gt;
&lt;P&gt;For each functional group inside the &lt;STRONG&gt;&lt;EM&gt;Pins Tool&lt;/EM&gt;&lt;/STRONG&gt;, a Port container must be configured inside the &lt;STRONG&gt;Port&lt;/STRONG&gt; &lt;STRONG&gt;component&lt;/STRONG&gt;. Please see the screenshots below, the first one taken from the Pins Tool, and the second one from the Port component configuration inside the &lt;EM&gt;&lt;STRONG&gt;Peripherals Tool&lt;/STRONG&gt;&lt;/EM&gt; of a .mex file.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_0-1722586205998.png" style="width: 756px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291647iDEFEC41559BDFF55/image-dimensions/756x391?v=v2" width="756" height="391" role="button" title="dragostoma_0-1722586205998.png" alt="dragostoma_0-1722586205998.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="dragostoma_1-1722586227530.png" style="width: 797px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291648i91F8FABE8328E90B/image-dimensions/797x608?v=v2" width="797" height="608" role="button" title="dragostoma_1-1722586227530.png" alt="dragostoma_1-1722586227530.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;By inserting the &lt;STRONG&gt;PortPin Mscr&lt;/STRONG&gt; inside the &lt;STRONG&gt;PortPin&lt;/STRONG&gt; configuration, the settings inside the Port component for that particular pin will be automatically populated as configured inside the &lt;EM&gt;&lt;STRONG&gt;Pins Tool&lt;/STRONG&gt;&lt;/EM&gt;. The name of the &lt;EM&gt;&lt;STRONG&gt;Pins Tool&lt;/STRONG&gt;&lt;/EM&gt; functional group must respect the following convention: &lt;STRONG&gt;PortContainer Name + ‘_MBDT’, ‘MBDT’&lt;/STRONG&gt; representing the name of the Functional Group from the &lt;EM&gt;&lt;STRONG&gt;Peripherals Tool&lt;/STRONG&gt;&lt;/EM&gt;, where all the components of the project are configured.&lt;/P&gt;
&lt;P&gt;Please check one of the default configurations provided inside the toolbox for an example on how &lt;STRONG&gt;Port&lt;/STRONG&gt; and &lt;STRONG&gt;Pins&lt;/STRONG&gt; must be configured.&lt;/P&gt;
&lt;P&gt;Additionally, you can find information related to &lt;STRONG&gt;Pins&lt;/STRONG&gt; and &lt;STRONG&gt;Port&lt;/STRONG&gt; tab in &lt;STRONG&gt;S32 Configuration Tool&lt;/STRONG&gt; at the following &lt;A href="https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/MBDT1-5-DIO-and-PWM-not-working/m-p/1895947/highlight/true#M9269" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Community thread link&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us know if you have other issues.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 08:14:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1923803#M9351</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-08-02T08:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pin configuration on the new MBDT version (1.5.0)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1923914#M9352</link>
      <description>&lt;P&gt;Thanks for the information.&amp;nbsp; Now we are able to configure the pins in the correct way&lt;/P&gt;&lt;P&gt;We have an additional problem that is that PWM periode is not updated. All PWM outputs are frozen to the default DT configured in the ConfigTool.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are unsing EMIOS0 channels 1 and 2.&lt;/P&gt;&lt;P&gt;Do you have any idea on this subject.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 10:18:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1923914#M9352</guid>
      <dc:creator>Alfredo_Rubio</dc:creator>
      <dc:date>2024-08-02T10:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pin configuration on the new MBDT version (1.5.0)</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1924008#M9354</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/186237"&gt;@Alfredo_Rubio&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I am glad that you managed to correctly configure the Port and Pins flow.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now related to the problem with the PWM period, in the toolbox there is a model that addresses the modification of both the Duty Cycle and the Period:&amp;nbsp;&lt;STRONG&gt;s32k344_pwm_independent_ebt&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;The model has 2 PWM channels with a variable &lt;STRONG&gt;Duty Cycle&lt;/STRONG&gt; and &lt;STRONG&gt;Period&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_3-1722599609844.png" style="width: 907px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291711i2BB3D83A80A35D94/image-dimensions/907x356?v=v2" width="907" height="356" role="button" title="dragostoma_3-1722599609844.png" alt="dragostoma_3-1722599609844.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The results will look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_4-1722599640630.png" style="width: 1182px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291712i00882CDAAE76BA80/image-dimensions/1182x133?v=v2" width="1182" height="133" role="button" title="dragostoma_4-1722599640630.png" alt="dragostoma_4-1722599640630.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when you change the &lt;STRONG&gt;Period&lt;/STRONG&gt; of the &lt;STRONG&gt;PwmChannel_0&lt;/STRONG&gt; to &lt;STRONG&gt;4000&lt;/STRONG&gt;, as in the following picture:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_5-1722599675691.png" style="width: 1113px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291713i00785E158390B2E3/image-dimensions/1113x473?v=v2" width="1113" height="473" role="button" title="dragostoma_5-1722599675691.png" alt="dragostoma_5-1722599675691.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The results will look like this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dragostoma_1-1722599462033.png" style="width: 1369px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291709i2677D07CAAE8B893/image-dimensions/1369x156?v=v2" width="1369" height="156" role="button" title="dragostoma_1-1722599462033.png" alt="dragostoma_1-1722599462033.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By changing the value of the period in the second case, the signal parameters change can be observed. Following the example of this model, you can change the period of the signals configured in your application.&lt;/P&gt;
&lt;P&gt;I recommend you to try this approach of using the period change of a PWM signal. Let us know if there are any problems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Dragos&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 12:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Pin-configuration-on-the-new-MBDT-version-1-5-0/m-p/1924008#M9354</guid>
      <dc:creator>dragostoma</dc:creator>
      <dc:date>2024-08-02T12:18:42Z</dc:date>
    </item>
  </channel>
</rss>

