<?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: Can FRDM-KL25Z control 4 different motor separately? in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441750#M11961</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, YongGun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me the type of motor or the interface of motor, for example ACIM, PMSM, DC, BLDC, SR or stepper motor. I suppose you use stepper motor, if it is the case, what is the motor interface, in other words, what is the interface signals the motor has.&lt;/P&gt;&lt;P&gt;Can you give me your contact inf so that I can call you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2015 03:09:27 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2015-05-19T03:09:27Z</dc:date>
    <item>
      <title>Can FRDM-KL25Z control 4 different motor separately?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441749#M11960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to work on controlling 4 different motors with FRDM-KL25Z board.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked it only has 2 SPI, but I want to control 4 motors individuially, could you give me advice how I should set it up?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and how can I make the individual motor to read like "aaaabbbb"&amp;nbsp; a for motor1 b for motor 2 in one code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 17:23:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441749#M11960</guid>
      <dc:creator>yonggunlee</dc:creator>
      <dc:date>2015-05-18T17:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can FRDM-KL25Z control 4 different motor separately?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441750#M11961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, YongGun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me the type of motor or the interface of motor, for example ACIM, PMSM, DC, BLDC, SR or stepper motor. I suppose you use stepper motor, if it is the case, what is the motor interface, in other words, what is the interface signals the motor has.&lt;/P&gt;&lt;P&gt;Can you give me your contact inf so that I can call you.&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 03:09:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441750#M11961</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2015-05-19T03:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can FRDM-KL25Z control 4 different motor separately?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441751#M11962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Yonggun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to provide your motor spec to us. Then we can give you some solution on it. Thanks.&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;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 03:31:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441751#M11962</guid>
      <dc:creator>Paul_Tian</dc:creator>
      <dc:date>2015-05-19T03:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can FRDM-KL25Z control 4 different motor separately?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441752#M11963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on checking compatiblilty FRDM-KL25Z with AR.drone 2.0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume it is four DC motors. It seems like I need to send signal through SPI port, but i dont know how I should because FRDM-KL25Z only has two SPI pins.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 04:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441752#M11963</guid>
      <dc:creator>yonggunlee</dc:creator>
      <dc:date>2015-05-19T04:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can FRDM-KL25Z control 4 different motor separately?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441753#M11964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is that I want to test to see if thr FRDM-KL25Z is compatible with AR.drone 2.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the motors are DC, but it has 5 pins.&lt;/P&gt;&lt;P&gt;Below are the pin information that I found&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pin 1 Battery 11.4V&lt;/P&gt;&lt;P&gt;Pin 2 VCC 5V (ATMega8a VCC Pin4+5)&lt;/P&gt;&lt;P&gt;Pin 3 TX+RX (ATmega8a Pin30+31)&lt;/P&gt;&lt;P&gt;Pin 4 IRQ to main board (ATmega8a PC3 Pin26)&lt;/P&gt;&lt;P&gt;Pin 5 GND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pin 1 Red&lt;/P&gt;&lt;P&gt;Pin 2 White&lt;/P&gt;&lt;P&gt;Pin 3 Motor1=Yellow,M2=Orange,M3=Blue,M4=Green&lt;/P&gt;&lt;P&gt;Pin 4 Motor1=Purple,M2=Gray,M3=Brown,M4=Pink&lt;/P&gt;&lt;P&gt;Pin 5 Black&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 05:13:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441753#M11964</guid>
      <dc:creator>yonggunlee</dc:creator>
      <dc:date>2015-05-19T05:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can FRDM-KL25Z control 4 different motor separately?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441754#M11965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The motor specs are below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 style="margin-top: 14px; margin-bottom: 14px; font-size: 23px; font-family: 'Open Sans', Arial, Helvetica, Verdana, sans-serif; color: #242424; background-color: #f0f0f0;"&gt;MOTORS&lt;/H4&gt;&lt;P style="margin-top: 6px; margin-bottom: 6px; font-size: 18px; font-family: 'Open Sans', sans-serif; color: #000000; background-color: #f0f0f0;"&gt;Fly high. Fly fast. Far away from the ground.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;4 brushless inrunner motors. 14.5W 28,500 RMP&lt;/LI&gt;&lt;LI&gt;Micro ball bearing&lt;/LI&gt;&lt;LI&gt;Low noise Nylatron gears for 1/8.75 propeller reductor&lt;/LI&gt;&lt;LI&gt;Tempered steel propeller shaft&lt;/LI&gt;&lt;LI&gt;Self-lubrificating bronze bearing&lt;/LI&gt;&lt;LI&gt;Specific high propelled drag for great maneuverability&lt;/LI&gt;&lt;LI&gt;8 MIPS AVR CPU per motor controller&lt;/LI&gt;&lt;LI&gt;3 elements 1000 mA/H LiPo rechargeable battery (Autonomy: 12 minutes)&lt;/LI&gt;&lt;LI&gt;Emergency stop controlled by software&lt;/LI&gt;&lt;LI&gt;Fully reprogrammable motor controller&lt;/LI&gt;&lt;LI&gt;Water resistant motor’s electronic controller&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I can see the 5 pins coming from the motor.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 1 Battery 11.4V&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 2 VCC 5V (ATMega8a VCC Pin4+5)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 3 TX+RX (ATmega8a Pin30+31)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 4 IRQ to main board (ATmega8a PC3 Pin26)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 5 GND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 1 Red&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 2 White&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 3 Motor1=Yellow,M2=Orange,M3=Blue,M4=Green&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 4 Motor1=Purple,M2=Gray,M3=Brown,M4=Pink&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 5 Black&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;These are the pin information that I found.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I want to control them with FRDM-KL25Z board and fly it.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;could u give me some advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 15:50:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441754#M11965</guid>
      <dc:creator>yonggunlee</dc:creator>
      <dc:date>2015-05-19T15:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can FRDM-KL25Z control 4 different motor separately?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441755#M11966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mr. XiangJun Rong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I live in US, and I don't know where you live, so it might not helpful to give you the call #.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my email address is &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:yongari12@hotmail.com"&gt;yongari12@hotmail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The motor specs are below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H4 style="margin-top: 14px; margin-bottom: 14px; font-size: 23px; font-family: 'Open Sans', Arial, Helvetica, Verdana, sans-serif; color: #242424; background-color: #f0f0f0;"&gt;MOTORS&lt;/H4&gt;&lt;P style="margin-top: 6px; margin-bottom: 6px; font-size: 18px; font-family: 'Open Sans', sans-serif; color: #000000; background-color: #f0f0f0;"&gt;Fly high. Fly fast. Far away from the ground.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;4 brushless inrunner motors. 14.5W 28,500 RMP&lt;/LI&gt;&lt;LI&gt;Micro ball bearing&lt;/LI&gt;&lt;LI&gt;Low noise Nylatron gears for 1/8.75 propeller reductor&lt;/LI&gt;&lt;LI&gt;Tempered steel propeller shaft&lt;/LI&gt;&lt;LI&gt;Self-lubrificating bronze bearing&lt;/LI&gt;&lt;LI&gt;Specific high propelled drag for great maneuverability&lt;/LI&gt;&lt;LI&gt;8 MIPS AVR CPU per motor controller&lt;/LI&gt;&lt;LI&gt;3 elements 1000 mA/H LiPo rechargeable battery (Autonomy: 12 minutes)&lt;/LI&gt;&lt;LI&gt;Emergency stop controlled by software&lt;/LI&gt;&lt;LI&gt;Fully reprogrammable motor controller&lt;/LI&gt;&lt;LI&gt;Water resistant motor’s electronic controller&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I can see the 5 pins coming from the motor.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 1 Battery 11.4V&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 2 VCC 5V (ATMega8a VCC Pin4+5)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 3 TX+RX (ATmega8a Pin30+31)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 4 IRQ to main board (ATmega8a PC3 Pin26)&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 5 GND&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 1 Red&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 2 White&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 3 Motor1=Yellow,M2=Orange,M3=Blue,M4=Green&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 4 Motor1=Purple,M2=Gray,M3=Brown,M4=Pink&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Pin 5 Black&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;These are the pin information that I found.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;I want to control them with FRDM-KL25Z board and fly it.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;could u give me some advice?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2015 15:52:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441755#M11966</guid>
      <dc:creator>yonggunlee</dc:creator>
      <dc:date>2015-05-19T15:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can FRDM-KL25Z control 4 different motor separately?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441756#M11967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Yonggun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you said, the motor type is&amp;nbsp; "brushless inrunner motors. 14.5W 28,500 RMP", it is a brushless DC motor(BLDC), the motor should have three power lines:PhA/PHB/PHC, in most case, the motor should have position sensor: Hall or Encoder. In conslusion, the interface of the BLDC should have the signal:&lt;/P&gt;&lt;P&gt;power lines: PhA, PhB, PHC, all are input pins,&lt;/P&gt;&lt;P&gt;The Hall sensor needs 5V power supply, so this is the sensor signals from motor perspective:&lt;/P&gt;&lt;P&gt;+5V Dc power line, input pin&lt;/P&gt;&lt;P&gt;GND&lt;/P&gt;&lt;P&gt;HallA signal, output pin&lt;/P&gt;&lt;P&gt;HallB signal, output pin&lt;/P&gt;&lt;P&gt;HallC signal, output pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The required&amp;nbsp; resource of BLDC motor includes 6 PWM signals, three Timer with capture function to provide position and speed, ADC to sample Dc voltage and over current, PIT to generate interrupt with fixed cycle, SCI port to display parameter&lt;/P&gt;&lt;P&gt;If the motor type is BLDC, the FRDM-KL25Z can only control one BLDC, because the total FTM channels is 8+2+2=12, some of channels are used to capture hall sensor signals.&lt;/P&gt;&lt;P&gt;If the motor type is DC, it is dependent on the layout you are using, if you use H bridge to control a DC motor, you can control 3 Dc motor, if you use one PWM pin to control one DC motor, you can control 12 DC motor.&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;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2015 06:17:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Can-FRDM-KL25Z-control-4-different-motor-separately/m-p/441756#M11967</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2015-05-20T06:17:33Z</dc:date>
    </item>
  </channel>
</rss>

