<?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 FOC Model IDRequest and IQRequest in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760403#M15224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybody knows the values of the two variables in FOC model.&lt;/P&gt;&lt;P&gt;IDRequest and IQRequest are two variables in FOC model, which will generate final PWM signal output.&lt;/P&gt;&lt;P&gt;And the PWM signal will make the FOC motor rotate or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the values if you have.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or tell me the range of data, which will make the PWM module generate PWM signals.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jun 2018 04:47:30 GMT</pubDate>
    <dc:creator>thomsonzhou</dc:creator>
    <dc:date>2018-06-07T04:47:30Z</dc:date>
    <item>
      <title>FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760403#M15224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anybody knows the values of the two variables in FOC model.&lt;/P&gt;&lt;P&gt;IDRequest and IQRequest are two variables in FOC model, which will generate final PWM signal output.&lt;/P&gt;&lt;P&gt;And the PWM signal will make the FOC motor rotate or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need the values if you have.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or tell me the range of data, which will make the PWM module generate PWM signals.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2018 04:47:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760403#M15224</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-06-07T04:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760404#M15225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Your question is related to the FOC theory and to your motor parameters. If you don't need to understand and you just want to play with it, then you can try to set the IQRequest to some non-zero value. If the range of the current is e.g. 5 Amps (e.g. this would be the nominal speed of the motor), I would start with 0.5 Amps and increase the current slowly by 0.2 to 0.5 Amps and check if the motor is spinning. Please be aware that this mode is not a speed control - if the motor has no load attached, it will speed up freely as long as the self friction grows up with the speed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case you would like to understand, please follow the books covering this topic, e.g.&amp;nbsp;&lt;A class="link-titled" href="https://onlinelibrary.wiley.com/doi/pdf/10.1002/9781119969242.ch4" title="https://onlinelibrary.wiley.com/doi/pdf/10.1002/9781119969242.ch4"&gt;https://onlinelibrary.wiley.com/doi/pdf/10.1002/9781119969242.ch4&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 05:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760404#M15225</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2018-06-08T05:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760405#M15226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I found NXP demo board for FOC motor are different. Single Shunt resistor circuit are very similar with double shunt resistor, but the code are obvious different. For example, ML128 mini board can drive not only BLDC motor but also single shunt FOC motor. &amp;nbsp;However, when you need to drive FOC motor with two shunt resistors, you need to switch to AN5327 and the NXP demo project are obvious different.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Furthermore, I need to know if there is a demo source code to switch the external oscillator on the ML128 Mini Board to the ML128 MUC its own internal oscillator? For your better understanding this question, I attached an picture on this question.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="捕获.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79571iEFE02BCE989E3768/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获.JPG" alt="捕获.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached source code below also:&lt;/P&gt;&lt;P&gt;/*****************************************************************************&lt;BR /&gt;*&lt;BR /&gt;* Function: void initCPMU(void)&lt;BR /&gt;*&lt;BR /&gt;* Description: Clock, Reset and Power Management Unit configuration&lt;BR /&gt;*&lt;BR /&gt;*****************************************************************************/&lt;BR /&gt;void initCPMU(void)&lt;BR /&gt;{&lt;BR /&gt; // Wait for stable supply after power up&lt;BR /&gt; while (GDUF_GLVLSF)&lt;BR /&gt; {&lt;BR /&gt; GDUF_GLVLSF = 1;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;CPMUREFDIV_REFDIV = CPMU_REFDIV;&lt;BR /&gt; CPMUREFDIV_REFFRQ = CPMU_REFFRQ;&lt;BR /&gt; CPMUSYNR_SYNDIV = CPMU_SYNDIV;&lt;BR /&gt; CPMUSYNR_VCOFRQ = CPMU_VCOFRQ;&lt;BR /&gt; CPMUPOSTDIV_POSTDIV = CPMU_POSTDIV;&lt;BR /&gt; &lt;BR /&gt; while (CPMUIFLG_LOCK == 0) &lt;BR /&gt; {&lt;BR /&gt; &lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; CPMURFLG = 0x60; //Clear PORF and LVRF&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wait for your reply and Many thanks.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 02:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760405#M15226</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-08-03T02:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760406#M15227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;regarding to your single/dual shunt question:&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 24px;"&gt;&lt;TH style="height: 24px;"&gt;&lt;/TH&gt;&lt;TH style="height: 24px;"&gt;BLDC six-step (block commutation)&lt;/TH&gt;&lt;TH style="height: 24px;"&gt;PMSM Field oriented control&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="height: 24px;"&gt;&lt;TD style="height: 24px;"&gt;&lt;STRONG&gt;Single shunt&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="height: 24px;"&gt;&lt;P&gt;&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/3-phase-sensorless-bldc-development-kit-with-s12-magniv-s12zvm:MTRCKTSBNZVM128" rel="nofollow noopener noreferrer" title="https://www.nxp.com/products/processors-and-microcontrollers/additional-processors-and-mcus/8-16-bit-mcus/16-bit-s12-magniv/3-phase-sensorless-bldc-development-kit-with-s12-magniv-s12zvm:MTRCKTSBNZVM128" target="_blank"&gt;3-phase Sensorless BLDC Development Kit|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&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/s12-magniv-s12zvm-mini-board-for-sensorless-motor-control:S12ZVML-MINIBRD" rel="nofollow noopener noreferrer" title="https://www.nxp.com/products/processors-and-microcontrollers/additional-processors-and-mcus/8-16-bit-mcus/16-bit-s12-magniv/s12-magniv-s12zvm-mini-board-for-sensorless-motor-control:S12ZVML-MINIBRD" target="_blank"&gt;S12 MagniV Mini Board for Motor Control|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="height: 24px;"&gt;&lt;P&gt;&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/3-phase-sensorless-pmsm-development-kit-with-s12-magniv-mc9s12zvml128-mcu:MTRCKTSPNZVM128" rel="nofollow noopener noreferrer" title="https://www.nxp.com/products/processors-and-microcontrollers/additional-processors-and-mcus/8-16-bit-mcus/16-bit-s12-magniv/3-phase-sensorless-pmsm-development-kit-with-s12-magniv-mc9s12zvml128-mcu:MTRCKTSPNZVM128" target="_blank"&gt;MTRCKTSPNZVM128|Development Kit S12 MagniV|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In details:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5327.pdf" rel="nofollow noopener noreferrer" title="https://www.nxp.com/docs/en/application-note/AN5327.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5327.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 24px;"&gt;&lt;TD style="height: 24px;"&gt;&lt;STRONG&gt;Dual shunt&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="height: 24px;"&gt;not applicable&lt;/TD&gt;&lt;TD style="height: 24px;"&gt;&lt;P&gt;&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/3-phase-sensorless-pmsm-development-kit-with-s12-magniv-mc9s12zvml128-mcu:MTRCKTSPNZVM128" rel="nofollow noopener noreferrer" title="https://www.nxp.com/products/processors-and-microcontrollers/additional-processors-and-mcus/8-16-bit-mcus/16-bit-s12-magniv/3-phase-sensorless-pmsm-development-kit-with-s12-magniv-mc9s12zvml128-mcu:MTRCKTSPNZVM128" target="_blank"&gt;MTRCKTSPNZVM128|Development Kit S12 MagniV|NXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In details:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5135.pdf" rel="nofollow noopener noreferrer" title="https://www.nxp.com/docs/en/application-note/AN5135.pdf" target="_blank"&gt;https://www.nxp.com/docs/en/application-note/AN5135.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The software has to be different for single and dual shunt applications, since the "single shunt FOC" is about a 3-phase current reconstruction from the DC-link current - a complex algorithm that is needed to extract all the 3 phase currents. The dual-shunt application just takes two phase currents and the third one is calculated based on the Kirchhoff's law.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To your second question:&lt;/P&gt;&lt;P&gt;Please follow our BLDC devKit code - there are several clock configurations:&lt;/P&gt;&lt;P&gt;- Download and install&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/webapp/Download?colCode=MTRCKTSBNZVM128_SW&amp;amp;appType=license&amp;amp;Parent_nodeId=1366729168690724587839&amp;amp;Parent_pageType=product" rel="nofollow noopener noreferrer" title="https://www.nxp.com/webapp/Download?colCode=MTRCKTSBNZVM128_SW&amp;amp;appType=license&amp;amp;Parent_nodeId=1366729168690724587839&amp;amp;Parent_pageType=product" target="_blank"&gt;https://www.nxp.com/webapp/Download?colCode=MTRCKTSBNZVM128_SW&amp;amp;appType=license&amp;amp;Parent_nodeId=1366729168690724587839&amp;amp;Pare…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Go to {ProjectLocation}\Config\S12ZVM_devconfig.h&lt;/P&gt;&lt;P&gt;- browse the definitions and look for the _INTERNAL_CLOCK and _EXTERNAL_CLOCK macros&lt;/P&gt;&lt;P&gt;- see the impact to the MC9S12ZVML128_BLDC_Sensorless.c source file within the initCPMU() function&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;void initCPMU(void)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Wait for stable supply after power up
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (GDUF_GLVLSF)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;GDUF_GLVLSF = 1;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CPMUREFDIV_REFDIV = CPMU_REFDIV;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CPMUREFDIV_REFFRQ = CPMU_REFFRQ;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CPMUSYNR_SYNDIV = CPMU_SYNDIV;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CPMUSYNR_VCOFRQ = CPMU_VCOFRQ;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CPMUPOSTDIV_POSTDIV = CPMU_POSTDIV;

#ifdef _EXTERNAL_CLOCK
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CPMUOSC_OSCE = 1;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (CPMUIFLG_UPOSC == 0) {}; // Wait for oscillator to start up (UPOSC=1) and PLL to lock (LOCK=1)
#endif

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (CPMUIFLG_LOCK == 0) {};
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CPMURFLG&amp;nbsp; = 0x60; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//Clear PORF and LVRF
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return;
}&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You can get some inspiration from this. I believe it is self-explanatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 06:47:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760406#M15227</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2018-08-03T06:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760407#M15228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-avatarid="29371" data-externalid="" data-online="false" data-presence="null" data-userid="266576" data-username="pachamatej" href="https://community.nxp.com/people/pachamatej" style="color: inherit; background-color: #ffffff; border: 0px; font-weight: bold; font-size: 14px;"&gt;Matej&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I did add the instruction of active the internal oscillator into the program and compiled successfully. However, I found another trouble: the AN5327_PMSM_FOC_Sensorless_SingleShunt.pmp, which can not show the FOC motor control page &amp;nbsp;completely. And it always show security alert msg which need people click "Yes" to continue it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="alert.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79844i22347513990B7B19/image-size/large?v=v2&amp;amp;px=999" role="button" title="alert.bmp" alt="alert.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Furthermore, the freemaster cannot show the FOC motor web page at all as below picture:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alert2.bmp"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/79843iCD4A8A563F43785C/image-size/large?v=v2&amp;amp;px=999" role="button" title="alert2.bmp" alt="alert2.bmp" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How to solve this problem, so that I can debug my single shunt FOC motor project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 08:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760407#M15228</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-08-07T08:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760408#M15229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;unfortunately, I cannot read the error message in Chinese.&lt;/P&gt;&lt;P&gt;It looks like the java engine doesn't have access to some files. It might be either by:&lt;/P&gt;&lt;P&gt;- incompatibility issues (Internet Explorer has been updated or is outdated, or it is the operation system issue)&lt;/P&gt;&lt;P&gt;- one or more files of the MCAT have been changed/removed/renamed&lt;/P&gt;&lt;P&gt;- the MCAT settings have been changed with no reflection in the other configurations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the error reversible? This means - can you undo the changes and get the SW working again?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you download the AN5327 software from the web and overwrite your FreeMASTER_control folder with the original folder, does it help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 08:20:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760408#M15229</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2018-08-07T08:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760409#M15230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matej,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The javascript warning information means "Missing Object".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- incompatibility issues (Internet Explorer has been updated or is outdated, or it is the operation system issue)&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;My computers use IE8.0 IE9.0 which both generate object missing alert.&amp;nbsp;&amp;nbsp;What is the exact version of the IE browser we should use? &amp;nbsp;Can we run this demo freemaster project with windows 10 x64 os?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- one or more files of the MCAT have been changed/removed/renamed&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp; I download the AN5372 demo project from nxp.com and install it without any change. There should not be any MCAT files were changed or removed/renamed. I do nothing but install completely.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;- the MCAT settings have been changed with no reflection in the other configurations&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp; How to correctly set MCAT. I found it is a plug in for freemaster project. I download 5327 from NXP official website and install it completely to C drive without any change.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Do you have any helpful MCAT setting resources or links?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 01:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760409#M15230</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-08-08T01:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760410#M15231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/819i35F675F1A6519B59/image-size/large?v=v2&amp;amp;px=999" role="button" title="err.JPG" alt="err.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The above Chinese JavaScript Error information means&lt;/P&gt;&lt;P&gt;The fileProcessing.js NO. 87 line and Char 6 "missing Object". I tried all of my computers, this kind error information all appeared when I run AN5327 dual shunt resistor project of freemaster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My IE version are 8.0 9.0. &amp;nbsp;I also open the original js file to look the js code of Line 87th as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="87-6.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/787i6841D3C7B525BE38/image-size/large?v=v2&amp;amp;px=999" role="button" title="87-6.JPG" alt="87-6.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above pictures just for help you to understand the MCAT js file err information, which cannot show the motor tab corectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 01:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760410#M15231</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-08-08T01:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760411#M15232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is more, I modified the source code of PMSM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void initCPMU(void)&lt;BR /&gt;{&lt;BR /&gt; // Wait for stable supply after power up&lt;BR /&gt; while (GDUF_GLVLSF)&lt;BR /&gt; GDUF_GLVLSF = 1;&lt;/P&gt;&lt;P&gt;CPMUREFDIV_REFDIV = CPMU_REFDIV;&lt;BR /&gt; CPMUREFDIV_REFFRQ = CPMU_REFFRQ;&lt;BR /&gt; CPMUSYNR_SYNDIV = CPMU_SYNDIV;&lt;BR /&gt; CPMUSYNR_VCOFRQ = CPMU_VCOFRQ;&lt;BR /&gt; CPMUPOSTDIV_POSTDIV = CPMU_POSTDIV;&lt;/P&gt;&lt;P&gt;//#ifdef _EXTERNAL_CLOCK&lt;BR /&gt;//CPMUOSC_OSCE = 1;&lt;BR /&gt;while (CPMUIFLG_UPOSC == 0) {}; // Wait for oscillator to start up (UPOSC=1) and PLL to lock (LOCK=1)&lt;BR /&gt;#endif&lt;/P&gt;&lt;P&gt;while (CPMUIFLG_LOCK == 0) {};&lt;BR /&gt; CPMURFLG = 0x60; //Clear PORF and LVRF&lt;BR /&gt; return;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 07:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760411#M15232</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-08-08T07:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760412#M15233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified this code for the file named&amp;nbsp;MC9S12ZVML128_PMSM.c because I found the demo project downloaded from&amp;nbsp;&lt;/P&gt;&lt;P&gt;NXP official website use the external oscillator but not the internal one. And after reading the miniboard schematic I found the MCU chip of MC9S12ZVML128 use its own internal oscillator. And the external oscillator connected to a 8 bit MCU of NXP. Thus, it is necessary to modify the&amp;nbsp;&lt;SPAN&gt;MC9S12ZVML128_PMSM.c file initcup() function to switch from NXP original external oscillator to the internal one.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="mc9s12z.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11686i754A65ED28457BF3/image-size/large?v=v2&amp;amp;px=999" role="button" title="mc9s12z.JPG" alt="mc9s12z.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The external oscillator for the 8 bit MCU for downloading purpose:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="internaloscillator.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8434i9C80E9D5CE0BBF18/image-size/large?v=v2&amp;amp;px=999" role="button" title="internaloscillator.JPG" alt="internaloscillator.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;I added a defination instruction to the file named&amp;nbsp;MC9S12ZVML128_PMSM.c:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define&amp;nbsp;_INTERNAL_CLOCK.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Also I modifed the source code for init the MCU of MC9S12ZVML&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void initCPMU(void)&lt;BR /&gt;{&lt;BR /&gt; // Wait for stable supply after power up&lt;BR /&gt; while (GDUF_GLVLSF)&lt;BR /&gt; GDUF_GLVLSF = 1;&lt;/P&gt;&lt;P&gt;CPMUREFDIV_REFDIV = CPMU_REFDIV;&lt;BR /&gt; CPMUREFDIV_REFFRQ = CPMU_REFFRQ;&lt;BR /&gt; CPMUSYNR_SYNDIV = CPMU_SYNDIV;&lt;BR /&gt; CPMUSYNR_VCOFRQ = CPMU_VCOFRQ;&lt;BR /&gt; CPMUPOSTDIV_POSTDIV = CPMU_POSTDIV;&lt;/P&gt;&lt;P&gt;//#ifdef _EXTERNAL_CLOCK &amp;nbsp; &amp;nbsp; // I commented these 3 lines because ML128 Miniboard does not have external oscillator to use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;BR /&gt;//CPMUOSC_OSCE = 1; &amp;nbsp; //The original demo project named&amp;nbsp;&lt;SPAN&gt;MC9S12ZVML128_PMSM does define &lt;SPAN&gt;CPMUOSC_OSCE, so that it always use external oscillator but in fact there is no external oscillator in the schematic.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt; while (CPMUIFLG_UPOSC == 0) {}; // Wait for oscillator to start up (UPOSC=1) and PLL to lock (LOCK=1)&lt;BR /&gt;//#endif&lt;/P&gt;&lt;P&gt;while (CPMUIFLG_LOCK == 0) {};&lt;BR /&gt; CPMURFLG = 0x60; //Clear PORF and LVRF&lt;BR /&gt; return;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;I have no idea if this defination can make internal oscillator works or not.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;After I modifed this source code of&amp;nbsp;MC9S12ZVML128_PMSM.c in the demo project, I redownload it to MC9S12ZVML&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, I found the internal oscillator still does not work at all.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please let me know if you have the exactly correct demo project for Mini ML128 board which can drive a single shunt resistor FOC motor.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Need your help, you are welcome to give demo projects for single foc motor or http links for single foc motor. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 08:22:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760412#M15233</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-08-08T08:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760413#M15234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;sorry for the delay, but I'm still on a long business trip, not able to test anything. I would check for the final bus clock settings, either by evaluating some GPIO changed periodically by a timer or by verifying the SCI baudrate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Aug 2018 03:52:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760413#M15234</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2018-08-26T03:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760414#M15235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matej,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Do you get any good news for your timer problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 01:55:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760414#M15235</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-09-13T01:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760415#M15236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;finally I got some time to make a package. It is nothing more, just the general AN5327 example software slightly edited to fit in the MINIBRD.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-341536"&gt;https://community.nxp.com/docs/DOC-341536&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if it works for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2018 13:41:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760415#M15236</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2018-09-13T13:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760416#M15237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err2.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68798iE05FE8EE403448FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="err2.JPG" alt="err2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err1.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68847iAF37C659B828D238/image-size/large?v=v2&amp;amp;px=999" role="button" title="err1.JPG" alt="err1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The second pictures info means: current webpage happen mistakes&lt;/P&gt;&lt;P&gt;Line number: 87&lt;/P&gt;&lt;P&gt;char 6&lt;/P&gt;&lt;P&gt;error: missing object&lt;/P&gt;&lt;P&gt;code: 0&lt;/P&gt;&lt;P&gt;URL: &lt;A href="https://community.nxp.com/"&gt;file://..&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you need to continue to run this script on this webpage?&lt;/P&gt;&lt;P&gt;&amp;nbsp; button one is Yes, button two is No&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err3.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68799i1A7135B2A52199C6/image-size/large?v=v2&amp;amp;px=999" role="button" title="err3.JPG" alt="err3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my mini ml128 board photoshot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err4.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68800i511AA3BC98DCC682/image-size/large?v=v2&amp;amp;px=999" role="button" title="err4.JPG" alt="err4.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCI port cannot beed detected even I opened the power supply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know your email address, I can photo my whole development system to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know your idea for this freemaster D.O.A situation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 03:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760416#M15237</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-09-14T03:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760417#M15238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Regarding the communication - the OSBDM/OSJTAG - CDC Serial Port driver is needed to connect the board via USB. The comm speed is 19200 Bd. This way, no additional USB-to-SCI converter is needed. For this case jumpers J6 and J8 are set for 1-2 connection. If you cannot find such driver on your computer, please visit&amp;nbsp;&lt;A class="link-titled" href="http://www.pemicro.com/osbdm" title="http://www.pemicro.com/osbdm"&gt;PEmicro - P&amp;amp;E Microcomputer Systems: Over 30 years as an Industry leader in Embedded Systems Development Tools, debug pr…&lt;/A&gt;&amp;nbsp; and update your drivers.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FMSTR_commSettings.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69248iB291FDC75DB51B36/image-size/large?v=v2&amp;amp;px=999" role="button" title="FMSTR_commSettings.PNG" alt="FMSTR_commSettings.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If you are using your own USB-to-SCI converter, then you would probably connect via J7 connector, while the jumpers J6 and J8 would be configured to 2-3. Even then, the communication speed is 19200 Bd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error messages mentioning JavaScript may be caused by missing connection, however based on my experience it is caused mainly by old version of the MS Internet Explorer (I'm using version 11.1266.15063.0).&lt;/P&gt;&lt;P&gt;Even if the script error appears, you can click YES to continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And - if you would like to have the LED diode to indicate the status of the application, you would need to enable the J5 jumper. It is not critical to the application, however it is good to have it :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 06:27:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760417#M15238</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2018-09-14T06:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760418#M15239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err5.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69425i1D150951077B2CAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="err5.JPG" alt="err5.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I did exactly according to what you mentioned above. However, I found OSBDM needs exact hardware driver.&lt;/P&gt;&lt;P&gt;Because the OSBDM in my win7 x64 control panel have warning flags. I do not it is a problem for correct connection.&lt;/P&gt;&lt;P&gt;And I searched the website and did not found any ML128 mini board &amp;nbsp;hardware drivers for downloading.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What kind of driver you installed on your computer? PL232 usb to serial port driver only?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Let me know your NXP driver package download http link if you have.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 06:52:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760418#M15239</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-09-14T06:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760419#M15240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The warning flags may be the problem.&lt;/P&gt;&lt;P&gt;Just a quick internet search for "PE Micro OSBDM" gives me following result:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.pemicro.com/osbdm/" title="http://www.pemicro.com/osbdm/"&gt;PEmicro - P&amp;amp;E Microcomputer Systems: Over 30 years as an Industry leader in Embedded Systems Development Tools, debug pr…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the page, I can click to download the Windows drivers:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.pemicro.com/downloads/download_file.cfm?download_id=53" title="http://www.pemicro.com/downloads/download_file.cfm?download_id=53"&gt;http://www.pemicro.com/downloads/download_file.cfm?download_id=53&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is all I got. It worked on Win7 as well as it works now on Win10. If it doesn't work, I suggest you to start a new thread and ask my technical support colleagues to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 07:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760419#M15240</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2018-09-14T07:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760420#M15241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did exactly according to above you mentioned. And the yellow warning flags disappeared now.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The freemaster project could not detect the motherboard voltage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And there is a mistake in the FOC control webpage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err12.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69677i996B1613228C5FB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="err12.JPG" alt="err12.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;System requires clear fault. My motor did roate for a while. But it never rotate again when clear fault appeared.&lt;/P&gt;&lt;P&gt;How to clear fault?&lt;/P&gt;&lt;P&gt;Do I need to modify my PMSM&amp;nbsp;motor configuration parameters?&lt;/P&gt;&lt;P&gt;My current setting is below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err6.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69764i1463099EA7213FA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="err6.JPG" alt="err6.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err7.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69808iB2F9A294E471B15E/image-size/large?v=v2&amp;amp;px=999" role="button" title="err7.JPG" alt="err7.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err8.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69854i355222D95F0A5624/image-size/large?v=v2&amp;amp;px=999" role="button" title="err8.JPG" alt="err8.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err9.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69897i880D6A7F8DCF39EF/image-size/large?v=v2&amp;amp;px=999" role="button" title="err9.JPG" alt="err9.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err10.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69952iFB17AF8B2A0EF912/image-size/large?v=v2&amp;amp;px=999" role="button" title="err10.JPG" alt="err10.JPG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err11.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/69985i1EAAB32A7F5D147B/image-size/large?v=v2&amp;amp;px=999" role="button" title="err11.JPG" alt="err11.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know where I should modify my parameters or corresponding settings to make my DC motor rotate without any fault again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 07:29:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760420#M15241</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-09-14T07:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760421#M15242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;Maybe it is caused by me exporting the project to a zip file. Can you please go to the settings of the FreeMASTER project and check the following?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="FMSTR_mapSettings.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/70963iD344EA7E8E9CD686/image-size/large?v=v2&amp;amp;px=999" role="button" title="FMSTR_mapSettings.PNG" alt="FMSTR_mapSettings.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Even if the setting is the same (mainly the Default symbol file path), please click on the [ ... ] button and browse to your CodeWarrior project directory, FLASH folder and select the AN5327_SW_CW10.elf. Then click OK and test it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2018 08:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760421#M15242</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2018-09-14T08:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: FOC Model IDRequest and IQRequest</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760422#M15243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="err14.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68814iEAB0F98A93064FB7/image-size/large?v=v2&amp;amp;px=999" role="button" title="err14.JPG" alt="err14.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi Matej,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The above picture is my side configuration for freemaster.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think there is no any problem with the configuration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I need to change the cables for the motor because the mental line is too thin to load a very big current.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My another major problem is the SCI port.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still could not connect my mini board with my usb to serial port cable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to we discussed previsouly, we configured J6 &amp;nbsp;and J8 from 1-2 to 2-3 and then set the baud rate is 19200, then I check the usb serial &amp;nbsp;port number is exact com4 in my hardware manager in local control panel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, when I connected my miniboard with the usb-serial port, it always shew no any board detected. I am doubt in your side, your serial port work good or not?&lt;/P&gt;&lt;P&gt;If yes, what is your configuration for usb2serial cable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 00:19:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/FOC-Model-IDRequest-and-IQRequest/m-p/760422#M15243</guid>
      <dc:creator>thomsonzhou</dc:creator>
      <dc:date>2018-09-17T00:19:48Z</dc:date>
    </item>
  </channel>
</rss>

