<?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 BLDC MOTER CONTROL WITH HALL SENSOR in MCX Microcontrollers</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1900184#M532</link>
    <description>&lt;P&gt;WE ARE FACING PROBLEM WITH BLDC MOTER CONTROL WITH HALL SENSOR ,&lt;/P&gt;&lt;P&gt;WHEN WE ARE RUNNING BLDC MOTER WITH HALL SENSOR WITH MULTILINK UNIVERSAL FX SERIES&lt;/P&gt;&lt;P&gt;IN DEBUG MODE MOTER IS RUNNING FINE WITH ACCELATOR FROM 0 TO 3.2V, AS SOON AS WE&lt;/P&gt;&lt;P&gt;REMOVE THE TOOL AND WHEN ACCELATOR IS ZEOR MOTER START,&lt;/P&gt;&lt;P&gt;PLEASE SUGGEST WHAT TO&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Jul 2024 11:35:38 GMT</pubDate>
    <dc:creator>hitsun</dc:creator>
    <dc:date>2024-07-05T11:35:38Z</dc:date>
    <item>
      <title>BLDC MOTER CONTROL WITH HALL SENSOR</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1900184#M532</link>
      <description>&lt;P&gt;WE ARE FACING PROBLEM WITH BLDC MOTER CONTROL WITH HALL SENSOR ,&lt;/P&gt;&lt;P&gt;WHEN WE ARE RUNNING BLDC MOTER WITH HALL SENSOR WITH MULTILINK UNIVERSAL FX SERIES&lt;/P&gt;&lt;P&gt;IN DEBUG MODE MOTER IS RUNNING FINE WITH ACCELATOR FROM 0 TO 3.2V, AS SOON AS WE&lt;/P&gt;&lt;P&gt;REMOVE THE TOOL AND WHEN ACCELATOR IS ZEOR MOTER START,&lt;/P&gt;&lt;P&gt;PLEASE SUGGEST WHAT TO&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 11:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1900184#M532</guid>
      <dc:creator>hitsun</dc:creator>
      <dc:date>2024-07-05T11:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: BLDC MOTER CONTROL WITH HALL SENSOR</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1903218#M725</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you clarify your question?&lt;/P&gt;
&lt;P&gt;Do you mean that after the probe is disconnected, the motor will not start?&lt;/P&gt;
&lt;P&gt;what is the the part number you are using?&lt;/P&gt;
&lt;P&gt;If you toggle a LED, are you okay? do you check if the the chip has entered ISP mode?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 01:58:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1903218#M725</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-07-09T01:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: BLDC MOTER CONTROL WITH HALL SENSOR</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1915882#M1305</link>
      <description>&lt;P&gt;The motor is working fine when debugging with Multilink FX Programmer but when debug session terminated and board is reset by powering off and on, the motor do not start with ADC input (Accelerator).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NXP part No Used: MKE02Z64VLD4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, The LED toggle is happening on disconnecting debugger but Hall Sensor PWM Capture mode not working (motor not turning) but if we manually change the position by hand a little, it starts rotating.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2024 06:57:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1915882#M1305</guid>
      <dc:creator>hitsun</dc:creator>
      <dc:date>2024-07-24T06:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: BLDC MOTER CONTROL WITH HALL SENSOR</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1918038#M1375</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Based on your remark "Yes, The LED toggle is happening on disconnecting debugger but Hall Sensor PWM Capture mode not working (motor not turning) but if we manually change the position by hand a little, it starts rotating.", the LED toggling means that the application code is running. After you change the position manually, the motor spinning&amp;nbsp; means that your application code has issue.&lt;/P&gt;
&lt;P&gt;The basic architecture of BLDC control with Hall sensor is that the hall sensor signals trigger interrupt, in the ISR of hall sensor, read the 3 hall signal state, then determine the PWM on/off with the motor specified direction. because the motor does spin after start-up, ISR is not fired, so motor does not spin.&lt;/P&gt;
&lt;P&gt;After the speed/direction is set, the code should read the 3 hall state in main loop, then switch PWM without ISR.&lt;/P&gt;
&lt;P&gt;Pls check your code&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 09:38:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1918038#M1375</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-07-26T09:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: BLDC MOTER CONTROL WITH HALL SENSOR</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1920552#M1404</link>
      <description>&lt;P&gt;We observe when we connected debugger PTB4 IS HIGH SIDE DRIVE (PWM_BH)FTM2_CH4 IS WORKING GOOD.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reset the debbuger and power supply, and switch ON SUPPLY ,we found that When we touch fingure to the pin of PTB4&amp;nbsp; this become ON . WHY AND HOW TO RESOLVE PLEASE SUGGEST&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 13:31:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1920552#M1404</guid>
      <dc:creator>hitsun</dc:creator>
      <dc:date>2024-07-30T13:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: BLDC MOTER CONTROL WITH HALL SENSOR</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1920996#M1409</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For KE02, the PTB4 is multiplexed with NMI, I suppose that after reset, the chip enters NMI ISR.&lt;/P&gt;
&lt;P&gt;Pls connect a pull-up resistor to the PTB4 pin.&lt;/P&gt;
&lt;P&gt;Secondly, I suggest you clear the NMIE bit with the line:&lt;/P&gt;
&lt;P&gt;SIM-&amp;gt;SOPT&amp;amp;=~(1&amp;lt;&amp;lt;1);&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1722390125981.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/291063i879344D2CB886168/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1722390125981.png" alt="xiangjun_rong_0-1722390125981.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Pls have a try&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 01:42:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/BLDC-MOTER-CONTROL-WITH-HALL-SENSOR/m-p/1920996#M1409</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2024-07-31T01:42:50Z</dc:date>
    </item>
  </channel>
</rss>

