Maybe you should ask your question over at the Arduino for stm32 forum. They specialise in STM32 chips.