Hello Joshua
Are there any application notes available for what you need to achieve? Eg. there are some for 3-phase sensorless control:
3-phase PMSM Sensorless Refere|Freescale
http://cache.freescale.com/files/32bit/doc/app_note/AN4862.pdf?fpsp=1
If there is such an application note for your requirements you may be able to use it directly.
I have integrated two such on KV parts as shown here:
µTasker Kinetis TWR-KV10Z32 support
µTasker Kinetis TWR-KV31F120M support
The KVs have either m0+ or M4 cores (and there should be an M7 one shortly). They include things like HW based square root calculation, often required for such control, which may allow a cheaper part to be used but can of course also be achived with a more powerful device clocked at faster speeds (or DSPs).
From my experience with such control it is based on high priority HW interrupts (time based or synchronised to signals) doing the algorithm calculation as efficiently as possible and feedback via PWM outputs. The kit that can be purchased contains various such algorithm implementations optimised to specific processors and will no doubt save development time. Whether such a kit is absolutely necessary depends on the complications involved and the experience avaiable - it probably contains a lot which you will not need for a single project.
I would first look around for an application note because it will probably already include the main code to do what you want and then get to known well the HW available and tweak it to get the most out of it in the specific implementation.
Regards
Mark
Kinetis: µTasker Kinetis support
KV10: µTasker Kinetis TWR-KV10Z32 support
KV31: µTasker Kinetis TWR-KV31F120M support
For the complete "out-of-the-box" Kinetis experience and faster time to market