STM32: optimized clock speed adjustment