element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Make Life Accessible
  • Challenges & Projects
  • Design Challenges
  • Make Life Accessible
  • More
  • Cancel
Make Life Accessible
Blog Make Life Accessible - Motor Suite Test - blog 8
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 29 May 2016 9:24 PM Date Created
  • Views 1952 views
  • Likes 7 likes
  • Comments 19 comments
  • make life accessible
  • pmsm_motor_control
  • accessibility_projects
  • kinetis_motor_suite
  • mla
  • clear_walk
Related
Recommended

Make Life Accessible - Motor Suite Test - blog 8

dougw
dougw
29 May 2016

This entry is a first exploration of the Kinetis Motor Suite capabilities, demonstrating motor reversing and sequencing through several states.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Next time I will try to hook up the Hall effect sensors to see if I can work at lower speeds.

 

Relevant Links

MLA Design Challenge

 

The full set of Clear Walk project blogs can be found here:

Make Life Accessible

  • Sign in to reply

Top Comments

  • kulky64
    kulky64 over 9 years ago +2
    How do you think will Hall effect sensors help you at lower speeds? The state of the Hall effect sensors changes every 60 degrees of electrical revolution. This is of little help to FOC algorithm. They…
  • shabaz
    shabaz over 9 years ago in reply to dougw +2
    Hi Doug, The hall sensors should always allow you to know which phase in the commutation cycle you're at (i.e. even with a stall), whereas with the sensorless method you won't know at very slow speeds…
  • kulky64
    kulky64 over 9 years ago in reply to dougw +2
    All true, but applies to BLDC motor with six-step commutation (sometimes called block commutation). But you are dealing with PMSM motor and Field Oriented Control (FOC) with all three phases driven at…
Parents
  • stevesmythe
    stevesmythe over 6 years ago

    Hi Doug

     

    I have a favour to ask you. I am roadtesting the FRDM-KV31, LVPMSM motor controller and Linix motor. After reading your design challenge blog, and downloading various documents, it is clear that getting these components to work with the Kinetis Motor Suite will depend on exactly the right combination of obsolete software. I also found that the KV31F boards come with different firmware, depending on their age.

     

    To save me hours of pain (like the 33+ hours you experienced), it would be great if you could firstly check what your KV31F board enumerates as when you plug it into a PC. This assumes a) you still have it, b) you can still find it!

     

    It should either show up as MBED <drive letter> , or FRDM-KV31F <drive letter>.

     

    Next, can you remember or have you a note of, which versions of:

    • Kinetis Motor Suite
    • Kinetis SDK

    worked with Kinetis Design Studio v3.0 and the hardware you were sent? I appreciate that almost three years have elapsed since this project.

     

    Any answers at all would help narrow down what I need! I asked NXP for some help but they said that they "will no longer be licensing" KMS and pointed me towards MCUXpresso (without KMS). I can do this, but I'd rather have a play with KMS first.

     

    Thanks in anticipation.

     

    Steve

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 6 years ago in reply to stevesmythe

    Hi Steve,

     

    I've not used this board, Doug can comment way better than me, but if you wish to use it as a standalone board, or with your own code (appreciate it won't replace KMS) then mbed could be a nice general way to use the board.

    I have used mbed and KDS or its predecessor, on other FRDM boards - for the quickest results, mbed is worth using I think, although I liked KDS at the time too. I just have not used that recently, I always now use mbed for quick projects.

     

    For mbed, all the FRDM boards I've used have had old code on them that didn't work properly with Windows 10, so I wrote up what needed to be done here:

    Working with FRDM Boards and ARM mbed

    I don't have the FRDM-KV31 so can't check for you, but it could be worth scanning through that blog post, in case the "Upgrading the FRDM board Bootloader and OpenSDA Firmware" section there works for you. There is a file that seems suited for your board if you follow the links there:

    image

    Sorry this isn't a complete answer since I've never used the motor board or KMS either : ( still, I hope the info helps to get the board running a hello world blinking LED etc., if you prefer that with mbed.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • stevesmythe
    stevesmythe over 6 years ago in reply to shabaz

    Thanks Shabaz. I'll definitely give MBED a go but I want to have a look at KMS if I can get it working. It looks interesting just for its own sake.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • stevesmythe
    stevesmythe over 6 years ago in reply to shabaz

    Thanks Shabaz. I'll definitely give MBED a go but I want to have a look at KMS if I can get it working. It looks interesting just for its own sake.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • dougw
    dougw over 6 years ago in reply to stevesmythe

    It is nice. Somebody spent a lot of effort on that software. It not only analyzes and controls motors, including full sequences, it also generates corresponding source code to embed in application projects.

    I will see if I can dig up the versions I finally got to work ....

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • stevesmythe
    stevesmythe over 6 years ago in reply to dougw

    Don't worry Doug.

     

    I made an educated guess and came up with:

    • FRDM-KV31F <drive letter>
    • Kinetis Design Studio v3.0.0
    • Kinetis SDK 1.3.0
    • Kinetis Motor Suite 1.1.0

     

    and it worked!

     

    [addendum]

    Oh, yes. I installed it all on a Windows 7 PC for added period authenticity (and to avoid getting confused with my MCUXpresso installation and other SDKs. That motor is super powerful and smooth.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 6 years ago in reply to stevesmythe

    Well done. When the software works, it has a lot of features.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube