Simplifying BLDC and FOC motor control with NXP's LPC1500 microcontrollers