power supply and serial for STM32

ref