<?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)のトピックS32K396 Change sampling &amp;amp; switching frequency</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K396-Change-sampling-amp-switching-frequency/m-p/1988657#M9741</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using S32K396-BGA-DC1 board, with Simulink in matlab2024a. I am working on the S32K396_MBDT_BASED_MC_0_9_0 Motor Control Example Project.&lt;BR /&gt;&lt;BR /&gt;In my setup I have the nxp connected with a HIL-RT hardware emulating the power stage and a motor.&lt;/P&gt;&lt;P&gt;I would like to change the sampling &amp;amp; switching frequency relationship. I found that the Fsam = 0.5 Fsw. So when I change the period on the pwm channel - Fsw (fig 1), Fsam change in the same way.&lt;BR /&gt;&lt;BR /&gt;Where can I set up this? I would like to be able to do Fsam = Fsw and Fsam = 2Fsw&lt;BR /&gt;&lt;BR /&gt;Moreover, modifying this, should I change the configuration somewhere for the resolver also?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks, Agustin.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 06 Nov 2024 08:44:10 GMT</pubDate>
    <dc:creator>agus_idiada</dc:creator>
    <dc:date>2024-11-06T08:44:10Z</dc:date>
    <item>
      <title>S32K396 Change sampling &amp; switching frequency</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K396-Change-sampling-amp-switching-frequency/m-p/1988657#M9741</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using S32K396-BGA-DC1 board, with Simulink in matlab2024a. I am working on the S32K396_MBDT_BASED_MC_0_9_0 Motor Control Example Project.&lt;BR /&gt;&lt;BR /&gt;In my setup I have the nxp connected with a HIL-RT hardware emulating the power stage and a motor.&lt;/P&gt;&lt;P&gt;I would like to change the sampling &amp;amp; switching frequency relationship. I found that the Fsam = 0.5 Fsw. So when I change the period on the pwm channel - Fsw (fig 1), Fsam change in the same way.&lt;BR /&gt;&lt;BR /&gt;Where can I set up this? I would like to be able to do Fsam = Fsw and Fsam = 2Fsw&lt;BR /&gt;&lt;BR /&gt;Moreover, modifying this, should I change the configuration somewhere for the resolver also?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks, Agustin.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Nov 2024 08:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K396-Change-sampling-amp-switching-frequency/m-p/1988657#M9741</guid>
      <dc:creator>agus_idiada</dc:creator>
      <dc:date>2024-11-06T08:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K396 Change sampling &amp; switching frequency</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K396-Change-sampling-amp-switching-frequency/m-p/1996881#M9770</link>
      <description>&lt;P&gt;Hi Agustin,&lt;/P&gt;
&lt;P&gt;In the demo, the MasterReload signal of the FlexPWM is used as the ADC trigger. For your requirement, please change the following item:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vincent_Deng_0-1731999268024.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311168i35D7D353DB574D81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vincent_Deng_0-1731999268024.png" alt="Vincent_Deng_0-1731999268024.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For more details please refer to the Reference Manual, Chapter eFlexPWM, register Submodule a Control(SM0_CTRL-SM3_CTRL).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vincent_Deng_0-1731999573769.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311169i6E5F33A021BEF860/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Vincent_Deng_0-1731999573769.png" alt="Vincent_Deng_0-1731999573769.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Vincent&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 07:00:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K396-Change-sampling-amp-switching-frequency/m-p/1996881#M9770</guid>
      <dc:creator>Vincent_Deng</dc:creator>
      <dc:date>2024-11-19T07:00:03Z</dc:date>
    </item>
  </channel>
</rss>

