2019-03-04 12:22 PM
The Rev 4 data sheet for the STM32F030R8 lists the pins for
SPI1 on both pins 20-23 and 50,55-77.
I2C1 on 58-59 and 61-62, and
UART1 on 42-43 and 58-59
Which is correct, or are they selectable via registers?
2019-03-04 12:25 PM
Usually the GPIO registers come with MODER and AF (except with STM32F103 which is older gen).
Datasheet have the alternate function table (AF 0..15) for all pins from PA0,1,2,3,4.... and up.