Improve STM32 SPI baudrate generation.