<?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: Use Simulink to configure IOC and PWM in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Use-Simulink-to-configure-IOC-and-PWM/m-p/699523#M1133</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;The processor is S912ZVMC12F1MKH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Aug 2017 07:01:07 GMT</pubDate>
    <dc:creator>jacobtang</dc:creator>
    <dc:date>2017-08-18T07:01:07Z</dc:date>
    <item>
      <title>Use Simulink to configure IOC and PWM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Use-Simulink-to-configure-IOC-and-PWM/m-p/699521#M1131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. My customer wants to use SIMULINK configure IOC to capture PWM input signal of sensor, To calculate width of PWM, Anyone has the example project that can be provided? Thanks!&lt;/P&gt;&lt;P&gt;2. My customer want to use SIMULINK configure PWM as 2 complementary channels, But only one complemetary channel can ouput, However, It can successfully configured when based on EVB Board.&lt;/P&gt;&lt;P&gt;Anyone has the DEMO code or example code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Aug 2017 03:09:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Use-Simulink-to-configure-IOC-and-PWM/m-p/699521#M1131</guid>
      <dc:creator>jacobtang</dc:creator>
      <dc:date>2017-08-16T03:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Use Simulink to configure IOC and PWM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Use-Simulink-to-configure-IOC-and-PWM/m-p/699522#M1132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jacobtang"&gt;jacobtang&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;What is the processor/board the customer is targeting?&lt;/P&gt;&lt;P&gt;FYI, we have a similar example here:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/455511"&gt;https://community.nxp.com/thread/455511&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 06:35:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Use-Simulink-to-configure-IOC-and-PWM/m-p/699522#M1132</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-08-17T06:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use Simulink to configure IOC and PWM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Use-Simulink-to-configure-IOC-and-PWM/m-p/699523#M1133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/dumitru-daniel.popa"&gt;dumitru-daniel.popa&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;The processor is S912ZVMC12F1MKH.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 07:01:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Use-Simulink-to-configure-IOC-and-PWM/m-p/699523#M1133</guid>
      <dc:creator>jacobtang</dc:creator>
      <dc:date>2017-08-18T07:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Use Simulink to configure IOC and PWM</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Use-Simulink-to-configure-IOC-and-PWM/m-p/699524#M1134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/jacobtang"&gt;jacobtang&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this processor/family there is an example of using the Complementary 2 channel PWM here:&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-332664"&gt;Example Model: S12ZVM Trapezoidal Motor Control&lt;/A&gt;&amp;nbsp;within the S12ZVM_Trap_Ctrl - just change the processor type from the configuration block:&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/28633iCFD18B0C6EF78DBA/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;For the second aspect - CAPTURE PWM signal we do not have such example but a simple model can be implemented via the Hall_Sensor_Port Simulink Block. If the PWM signal i routed in such way to be feed to the appropriate digital input then the block will give the option to trigger any subsystem and/or get the time stamp associated with the input signal transitions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28925i3196786F4F33C286/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 11:23:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Use-Simulink-to-configure-IOC-and-PWM/m-p/699524#M1134</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-08-21T11:23:47Z</dc:date>
    </item>
  </channel>
</rss>

