<?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: What is StallCheck() function in MC9S12ZVML128_BLDC_Sensorless ?  in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/What-is-StallCheck-function-in-MC9S12ZVML128-BLDC-Sensorless/m-p/720677#M14812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, it&amp;nbsp;has nothing to do with currents. The StallCheck() function is checking for the motor stall status (the situation when the rotor is blocked).&lt;/P&gt;&lt;P&gt;When the motor is running, an average zero-crossing period is calculated. If one of the acutal periods is greater or less than limit, stallCheckCounter is increased. Or, if one the periods is less then&amp;nbsp;STALLCHECK_MIN_CMT_PERIOD, the&amp;nbsp;&lt;SPAN&gt;stallCheckCounter is increased as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the&amp;nbsp;stallCheckCounter is greater than zero, a "Stall" is indicated. Once it reaches&amp;nbsp;STALLCHECK_MAX_ERRORS, a fault is thrown and the application falls in to FAULT state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;StallCheck() function is called after a new zero-crossing period is available, but in Sensorless mode only.&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;Please let me know if you need more explanation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Matej&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Nov 2017 09:17:40 GMT</pubDate>
    <dc:creator>pachamatej</dc:creator>
    <dc:date>2017-11-21T09:17:40Z</dc:date>
    <item>
      <title>What is StallCheck() function in MC9S12ZVML128_BLDC_Sensorless ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/What-is-StallCheck-function-in-MC9S12ZVML128-BLDC-Sensorless/m-p/720676#M14811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use MC9S12ZVML128_BLDC_Sensorless example project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;wondering that &lt;SPAN style="color: #ff0000;"&gt;Function: void StallCheck(void)'s &lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;role.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;I think that stallcheck is Overcurrent and Lowcurrent check.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;Is it right?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;I want a detailed explanation.&lt;SPAN style="display: none;"&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 style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;SPAN style="display: none;"&gt;TTh&lt;/SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/pachamatej"&gt;pachamatej&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;SPAN style="color: #000000;"&gt;&lt;SPAN lang="en"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 08:21:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/What-is-StallCheck-function-in-MC9S12ZVML128-BLDC-Sensorless/m-p/720676#M14811</guid>
      <dc:creator>sohyunjang</dc:creator>
      <dc:date>2017-11-20T08:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: What is StallCheck() function in MC9S12ZVML128_BLDC_Sensorless ?</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/What-is-StallCheck-function-in-MC9S12ZVML128-BLDC-Sensorless/m-p/720677#M14812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, it&amp;nbsp;has nothing to do with currents. The StallCheck() function is checking for the motor stall status (the situation when the rotor is blocked).&lt;/P&gt;&lt;P&gt;When the motor is running, an average zero-crossing period is calculated. If one of the acutal periods is greater or less than limit, stallCheckCounter is increased. Or, if one the periods is less then&amp;nbsp;STALLCHECK_MIN_CMT_PERIOD, the&amp;nbsp;&lt;SPAN&gt;stallCheckCounter is increased as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the&amp;nbsp;stallCheckCounter is greater than zero, a "Stall" is indicated. Once it reaches&amp;nbsp;STALLCHECK_MAX_ERRORS, a fault is thrown and the application falls in to FAULT state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The&amp;nbsp;StallCheck() function is called after a new zero-crossing period is available, but in Sensorless mode only.&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;Please let me know if you need more explanation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Matej&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Nov 2017 09:17:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/What-is-StallCheck-function-in-MC9S12ZVML128-BLDC-Sensorless/m-p/720677#M14812</guid>
      <dc:creator>pachamatej</dc:creator>
      <dc:date>2017-11-21T09:17:40Z</dc:date>
    </item>
  </channel>
</rss>

