When driving a BLCD motor, is very important that the controller have a dedicated hardware, synchronized PWM etc. STM32 is the solution, it was not trivial, of course. But not so hard, there are a lot of information, libraries and hardware schematics for the controller and inverter. It was so funny! ;)
I have designed and made a motor controller, some power stages for different motors and a kind of encoder for BLCD, for a very low-medium speed four motor autonomous vehicle (20km/h max speed). Also, 4WD, in two ways, with servos and with wheel rotation.
I use in-runner RC motors (ESky, very cheap) with Hall Effect sensors, and is something like driving steep by steep motors.
With one of the cheap commercial RC motor controllers, I think that it is impossible to achieve real control when driving at very low speed.
I have made all the PCBs and sensors mounts at home with my cnc milling machine, I put three sensors for each motor with 120º distance.
What about motor control perpherical of the LPC1668?
Can I use it?
Regards!