Getting started with STM32 and Motor Control