<?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 TO USE Example Model: S12ZVM FOC Sensorless Motor Control in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741011#M1722</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/wangxuan"&gt;wangxuan&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The zip archive contains 2 Simulink models:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;S12ZVM_FOC_Sensorless.slx&lt;/SPAN&gt; which is configured to run on the real hardware via Code Generation and Download. This should be used to control the actual motors.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;FOC_Sensorless.slx&lt;/SPAN&gt; which is provided as addition resource to test the FOC algorithm computations in order to gain more knowledge in a simulation environment about the numerical computations needed sensorless motor control, controller, observers and position trackers.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference between the two models are the input and output blocks. The one that is designed to work on the real target contains blocks that initialize the specific peripherals. Those peripherals are not supported in simulation mode therefore their outputs will be zeros. Supposing you want to learn more about how the algorithm are working then, as you suggested, you could interface this model with the virtual motor and if you add the conversion to PWM Commands and Motor Phase Current Measurements then you could control such a motor in simulation environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, please note that&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;FOC_Sensorless.slx&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;could be also used in Processor-In-Loop mode to run the algorithm directly on the microprocessor in order to measure the execution time and/or check the algorithm numerical outputs.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Another way to use the&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;FOC_Sensorless.slx&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;could be to reuse the standard C-code generated and integrate that into a larger application developed with a specific IDE. You end-up with a standard C functions that could be easily re-use to control any other motors even on other targets different than S12ZVM.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hope this explanations&amp;nbsp;address all your concerns.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Daniel&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2017 07:49:03 GMT</pubDate>
    <dc:creator>Daniel_Popa</dc:creator>
    <dc:date>2017-11-28T07:49:03Z</dc:date>
    <item>
      <title>HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741010#M1721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I have downloaded the Example Model: S12ZVM FOC Sensorless Motor Control and can run in SIMULINK, but I do not know the effect of this simulation because it is not used with any other, no oscilloscopes, no click models and real objects. I want to know what is the purpose of building a simulation model in MATLAB, is it possible to control the motor directly? Or can we use virtual simulation software to simulate algorithms, such as control of virtual motors? Thanks,&amp;nbsp;best regards .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wangxuan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2017 14:31:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741010#M1721</guid>
      <dc:creator>wangxuan</dc:creator>
      <dc:date>2017-11-27T14:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741011#M1722</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/wangxuan"&gt;wangxuan&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The zip archive contains 2 Simulink models:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;S12ZVM_FOC_Sensorless.slx&lt;/SPAN&gt; which is configured to run on the real hardware via Code Generation and Download. This should be used to control the actual motors.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;FOC_Sensorless.slx&lt;/SPAN&gt; which is provided as addition resource to test the FOC algorithm computations in order to gain more knowledge in a simulation environment about the numerical computations needed sensorless motor control, controller, observers and position trackers.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference between the two models are the input and output blocks. The one that is designed to work on the real target contains blocks that initialize the specific peripherals. Those peripherals are not supported in simulation mode therefore their outputs will be zeros. Supposing you want to learn more about how the algorithm are working then, as you suggested, you could interface this model with the virtual motor and if you add the conversion to PWM Commands and Motor Phase Current Measurements then you could control such a motor in simulation environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, please note that&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;FOC_Sensorless.slx&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;could be also used in Processor-In-Loop mode to run the algorithm directly on the microprocessor in order to measure the execution time and/or check the algorithm numerical outputs.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Another way to use the&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;FOC_Sensorless.slx&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;could be to reuse the standard C-code generated and integrate that into a larger application developed with a specific IDE. You end-up with a standard C functions that could be easily re-use to control any other motors even on other targets different than S12ZVM.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Hope this explanations&amp;nbsp;address all your concerns.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Daniel&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 07:49:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741011#M1722</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2017-11-28T07:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741012#M1723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The model cannot run at all. When you click the green run button, it always show mistake information, which prove the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;FOC_Sensorless.slx&lt;/SPAN&gt;&lt;SPAN style="border: 0px; background-color: #ffffff; color: #51626f; font-weight: inherit;"&gt;&amp;nbsp;does not work at all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error Mistake information below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For S-function 'GFLIB_ControllerPIrAW_SF_F16', the number of defined parameters, 3, does not match the number of parameters on the dialog of 'FOC_Sensorless/FastLoopAlgorithm/FOC/GFLIB_ControllerPIrAW_F1/GFLIB_ControllerPIrAW_SF', 5. These two values must be identical.&lt;BR /&gt;Component: Simulink | Category: Block error&lt;BR /&gt;For S-function 'GFLIB_ControllerPIpAW_SF_F16', the number of defined parameters, 4, does not match the number of parameters on the dialog of 'FOC_Sensorless/SlowLoopAlgorithm/SpeedControl/CloseLoopSpeedControl/GFLIB_ControllerPIpAW_SF', 6. These two values must be identical.&lt;BR /&gt;Component: Simulink | Category: Block error&lt;/P&gt;&lt;P&gt;For S-function 'GFLIB_ControllerPIrAW_SF_F16', the number of defined parameters, 3, does not match the number of parameters on the dialog of 'FOC_Sensorless/FastLoopAlgorithm/FOC/GFLIB_ControllerPIrAW_F1/GFLIB_ControllerPIrAW_SF', 5. These two values must be identical.&lt;BR /&gt;Component: Simulink | Category: Block error&lt;BR /&gt;For S-function 'GFLIB_ControllerPIpAW_SF_F16', the number of defined parameters, 4, does not match the number of parameters on the dialog of 'FOC_Sensorless/SlowLoopAlgorithm/SpeedControl/CloseLoopSpeedControl/GFLIB_ControllerPIpAW_SF', 6. These two values must be identical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2018 06:04:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741012#M1723</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-06-06T06:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741013#M1724</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/thomsonzhou"&gt;thomsonzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've rechecked the model using the Toolbox for ZVM and it works on simulation too without any errors like you see.&lt;/P&gt;&lt;P&gt;Do you have multiple toolboxes installed on your computers ? If so, then can you please check to which Simulink library the GFLIB_ControllerPIpAW_SF_F16 points out?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right click on the block and select &lt;STRONG&gt;Library Link/Go to Library Block. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should see:&amp;nbsp;&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/19141i64E2278FA853F8DE/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;&lt;/P&gt;&lt;P&gt;There is a possibility that these blocks might point to a different library that you have installed.&lt;/P&gt;&lt;P&gt;My suggestion is to leave only the ZVM toolbox in the MATLAB paths in order to ensure that the correct Simulink library is used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, if you are interested in how Position Observer works, i may suggest to have a look at this topic:&amp;nbsp;&lt;A href="https://community.nxp.com/thread/477109"&gt;https://community.nxp.com/thread/477109&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is built for S32K but the blocks are generic for all the other toolboxes. In addition you can simulate more advance scenarios with the models attached there.&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>Wed, 06 Jun 2018 07:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741013#M1724</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2018-06-06T07:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741014#M1725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much! Your reply is very helpful to me. My problem has been resolved.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is my story:&lt;/P&gt;&lt;P&gt;I used&amp;nbsp;FreeMaster2.0 with a P&amp;amp;E Micro can send speed command to target board.&lt;/P&gt;&lt;P&gt;Everytime, when use the FOC models generate the C code automatically, there is a &amp;nbsp;pmp file inthe&amp;nbsp;&lt;/P&gt;&lt;P&gt;target folder.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use freemaster2.0 open this s12zfoc.pmp project file it always show variable missing information to me.&lt;/P&gt;&lt;P&gt;I need to send speed command to target board with freemaster2.0.&lt;/P&gt;&lt;P&gt;But everytime, when I click the stop sign button, the motor does not run at all with duty cycle meter, executing time meter and tacometer changed.&lt;/P&gt;&lt;P&gt;Should I need to create my own freemaster command for making foc motor rotate? For your references, my freemaster2.0 command list is&amp;nbsp;&lt;/P&gt;&lt;P&gt;empty as below picture. How to makes motor rotate with freemaster? And furthremore,&lt;/P&gt;&lt;P&gt;How can I make my motor retates without freemaster speed command request?&lt;/P&gt;&lt;P&gt;I want to make my motor rotate when the board is powered on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furhther more, when I use an oscilliscope to test the corresponding pins of PWM output there is no any signal output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I guess, my target does not receive the speed request command at all.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the SCI(RX, TX) serial port&amp;nbsp;is the only way to send speed command to my motor&amp;nbsp;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need you help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;:smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FreeMasterPEMicroSendSpeedCmd.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32163iCAFA5CF86365ED32/image-size/large?v=v2&amp;amp;px=999" role="button" title="FreeMasterPEMicroSendSpeedCmd.JPG" alt="FreeMasterPEMicroSendSpeedCmd.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 08:17:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741014#M1725</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-06-07T08:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741015#M1726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;What the exact evaluation board you use for running the generated code of FOC simluink model?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any board can run FOC model with a MC9S12ZML128 ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 03:17:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741015#M1726</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-09-13T03:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741016#M1727</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/thomsonzhou"&gt;thomsonzhou&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board is S12ZVM EVB:&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/products/processors-and-microcontrollers/additional-processors-and-mcus/8-16-bit-mcus/16-bit-s12-magniv/s12zvm-evaluation-board:S12ZVMEVB" title="https://www.nxp.com/products/processors-and-microcontrollers/additional-processors-and-mcus/8-16-bit-mcus/16-bit-s12-magniv/s12zvm-evaluation-board:S12ZVMEVB"&gt;S12ZVM Evaluation Board|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a snapshot with it running FOC.&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/68664i63FCE4EFC394C590/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;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 07:41:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741016#M1727</guid>
      <dc:creator>Daniel_Popa</dc:creator>
      <dc:date>2018-09-13T07:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741017#M1728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;There are two NXP FOC algorithms, one is the Simulink Model, another one is the official hand code project. Does this board support both or only simulink model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;BTW, &lt;A class="link-titled" href="https://www.nxp.com/downloads/en/schematics/S12ZVMC12EVBCAN_SCH.pdf" title="https://www.nxp.com/downloads/en/schematics/S12ZVMC12EVBCAN_SCH.pdf"&gt;https://www.nxp.com/downloads/en/schematics/S12ZVMC12EVBCAN_SCH.pdf&lt;/A&gt;&amp;nbsp; is the exact schmatic for this board or not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;This board is designed for BLDC/PMSM. Let me know and thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 01:30:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741017#M1728</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-09-14T01:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741018#M1729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I have download the Example Model: S12ZVM FOC Sensorless Motor Control and setup the toolbox for S12ZVM successfully. After I debug the Model in Simulink, restart my EVB Board, then there is a Error, shown in the picture. I have checked the port in my computer is COM6, and have Config 6 in the model. I wondered if I missed something?&lt;span class="lia-inline-image-display-wrapper" image-alt="微信图片_20181120183853.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/77702iEA2EB8C75CE52969/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信图片_20181120183853.jpg" alt="微信图片_20181120183853.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2018 10:45:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741018#M1729</guid>
      <dc:creator>amosxue</dc:creator>
      <dc:date>2018-11-20T10:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741019#M1730</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/amosxue"&gt;amosxue&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you by accident overwrite the bootloader? If you have entered in debugging on the board and did not put the bootloader back, the RappidBL would give you a loss of communication error. To make sure that's not the problem, you can re-flash the&amp;nbsp;&lt;SPAN style="font-size: 12.0pt;"&gt;S12ZVM.rbf &lt;/SPAN&gt;to the board and then build &amp;amp; download again, from Simulink.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Razvan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2018 15:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741019#M1730</guid>
      <dc:creator>constantinrazva</dc:creator>
      <dc:date>2018-11-20T15:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: HOW TO USE Example Model: S12ZVM FOC Sensorless Motor Control</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741020#M1731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Razvan,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have downloaded the example AN5327, and debug it in CW10.7 early. The bootloader is overwrited probably.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Today, I flash S12ZVM.rbf in CW10.7, as the figure below, there is a warning:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Programming warning. Can't program 8 bytes to address 0xfffe08 because this range isn't included in the selected modules! &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Programming .....&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Device MC9S12ZVML128_EEPROM&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;My EVB is S12ZVML12EVBLIN, the chip is&amp;nbsp;s912ZVML12 MKH.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I want to what cause this warning, and how to fix it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Amos&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="333.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/77927iFE5EA075B56D23A3/image-size/large?v=v2&amp;amp;px=999" role="button" title="333.jpg" alt="333.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 01:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/HOW-TO-USE-Example-Model-S12ZVM-FOC-Sensorless-Motor-Control/m-p/741020#M1731</guid>
      <dc:creator>amosxue</dc:creator>
      <dc:date>2018-11-21T01:11:42Z</dc:date>
    </item>
  </channel>
</rss>

