This is what I have http://cache.freescale.com/files/microcontrollers/doc/user_guide/LVMCDBLDCPMSMUG.pdf with the bldc motor etc. I have started a project in codewarrior. I need some hints about my code's structure. Im not very good with c programming. I am working on my final year project which is to control a bldc motor with and without sensors. I bought the motor kit from freescale but I just need some help.