DocID025743 Rev 3
31/113
STM32F031x4 STM32F031x6
Pinouts and pin description
33
44
31
31
1
A4
1
BOOT0
I
B
-
Boot memory selection
45
-
32
-
-
-
PB8
I/O
FTf
(3)
I2C1_SCL,
TIM16_CH1
-
46
-
-
-
-
-
PB9
I/O
FTf
-
I2C1_SDA,
IR_OUT,
TIM17_CH1,
EVENTOUT
-
47
32
0
-
E1
-
VSS
S
-
-
Ground
48
1
1
-
-
-
VDD
S
-
-
Digital power supply
1.
PC13, PC14 and PC15 are supplied through the power switch. Since the switch only sinks a limited amount of current
(3 mA), the use of GPIOs PC13 to PC15 in output mode is limited:
- The speed should not exceed 2 MHz with a maximum load of 30 pF
- These GPIOs must not be used as current sources (e.g. to drive an LED).
2.
After the first RTC domain power-up, PC13, PC14 and PC15 operate as GPIOs. Their function then depends on the content
of the RTC registers which are not reset by the system reset. For details on how to manage these GPIOs, refer to the RTC
domain and RTC register descriptions in the reference manual.
3.
On the LQFP32 package, PB2 and PB8 should be treated as unconnected pins (even when they are not available on the
package, they are not forced to a defined level by hardware).
4.
After reset, these pins are configured as SWDIO and SWCLK alternate functions, and the internal pull-up on the SWDIO pin
and the internal pull-down on the SWCLK pin are activated.
Table 11. Pin definitions (continued)
Pin number
Pin name
(function after
reset)
Pin type
I/O
structure
Notes
Pin functions
LQ
FP4
8
LQ
FP3
2
UFQFPN3
2
UFQFPN2
8
WLCSP25
TSSOP20
Alternate functions
Additional
functions
微可Vicor——值得信赖的元器件供应商
http://www.vicor.top/
021-31660491
微可Vicor——值得信赖的元器件供应商
http://www.vicor.top/
021-31660491