Professional Documents
Culture Documents
Features
• Core: ARM® 32-bit Cortex®-M0 CPU,
frequency up to 48 MHz
LQFP32 7x7 mm UFQFPN32 5x5 mm WLCSP25 TSSOP20
• Memories LQFP48 7x7 mm UFQFPN28 4x4 mm 2.1x2.1 mm 6.5x4.4 mm
– 16 to 32 Kbytes of Flash memory
– 1 x 16-bit timer, with IC/OC and OCN,
– 4 Kbytes of SRAM with HW parity deadtime generation, emergency stop and
• CRC calculation unit modulator gate for IR control
• Reset and power management – 1 x 16-bit timer with 1 IC/OC
– Digital and I/Os supply: 2.0 to 3.6 V – Independent and system watchdog timers
– Analog supply: VDDA = from VDD to 3.6 V – SysTick timer: 24-bit downcounter
– Power-on/Power-down reset (POR/PDR) • Calendar RTC with alarm and periodic wakeup
– Programmable voltage detector (PVD) from Stop/Standby
– Low power modes: Sleep, Stop and • Communication interfaces
Standby – 1 x I2C interface, supporting Fast Mode
– VBAT supply for RTC and backup registers Plus (1 Mbit/s) with 20 mA current sink,
• Clock management SMBus/PMBus, and wakeup from Stop
mode
– 4 to 32 MHz crystal oscillator
– 1 x USART supporting master synchronous
– 32 kHz oscillator for RTC with calibration
SPI and modem control, ISO7816
– Internal 8 MHz RC with x6 PLL option interface, LIN, IrDA capability, auto baud
– Internal 40 kHz RC oscillator rate detection and wakeup feature
• Up to 39 fast I/Os – 1 x SPI (18 Mbit/s) with 4 to 16
– All mappable on external interrupt vectors programmable bit frames, with I2S interface
– Up to 26 I/Os with 5 V tolerant capability multiplexed
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.1 ARM®-Cortex®-M0 core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.2 Memories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.3 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11
3.4 Cyclic redundancy check calculation unit (CRC) . . . . . . . . . . . . . . . . . . . 12
3.5 Power management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5.2 Power supply supervisors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5.3 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5.4 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.6 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.7 General-purpose inputs/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.8 Direct memory access controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.9 Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.9.1 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 15
3.9.2 Extended interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . 15
3.10 Analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.10.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.10.2 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.10.3 VBAT battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.11 Timers and watchdogs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.11.1 Advanced-control timer (TIM1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.11.2 General-purpose timers (TIM2, 3, 14, 16, 17) . . . . . . . . . . . . . . . . . . . . 17
3.11.3 Independent watchdog (IWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.11.4 System window watchdog (WWDG) . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.11.5 SysTick timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.12 Real-time clock (RTC) and backup registers . . . . . . . . . . . . . . . . . . . . . . 19
3.13 Inter-integrated circuit interface (I2C) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.14 Universal synchronous/asynchronous receiver/transmitter (USART) . . . 20
5 Memory mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
6 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
6.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
6.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.3.2 Operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . 41
6.3.3 Embedded reset and power control block characteristics . . . . . . . . . . . 42
6.3.4 Embedded reference voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.3.5 Supply current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.3.6 Wakeup time from low-power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.3.7 External clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.3.8 Internal clock source characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
6.3.9 PLL characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.3.10 Memory characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.3.11 EMC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
6.3.12 Electrical sensitivity characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
6.3.13 I/O current injection characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.3.14 I/O port characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.3.15 NRST pin characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
6.3.16 12-bit ADC characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
6.3.17 Temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
6.3.18 VBAT monitoring characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
6.3.19 Timer characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
7 Package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
7.1 LQFP48 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
7.2 LQFP32 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
7.3 UFQFPN32 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
7.4 UFQFPN28 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
7.5 WLCSP25 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
7.6 TSSOP20 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
7.7 Thermal characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
7.7.1 Reference document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
7.7.2 Selecting the product temperature range . . . . . . . . . . . . . . . . . . . . . . 100
List of tables
List of figures
1 Introduction
This datasheet provides the ordering information and mechanical device characteristics of
the STM32F031x4/x6 microcontrollers.
This document should be read in conjunction with the STM32F0xxxx reference manual
(RM0091). The reference manual is available from the STMicroelectronics website
www.st.com.
For information on the ARM® Cortex®-M0 core, please refer to the Cortex®-M0 Technical
Reference Manual, available from the www.arm.com website.
2 Description
32:(5
6:&/. 6HULDO:LUH
6:',2 'HEXJ 92/75(* 9'' WR9
DV$) 9'' 9WR9 966
2EO
PHPRU\
LQWHUIDFH
)ODVK*3/
)ODVK
8SWR.%
#9''
&257(;0&38 ELW
I0$; 0+] 6833/<
683(59,6,21
325 1567
65$0
%XVPDWUL[
FRQWUROOHU
65$0
.% 5HVHW 9''$
,QW 3253'5 966$
19,& #9''$
9''
+6, 39'
5&0+]
+6,
5&0+] #9''$
3//&/. #9''
3//
/6,
*3'0$ 5&N+] ;7$/26& 26&B,1
FKDQQHOV 0+] 26&B287
,QG:LQGRZ:'*
3RZHU
5(6(7 &/2&. &RQWUROOHU 9''
&21752/
3$>@ *3,2SRUW$ #9%$7 9%$7 WR9
$+%GHFRGHU
FKDQQHOV
3:07,0(5 FRPSOFKDQQHOV
$+% %5.(75LQSXWDV$)
$3% 7,0(5ELW FK(75DV$)
7,0(5 FK(75DV$)
$) (;7,7:.83
7,0(5 FKDQQHODV$)
026,6' FKDQQHO
7,0(5
0,620&. FRPSO%5.DV$)
63,,6 :LQGRZ:'*
6&.&. FKDQQHO
166:6DV$) 7,0(5
FRPSO%5.DV$)
[
$'LQSXW ELW$'& ,) 6<6&)*,) 5;7;&76576
86$57
&.DV$)
9''$ 6&/6'$60%$
966$ ,&
P$)0DV$)
#9''$
3 Functional overview
3.2 Memories
The device has the following features:
• 4 Kbytes of embedded SRAM accessed (read/write) at CPU clock speed with 0 wait
states and featuring embedded parity checking with exception generation for fail-critical
applications.
• The non-volatile memory is divided into two arrays:
– 16 to 32 Kbytes of embedded Flash memory for programs and data
– Option bytes
The option bytes are used to write-protect the memory (with 4 KB granularity) and/or
readout-protect the whole memory with the following options:
– Level 0: no readout protection
– Level 1: memory readout protection, the Flash memory cannot be read from or
written to if either debug features are connected or boot in RAM is selected
–
®
Level 2: chip readout protection, debug features (Cortex -M0 serial wire) and
boot in RAM selection disabled
In Standby mode, it is put in power down mode. In this mode, the regulator output is in high
impedance and the kernel circuitry is powered down, inducing zero consumption (but the
contents of the registers and SRAM are lost).
)/,7)&/. )ODVKPHPRU\
SURJUDPPLQJ
,&6: LQWHUIDFH
0+] +6, +6, +6,
+6,5& ,&
6<6&/.
,6
$+%FRUHPHPRU\'0$
+&/. &RUWH[)&/.IUHHUXQFORFN
6: 6<6&/.
3//65& 3//08/ &RUWH[
+6, V\VWHPWLPHU
3// « 3&/.
3//&/. $3%
[[ «
+6( SHULSKHUDOV
[
35(',9
+35( 335(
&66
335(
[[ 7,0
26&B287 +6(
0+]
+6(26& 86$576:
26&B,1 3&/.
/6( 6<6&/.
86$57
+6,
/6(
26&B,1 57&&/.
N+] /6( 57&
/6(26&
26&B287
57&6(/
06Y9
An analog watchdog feature allows very precise monitoring of the converted voltage of one,
some or all selected channels. An interrupt is generated when the converted voltage is
outside the programmed thresholds.
TIM2, TIM3
STM32F031x4/x6 devices feature two synchronizable 4-channel general-purpose timers.
TIM2 is based on a 32-bit auto-reload up/downcounter and a 16-bit prescaler. TIM3 is based
on a 16-bit auto-reload up/downcounter and a 16-bit prescaler. They feature 4 independent
channels each for input capture/output compare, PWM or one-pulse mode output. This
gives up to 12 input captures/output compares/PWMs on the largest packages.
The TIM2 and TIM3 general-purpose timers can work together or with the TIM1 advanced-
control timer via the Timer Link feature for synchronization or event chaining.
TIM2 and TIM3 both have independent DMA request generation.
These timers are capable of handling quadrature (incremental) encoder signals and the
digital outputs from 1 to 3 hall-effect sensors.
Their counters can be frozen in debug mode.
TIM14
This timer is based on a 16-bit auto-reload upcounter and a 16-bit prescaler.
TIM14 features one single channel for input capture/output compare, PWM or one-pulse
mode output.
Its counter can be frozen in debug mode.
In addition, I2C1 provides hardware support for SMBUS 2.0 and PMBUS 1.1: ARP
capability, Host notify protocol, hardware CRC (PEC) generation/verification, timeouts
verifications and ALERT protocol management. I2C1 also has a clock domain independent
from the CPU clock, allowing the I2C1 to wake up the MCU from Stop mode on address
match.
The I2C peripheral can be served by the DMA controller.
%227
7RSYLHZ
3$
3$
9''
966
3%
3%
3%
3%
3%
3%
3%
9%$7 3)
3& 3)
3&26&B,1 3$
3&26&B287 3$
3)26&B,1 3$
3)26&B287 3$
1567
/4)3 3$
966$ 3$
9''$ 3%
3$ 3%
3$ 3%
3$ 3%
3%
3%
3%
3%
966
9''
3$
3$
3$
3$
3$
3%
06Y9
3$
966
3%
3%
3%
3%
3%
7RSYLHZ
9'' 3$
3)26&B,1 3$
3)26&B287 3$
1567 3$
9''$
/4)3 3$
3$ 3$
3$ 3$
3$ 9''
3%
3%
966
3$
3$
3$
3$
3$
06Y9
7RSYLHZ
%227
3$
3%
3%
3%
3%
3%
3%
9'' 3$
3)26&B,1 3$
3)26&B287 3$
1567 3$
9''$ 8)4)31 3$
3$ 3$
3$ ([SRVHGSDG 3$
3$ 9''
966
3%
3%
3%
3$
3$
3$
3$
3$
06Y9
7RSYLHZ
3$
3$
3%
3%
3%
3%
3%
%227 3$
3)26&B,1 3$
3)26&B287 3$
1567 8)4)31 3$
9''$ 9''
3$ 966
3$ 3%
3%
3$
3$
3$
3$
3$
3$
06Y9
7RSYLHZ
:/&63
06Y9
1. The above figure shows the package in top view, changing from bottom view in the previous document
versions.
7RSYLHZ
76623
%227 3$
3)26&B,1 3$
3)26&B287 3$
1567 3$
9''$ 9''
3$ 966
3$ 3%
3$ 3$
3$ 3$
3$ 3$
06Y9
Unless otherwise specified in brackets below the pin name, the pin function
Pin name
during and after reset is the same as the actual pin name
S Supply pin
Pin type I Input-only pin
I/O Input / output pin
FT 5 V-tolerant I/O
FTf 5 V-tolerant I/O, FM+ capable
TTa 3.3 V-tolerant I/O directly connected to ADC
I/O structure
TC Standard 3.3V I/O
B Dedicated BOOT0 pin
RST Bidirectional reset pin with embedded weak pull-up resistor
Unless otherwise specified by a note, all I/Os are set as floating inputs during
Notes
and after reset
Alternate
Functions selected through GPIOx_AFR registers
functions
Pin
functions Additional
Functions directly selected/enabled through peripheral registers
functions
Pin name
UFQFPN32
UFQFPN28
WLCSP25
TSSOP20
LQFP48
LQFP32
I/O structure
Pin type
Pin name
UFQFPN32
UFQFPN28
WLCSP25
TSSOP20
LQFP48
LQFP32
PF1-OSC_OUT
6 3 3 3 B5 3 I/O FT - - OSC_OUT
(PF1)
Device reset input / internal reset output
7 4 4 4 C5 4 NRST I/O RST -
(active low)
16 16 E1 15
8 (3) 0(3) (3) (3) (3) VSSA S - Analog ground
I/O structure
Pin type
Pin name
UFQFPN32
UFQFPN28
WLCSP25
TSSOP20
LQFP48
LQFP32
SPI1_MOSI,
I2S1_SD,
TIM3_CH2,
17 13 13 13 E4 13 PA7 I/O TTa - TIM14_CH1, ADC_IN7
TIM1_CH1N,
TIM17_CH1,
EVENTOUT
TIM3_CH3,
18 14 14 14 E3 - PB0 I/O TTa - TIM1_CH2N, ADC_IN8
EVENTOUT
TIM3_CH4,
19 15 15 15 E2 14 PB1 I/O TTa - TIM14_CH1, ADC_IN9
TIM1_CH3N
(4)
20 - 16 - - - PB2 I/O FT - -
TIM2_CH3,
21 - - - - - PB10 I/O FTf - -
I2C1_SCL
TIM2_CH4,
22 - - - - - PB11 I/O FTf - EVENTOUT, -
I2C1_SDA
23 16 0 16 E1 15 VSS S - - Ground
24 17 17 17 D1 16 VDD S - - Digital power supply
TIM1_BKIN,
25 - - - - - PB12 I/O FT - EVENTOUT, -
SPI1_NSS
TIM1_CH1N,
26 - - - - - PB13 I/O FT - -
SPI1_SCK
TIM1_CH2N,
27 - - - - - PB14 I/O FT - -
SPI1_MISO
TIM1_CH3N,
28 - - - - - PB15 I/O FT - RTC_REFIN
SPI1_MOSI
USART1_CK,
TIM1_CH1,
29 18 18 18 D2 - PA8 I/O FT - -
EVENTOUT,
MCO
I/O structure
Pin type
Pin name
UFQFPN32
UFQFPN28
WLCSP25
TSSOP20
LQFP48
LQFP32
USART1_TX,
30 19 19 19 C1 17 PA9 I/O FTf - TIM1_CH2, -
I2C1_SCL
USART1_RX,
TIM1_CH3,
31 20 20 20 B1 18 PA10 I/O FTf - -
TIM17_BKIN,
I2C1_SDA
USART1_CTS,
32 21 21 - - - PA11 I/O FT - TIM1_CH4, -
EVENTOUT
USART1_RTS,
33 22 22 - - - PA12 I/O FT - TIM1_ETR, -
EVENTOUT
PA13 (5) IR_OUT,
34 23 23 21 A1 19 I/O FT -
(SWDIO) SWDIO
35 - - - - - PF6 I/O FTf - I2C1_SCL -
36 - - - - - PF7 I/O FTf - I2C1_SDA -
PA14 (5) USART1_TX,
37 24 24 22 A2 20 I/O FT -
(SWCLK) SWCLK
SPI1_NSS,
I2S1_WS,
(6)
38 25 25 23 - - PA15 I/O FT TIM2_CH_ETR, -
EVENTOUT,
USART1_RX
SPI1_SCK,
(6) I2S1_CK,
39 26 26 24 - - PB3 I/O FT -
TIM2_CH2,
EVENTOUT
SPI1_MISO,
(6) I2S1_MCK,
40 27 27 25 - - PB4 I/O FT -
TIM3_CH1,
EVENTOUT
I/O structure
Pin type
Pin name
UFQFPN32
UFQFPN28
WLCSP25
TSSOP20
LQFP48
LQFP32
SPI1_MOSI,
I2S1_SD,
41 28 28 26 C2 - PB5 I/O FT - I2C1_SMBA, -
TIM16_BKIN,
TIM3_CH2
I2C1_SCL,
42 29 29 27 B2 - PB6 I/O FTf - USART1_TX, -
TIM16_CH1N
I2C1_SDA,
43 30 30 28 A3 - PB7 I/O FTf - USART1_RX, -
TIM17_CH1N
44 31 31 1 A4 1 BOOT0 I B - Boot memory selection
(4) I2C1_SCL,
45 - 32 - - - PB8 I/O FTf -
TIM16_CH1
I2C1_SDA,
IR_OUT,
46 - - - - - PB9 I/O FTf - -
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. VSSA pin is not in package pinout. VSSA pad of the die is connected to VSS pin.
4. 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).
5. 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.
6. On the WLCSP25 package, PB3, PB4 and PA15 must be set to defined levels by software, as their corresponding pads on
the silicon die are left unconnected. Apply same recommendations as for unconnected pins.
TIM2_CH1_
PA0 - USART1_CTS - - - - -
ETR
PA1 EVENTOUT USART1_RTS TIM2_CH2 - - - - -
PA2 - USART1_TX TIM2_CH3 - - - - -
PA3 - USART1_RX TIM2_CH4 - - - - -
SPI1_NSS,
PA4 USART1_CK - - TIM14_CH1 - - -
I2S1_WS
SPI1_SCK, TIM2_CH1_
PA5 - - - - - -
I2S1_CK ETR
SPI1_MISO,
PA6 TIM3_CH1 TIM1_BKIN - - TIM16_CH1 EVENTOUT -
DocID025743 Rev 6
I2S1_MCK
SPI1_MOSI,
PA7 TIM3_CH2 TIM1_CH1N - TIM14_CH1 TIM17_CH1 EVENTOUT -
I2S1_SD
PA8 MCO USART1_CK TIM1_CH1 EVENTOUT - - - -
PA9 - USART1_TX TIM1_CH2 - I2C1_SCL - - -
PA10 TIM17_BKIN USART1_RX TIM1_CH3 - I2C1_SDA - - -
PA11 EVENTOUT USART1_CTS TIM1_CH4 - - - - -
PA12 EVENTOUT USART1_RTS TIM1_ETR - - - - -
PA13 SWDIO IR_OUT - - - - - -
STM32F031x4 STM32F031x6
STM32F031x4 STM32F031x6 Memory mapping
5 Memory mapping
To the difference of STM32F031x6 memory map in Figure 9, the two bottom code memory
spaces of STM32F031x4 end at 0x0000 3FFF and 0x0800 3FFF, respectively.
[))
2ESERVED
!("
[
[(
&RUWH[0LQWHUQDO
[( SHULSKHUDOV
2ESERVED
2ESERVED
[&
[))
!("
2ESERVED
[
2ESERVED
[$
[
2ESERVED
6\VWHPPHPRU\
[
2ESERVED
[)))(&
!0"
[
[
2ESERVED
2ESERVED
[ 3HULSKHUDOV
[
2ESERVED
)ODVKPHPRU\
[ 65$0
[
2ESERVED
&2'(
[
&LASH SYSTEM
MEMORY OR 32!-
[
DEPENDING ON "//4
CONFIGURATION
[
069
6 Electrical characteristics
Figure 10. Pin loading conditions Figure 11. Pin input voltage
0&8SLQ 0&8SLQ
& S) 9,1
069 069
9%$7
/6(57&
±9
:DNHXSORJLF
3RZHUVZLWFK
9'' 9&25(
[9''
5HJXODWRU
9'',2
287
/HYHOVKLIWHU
.HUQHOORJLF
[Q) ,2 &38'LJLWDO
*3,2V ORJLF
[) ,1 0HPRULHV
[966
9''$
9''$
966$
06Y9
Caution: Each power supply pair (VDD/VSS, VDDA/VSSA etc.) must be decoupled with filtering ceramic
capacitors as shown above. These capacitors must be placed as close as possible to, or
below, the appropriate pins on the underside of the PCB to ensure the good functionality of
the device.
, ''B9%$7
9%$7
,''
9''
,''$
9''$
069
ΣIVDD Total current into sum of all VDD power lines (source)(1) 120
(1)
ΣIVSS Total current out of sum of all VSS ground lines (sink) -120
(1)
IVDD(PIN) Maximum current into each VDD power pin (source) 100
IVSS(PIN) Maximum current out of each VSS ground pin (sink)(1) -100
Output current sunk by any I/O and control pin 25
IIO(PIN)
Output current source by any I/O and control pin -25
(2)
Total output current sunk by sum of all I/Os and control pins 80
ΣIIO(PIN)
Total output current sourced by sum of all I/Os and control pins(2) -80 mA
Injected current on B, FT and FTf pins -5/+0(4)
IINJ(PIN) (3) Injected current on TC and RST pin ±5
(5)
Injected current on TTa pins ±5
ΣIINJ(PIN) Total injected current (sum of all I/O and control pins)(6) ± 25
1. All main power (VDD, VDDA) and ground (VSS, VSSA) pins must always be connected to the external power supply, in the
permitted range.
2. This current consumption must be correctly distributed over all I/Os and control pins. The total output current must not be
sunk/sourced between two consecutive power supply pins referring to high pin count QFP packages.
3. A positive injection is induced by VIN > VDDIOx while a negative injection is induced by VIN < VSS. IINJ(PIN) must never be
exceeded. Refer to Table 15: Voltage characteristics for the maximum allowed input voltage values.
4. Positive injection is not possible on these I/Os and does not occur for input voltages lower than the specified maximum
value.
5. On these I/Os, a positive injection is induced by VIN > VDDA. Negative injection disturbs the analog performance of the
device. See note (2) below Table 52: ADC accuracy.
6. When several inputs are submitted to a current injection, the maximum ΣIINJ(PIN) is the absolute sum of the positive and
negative injected currents (instantaneous values).
VREFINT Internal reference voltage –40 °C < TA < +105 °C 1.2 1.23 1.25 V
ADC_IN17 buffer startup
tSTART - - - 10(1) µs
time
ADC sampling time when
tS_vrefint reading the internal - 4(1) - - µs
reference voltage
Internal reference voltage
∆VREFINT spread over the VDDA = 3 V - - 10(1) mV
temperature range
Table 23. Typical and maximum current consumption from VDD at 3.6 V
All peripherals enabled All peripherals disabled
Table 23. Typical and maximum current consumption from VDD at 3.6 V (continued)
All peripherals enabled All peripherals disabled
Table 24. Typical and maximum current consumption from the VDDA supply
VDDA = 2.4 V VDDA = 3.6 V
Conditions
Symbol Parameter (1) fHCLK Max @ TA(2) Max @ TA(2) Unit
Typ Typ
25 °C 85 °C 105 °C 25 °C 85 °C 105 °C
Table 25. Typical and maximum current consumption in Stop and Standby modes
Typ @VDD (VDD = VDDA) Max(1)
Sym- Para-
Conditions Unit
bol meter TA = TA = TA =
2.0 V 2.4 V 2.7 V 3.0 V 3.3 V 3.6 V
25 °C 85 °C 105 °C
Regulator in run
Supply mode, all oscillators 15 15.1 15.3 15.5 15.7 16 18(2) 38 55(2)
current OFF
in Stop Regulator in low-
mode power mode, all 3.2 3.3 3.4 3.5 3.7 4 5.5(2) 22 41(2)
IDD oscillators OFF
Supply LSI ON and IWDG
0.8 1.0 1.1 1.2 1.4 1.5 - - -
current ON
in
Standby LSI OFF and IWDG
0.7 0.8 0.9 1.0 1.1 1.3 2(2) 2.5 3(2)
mode OFF
Regulator in run
Supply mode, all 1.9 2 2.2 2.3 2.5 2.6 3.5(2) 3.5 4.5(2)
current oscillators OFF
VDDA monitoring ON
current
in Stop Regulator in low-
mode power mode, all 1.1 1.2 1.2 1.2 1.3 1.4 - - -
oscillators OFF
Supply LSI ON and
1.5 1.6 1.7 1.8 1.9 2.0 - - -
current IWDG ON
in
Standby LSI OFF and
1 1.0 1.1 1.1 1.2 1.2 - - -
mode IWDG OFF
1. Data based on characterization results, not tested in production unless otherwise specified.
2. Data based on characterization results and tested in production (using one common test limit for sum of IDD and IDDA).
Table 26. Typical and maximum current consumption from the VBAT supply
Typ @ VBAT Max(1)
1.65 V
2.7 V
TA = TA = TA =
1.8 V
2.4 V
3.3 V
3.6 V
25 °C 85 °C 105 °C
Table 27. Typical current consumption, code executing from Flash memory,
running from HSE 8 MHz crystal
Typical run mode Typical Sleep mode unit
Symbol fHCLK
Parameter Peripheral Peripheral
Peripheral Peripheral -
s enabled s enabled
s disabled s disabled
trigger circuits used to discriminate the input value. Unless this specific configuration is
required by the application, this supply current consumption can be avoided by configuring
these I/Os in analog mode. This is notably the case of ADC input pins which should be
configured as analog inputs.
Caution: Any floating input pin can also settle to an intermediate voltage level or switch inadvertently,
as a result of external electromagnetic noise. To avoid current consumption related to
floating pins, they must either be configured in analog mode, or forced internally to a definite
digital value. This can be done either by using pull-up/down resistors or by configuring the
pins in output mode.
I/O dynamic current consumption
In addition to the internal peripheral current consumption measured previously (see
Table 29: Peripheral current consumption), the I/Os used by an application also contribute
to the current consumption. When an I/O pin switches, it uses the current from the I/O
supply voltage to supply the I/O pin circuitry and to charge/discharge the capacitive load
(internal or external) connected to the pin:
I SW = V DDIOx × f SW × C
where
ISW is the current sunk by a switching I/O to charge/discharge the capacitive load
VDDIOx is the I/O supply voltage
fSW is the I/O switching frequency
C is the total capacitance seen by the I/O pin: C = CINT + CEXT + CS
CS is the PCB board capacitance including the pad pin.
The test pin is configured in push-pull output mode and is toggled by software at a fixed
frequency.
4 MHz 0.07
8 MHz 0.15
VDDIOx = 3.3 V
C =CINT 16 MHz 0.31
24 MHz 0.53
48 MHz 0.92
4 MHz 0.18
4 MHz 0.66
VDDIOx = 2.4 V
CEXT = 47 pF 8 MHz 1.43
C = CINT + CEXT+ CS 16 MHz 2.45
C = Cint
24 MHz 4.97
1. CS = 7 pF (estimated value).
BusMatrix(1) 3.8
DMA1 6.3
SRAM 0.7
Flash memory interface 15.2
CRC 1.61
AHB µA/MHz
GPIOA 9.4
GPIOB 11.6
GPIOC 1.9
GPIOF 0.8
All AHB peripherals 47.5
APB-Bridge (2)
2.6
SYSCFG 1.7
(3)
ADC 4.2
TIM1 17.1
SPI1 9.6
USART1 17.4
TIM16 8.2
TIM17 8.0
APB µA/MHz
DBG (MCU Debug Support) 0.5
TIM2 17.4
TIM3 12.8
TIM14 6.0
WWDG 1.5
I2C1 5.1
PWR 1.2
All APB peripherals 110.9
1. The BusMatrix automatically is active when at least one master is ON (CPU or DMA1).
2. The APBx Bridge is automatically active when at least one peripheral is ON on the same Bus.
3. The power consumption of the analog part (IDDA) of peripherals such as ADC is not included. Refer to the
tables of characteristics in the subsequent sections.
Regulator in run
3.2 3.1 2.9 2.9 2.8 5
Wakeup from Stop mode
tWUSTOP
mode Regulator in low
7.0 5.8 5.2 4.9 4.6 9
power mode
µs
Wakeup from
tWUSTANDBY - 60.4 55.6 53.5 52 51 -
Standby mode
Wakeup from Sleep
tWUSLEEP - 4 SYSCLK cycles -
mode
WZ+6(+
9+6(+
9+6(/
WU+6( W
WI+6( WZ+6(/
7+6(
069
WZ/6(+
9/6(+
9/6(/
WU/6( W
WI/6( WZ/6(/
7/6(
069
For CL1 and CL2, it is recommended to use high-quality external ceramic capacitors in the
5 pF to 20 pF range (Typ.), designed for high-frequency applications, and selected to match
the requirements of the crystal or resonator (see Figure 16). CL1 and CL2 are usually the
same size. The crystal manufacturer typically specifies a load capacitance which is the
series combination of CL1 and CL2. PCB and MCU pin capacitance must be included (10 pF
can be used as a rough estimate of the combined pin and board capacitance) when sizing
CL1 and CL2.
Note: For information on selecting the crystal, refer to the application note AN2867 “Oscillator
design guide for ST microcontrollers” available from the ST website www.st.com.
5HVRQDWRUZLWKLQWHJUDWHG
FDSDFLWRUV
&/
26&B,1 I+6(
%LDV
0+] FRQWUROOHG
UHVRQDWRU 5) JDLQ
5(;7 26&B287
&/
069
Note: For information on selecting the crystal, refer to the application note AN2867 “Oscillator
design guide for ST microcontrollers” available from the ST website www.st.com.
5HVRQDWRUZLWKLQWHJUDWHG
FDSDFLWRUV
&/
26&B,1 I/6(
N+] 'ULYH
UHVRQDWRU SURJUDPPDEOH
DPSOLILHU
26&B287
&/
069
Note: An external resistor is not required between OSC32_IN and OSC32_OUT and it is forbidden
to add one.
Figure 18. HSI oscillator accuracy characterization results for soldered parts
."9
.*/
5<$>
"
069
-!8
-).
4 ; #=
!
-36
Software recommendations
The software flowchart must include the management of runaway conditions such as:
• Corrupted program counter
• Unexpected reset
• Critical Data corruption (for example control registers)
Prequalification trials
Most of the common failures (unexpected reset and program counter corruption) can be
reproduced by manually forcing a low state on the NRST pin or the Oscillator pins for 1
second.
To complete these trials, ESD stress can be applied directly on the device, over the range of
specification values. When unexpected behavior is detected, the software can be hardened
to prevent unrecoverable errors occurring (see application note AN1015).
Static latch-up
Two complementary static tests are required on six parts to assess the latch-up
performance:
• A supply overvoltage is applied to each power supply pin.
• A current injection is applied to each input, output and configurable I/O pin.
These tests are compliant with EIA/JESD 78A IC latch-up standard.
Weak pull-up
RPU equivalent resistor VIN = VSS 25 40 55 kΩ
(3)
Weak pull-down
RPD equivalent VIN = - VDDIOx 25 40 55 kΩ
resistor(3)
CIO I/O pin capacitance - - 5 - pF
1. Data based on design simulation only. Not tested in production.
2. The leakage could be higher than the maximum value, if negative current is injected on adjacent pins. Refer to Table 45:
I/O current injection susceptibility.
3. Pull-up and pull-down resistors are designed with a true resistance in series with a switchable PMOS/NMOS. This
PMOS/NMOS contribution to the series resistance is minimal (~10% order).
All I/Os are CMOS- and TTL-compliant (no software configuration required). Their
characteristics cover more than the strict CMOS-technology or TTL parameters. The
coverage of these requirements is shown in Figure 20 for standard I/Os, and in Figure 21 for
5 V-tolerant I/Os. The following curves are design simulation results, not tested in
production.
7(67('5$1*(
77/VWDQGDUGUHTXLUHPHQW
HQW
HTX LUHP
QG DUGU
6VWD
9,19 &02
[
9 '',2
9 ,+PLQ
',2[
81'(),1(',13875$1*(
9'
9,+PLQ
9'',2[
9,/PD[ XLUHPHQW
77/VWDQGDUGUHTXLUHPHQW
& 0 2 6 V WDQGDUGUHT
9'',2[
9,/PD[
7(67('5$1*(
9'',2[9
06Y9
Figure 21. Five volt tolerant (FT and FTf) I/O input characteristics
7(67('5$1*(
77/VWDQGDUGUHTXLUHPHQW
HQW
HTX LUHP
QG DUGU
6VWD
9,19 &02
[
9 '',2
81'(),1(',13875$1*(
9 ,+PLQ
'',2[
9
9,+PLQ
'',2[
9
9,/PD[ 77/VWDQGDUGUHTXLUHPHQW
XLUHPHQW
WD QGDUGUHT
[
&026V
9'',2
9,/PD[
7(67('5$1*(
9'',2[9
06Y9
VOL Output low level voltage for an I/O pin CMOS port(2) - 0.4
|IIO| = 8 mA V
VOH Output high level voltage for an I/O pin VDDIOx ≥ 2.7 V VDDIOx–0.4 -
VOL Output low level voltage for an I/O pin TTL port(2) - 0.4
|IIO| = 8 mA V
VOH Output high level voltage for an I/O pin VDDIOx ≥ 2.7 V 2.4 -
VOL(3) Output low level voltage for an I/O pin |IIO| = 20 mA - 1.3
V
VOH(3) Output high level voltage for an I/O pin VDDIOx ≥ 2.7 V VDDIOx–1.3 -
VOL(3) Output low level voltage for an I/O pin - 0.4
|IIO| = 6 mA V
VOH(3) Output high level voltage for an I/O pin VDDIOx–0.4 -
|IIO| = 20 mA
Output low level voltage for an FTf I/O pin in - 0.4 V
VOLFm+(3) VDDIOx ≥ 2.7 V
Fm+ mode
|IIO| = 10 mA - 0.4 V
1. The IIO current sourced or sunk by the device must always respect the absolute maximum rating specified in Table 15:
Voltage characteristics, and the sum of the currents sourced or sunk by all the I/Os (I/O ports and control pins) must always
respect the absolute maximum ratings ΣIIO.
2. TTL and CMOS outputs are compatible with JEDEC standards JESD36 and JESD52.
3. Data based on characterization results. Not tested in production.
Input/output AC characteristics
The definition and values of input/output AC characteristics are given in Figure 22 and
Table 48, respectively. Unless otherwise specified, the parameters given are derived from
tests performed under the ambient temperature and supply voltage conditions summarized
in Table 18: General operating conditions.
W U,2RXW W I,2RXW
069
([WHUQDO
UHVHWFLUFXLW 9''
538
1567 ,QWHUQDOUHVHW
)LOWHU
)
069
The formula above (Equation 1) is used to determine the maximum external impedance
allowed for an error below 1/4 of LSB. Here N = 12 (from 12-bit resolution).
966$
(* ([DPSOHRIDQDFWXDOWUDQVIHUFXUYH
7KHLGHDOWUDQVIHUFXUYH
(QGSRLQWFRUUHODWLRQOLQH
(7 7RWDO8QDMXVWHG(UURUPD[LPXPGHYLDWLRQ
EHWZHHQWKHDFWXDODQGLGHDOWUDQVIHUFXUYHV
(7 (2 2IIVHW(UURUPD[LPXPGHYLDWLRQ
EHWZHHQWKHILUVWDFWXDOWUDQVLWLRQDQGWKHILUVW
LGHDORQH
(* *DLQ(UURUGHYLDWLRQEHWZHHQWKHODVW
(2 (/
LGHDOWUDQVLWLRQDQGWKHODVWDFWXDORQH
(' 'LIIHUHQWLDO/LQHDULW\(UURUPD[LPXP
GHYLDWLRQEHWZHHQDFWXDOVWHSVDQGWKHLGHDORQHV
('
(/ ,QWHJUDO/LQHDULW\(UURUPD[LPXPGHYLDWLRQ
EHWZHHQDQ\DFWXDOWUDQVLWLRQDQGWKHHQGSRLQW
/6%,'($/
FRUUHODWLRQOLQH
9''$
069
9''$
6DPSOHDQGKROG$'&
97
FRQYHUWHU
069
1. Refer to Table 50: ADC characteristics for the values of RAIN, RADC and CADC.
2. Cparasitic represents the capacitance of the PCB (dependent on soldering and PCB layout quality) plus the
pad capacitance (roughly 7 pF). A high Cparasitic value will downgrade conversion accuracy. To remedy
this, fADC should be reduced.
- - 1 - tTIMxCLK
tres(TIM) Timer resolution time
fTIMxCLK = 48 MHz - 20.8 - ns
Timer external clock - - fTIMxCLK/2 - MHz
fEXT frequency on CH1 to
CH4 fTIMxCLK = 48 MHz - 24 - MHz
/4 0 0.1 409.6
/8 1 0.2 819.2
/16 2 0.4 1638.4
/32 3 0.8 3276.8 ms
/64 4 1.6 6553.6
/128 5 3.2 13107.2
/256 6 or 7 6.4 26214.4
1. These timings are given for a 40 kHz clock but the microcontroller internal RC frequency can vary from 30
to 60 kHz. Moreover, given an exact RC oscillator frequency, the exact timings still depend on the phasing
of the APB interface clock versus the LSI clock so that there is always a full RC period of uncertainty.
1 0 0.0853 5.4613
2 1 0.1706 10.9226
ms
4 2 0.3413 21.8453
8 3 0.6826 43.6906
SPI/I2S characteristics
Unless otherwise specified, the parameters given in Table 59 for SPI or in Table 60 for I2S
are derived from tests performed under the ambient temperature, fPCLKx frequency and
supply voltage conditions summarized in Table 18: General operating conditions.
Refer to Section 6.3.14: I/O port characteristics for more details on the input/output alternate
function characteristics (NSS, SCK, MOSI, MISO for SPI and WS, CK, SD for I2S).
166LQSXW
WF6&. WK166
&32/
&3+$
&32/
WD62 WZ6&./ WY62 WK62 WI6&. WGLV62
WK6,
WVX6,
06Y9
166LQSXW
WF6&.
&32/
&3+$
&32/
WD62 WZ6&./ WY62 WK62 WU6&. WGLV62
WVX6, WK6,
06Y9
1. Measurement points are done at CMOS levels: 0.3 VDD and 0.7 VDD.
+LJK
166LQSXW
WF6&.
6&.2XWSXW
&3+$
&32/
&3+$
&32/
6&.2XWSXW
&3+$
&32/
&3+$
&32/
WZ6&.+ WU6&.
WVX0, WZ6&./ WI6&.
0,62
,13 87 06%,1 %,7,1 /6%,1
WK0,
026,
06%287 % , 7287 /6%287
287387
WY02 WK02
DLF
1. Measurement points are done at CMOS levels: 0.3 VDD and 0.7 VDD.
WF&.
&32/
&.,QSXW
&32/
WZ&.+ WZ&./ WK:6
:6LQSXW
06Y9
1. Measurement points are done at CMOS levels: 0.3 × VDDIOx and 0.7 × VDDIOx.
2. LSB transmit/receive of the previously transmitted byte. No LSB transmit/receive is sent before the first
byte.
WI&. WU&.
WF&.
&.RXWSXW
&32/
WZ&.+
&32/
WY:6 WZ&./ WK:6
:6RXWSXW
WY6'B07 WK6'B07
06Y9
7 Package information
3%!4).'
0,!.%
#
!
!
!
C
MM
'!5'% 0,!.%
CCC #
$ +
!
,
$ ,
$
B
%
%
0).
)$%.4)&)#!4)/.
E "?-%?6
A - - 1.600 - - 0.0630
A1 0.050 - 0.150 0.0020 - 0.0059
A2 1.350 1.400 1.450 0.0531 0.0551 0.0571
b 0.170 0.220 0.270 0.0067 0.0087 0.0106
c 0.090 - 0.200 0.0035 - 0.0079
D 8.800 9.000 9.200 0.3465 0.3543 0.3622
D1 6.800 7.000 7.200 0.2677 0.2756 0.2835
D3 - 5.500 - - 0.2165 -
E 8.800 9.000 9.200 0.3465 0.3543 0.3622
E1 6.800 7.000 7.200 0.2677 0.2756 0.2835
E3 - 5.500 - - 0.2165 -
e - 0.500 - - 0.0197 -
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 - 1.000 - - 0.0394 -
k 0° 3.5° 7° 0° 3.5° 7°
ccc - - 0.080 - - 0.0031
1. Values in inches are converted from mm and rounded to 4 decimal digits.
AID
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
WƌŽĚƵĐƚ ;ϭͿ
ŝĚĞŶƚŝĨŝĐĂƚŝŽŶ 670)
&7
ĂƚĞĐŽĚĞ
^ƚĂŶĚĂƌĚ^důŽŐŽ
< ::
ZĞǀŝƐŝŽŶĐŽĚĞ
WŝŶϭŝĚĞŶƚŝĨŝĞƌ
D^ϯϴϯϵϰsϭ
1. Parts marked as ES or E or accompanied by an Engineering Sample notification letter are not yet qualified
and therefore not approved for use in production. ST is not responsible for any consequences resulting
from such use. In no event will ST be liable for the customer using any of these engineering samples in
production. ST's Quality department must be contacted prior to any decision to use these engineering
samples to run a qualification activity.
3%!4).'
0,!.%
# !
!
C
!
MM
'!5'% 0,!.%
CCC #
+
$
,
!
$
,
$
B
%
%
0).
)$%.4)&)#!4)/.
E 7@.&@7
A - - 1.600 - - 0.0630
A1 0.050 - 0.150 0.0020 - 0.0059
A2 1.350 1.400 1.450 0.0531 0.0551 0.0571
b 0.300 0.370 0.450 0.0118 0.0146 0.0177
c 0.090 - 0.200 0.0035 - 0.0079
D 8.800 9.000 9.200 0.3465 0.3543 0.3622
D1 6.800 7.000 7.200 0.2677 0.2756 0.2835
D3 - 5.600 - - 0.2205 -
E 8.800 9.000 9.200 0.3465 0.3543 0.3622
E1 6.800 7.000 7.200 0.2677 0.2756 0.2835
E3 - 5.600 - - 0.2205 -
e - 0.800 - - 0.0315 -
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 - 1.000 - - 0.0394 -
k 0° 3.5° 7° 0° 3.5° 7°
ccc - - 0.100 - - 0.0039
1. Values in inches are converted from mm and rounded to 4 decimal digits.
6?&0?6
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
WƌŽĚƵĐƚ ;ϭͿ
ŝĚĞŶƚŝĨŝĐĂƚŝŽŶ 670)
.7
ĂƚĞĐŽĚĞ
^ƚĂŶĚĂƌĚ^důŽŐŽ
< ::
ZĞǀŝƐŝŽŶĐŽĚĞ
WŝŶϭŝĚĞŶƚŝĨŝĞƌ
D^ϯϰϵϱϯsϮ
1. Parts marked as ES or E or accompanied by an Engineering Sample notification letter are not yet qualified
and therefore not approved for use in production. ST is not responsible for any consequences resulting
from such use. In no event will ST be liable for the customer using any of these engineering samples in
production. ST's Quality department must be contacted prior to any decision to use these engineering
samples to run a qualification activity.
'
GGG &
H $
&
$
6($7,1*
3/$1(
'
E
( E
( (
/
' /
3,1,GHQWLILHU
!"?-%?6
$%B)3B9
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
WƌŽĚƵĐƚ ;ϭͿ
ŝĚĞŶƚŝĨŝĐĂƚŝŽŶ
).
ĂƚĞĐŽĚĞ
< ::
ZĞǀŝƐŝŽŶĐŽĚĞ
^ƚĂŶĚĂƌĚ^důŽŐŽ
WŝŶϭŝĚĞŶƚŝĨŝĞƌ
D^ϯϴϯϵϲsϭ
1. Parts marked as ES or E or accompanied by an Engineering Sample notification letter are not yet qualified
and therefore not approved for use in production. ST is not responsible for any consequences resulting
from such use. In no event will ST be liable for the customer using any of these engineering samples in
production. ST's Quality department must be contacted prior to any decision to use these engineering
samples to run a qualification activity.
' 'HWDLO<
'
'
(
'HWDLO=
!"?-%?6
$%B)3B9
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
*
ĂƚĞĐŽĚĞ ZĞǀŝƐŝŽŶĐŽĚĞ
< ::
Žƚ
;ƉŝŶϭŝĚĞŶƚŝĨŝĞƌͿ
D^ϯϴϯϵϳsϭ
1. Parts marked as ES or E or accompanied by an Engineering Sample notification letter are not yet qualified
and therefore not approved for use in production. ST is not responsible for any consequences resulting
from such use. In no event will ST be liable for the customer using any of these engineering samples in
production. ST's Quality department must be contacted prior to any decision to use these engineering
samples to run a qualification activity.
H $EDOOORFDWLRQ EEE =
H )
$ *
H 'HWDLO$
H
(
$
$
$
%XPSVLGH 6LGHYLHZ
%XPS
$
RULHQWDWLRQ HHH = $
UHIHUHQFH
DDD =
EEDOOV E
[ 6HDWLQJSODQH
FFF = ; <
GGG =
:DIHUEDFNVLGH 'HWDLO$
URWDWHG
:/&63B$1B0(B9
'SDG
'VP
:/&63B$1B)3B9
Pitch 0.4 mm
Dpad 0.225 mm
0.290 mm typ. (depends on the soldermask
Dsm
registration tolerance)
Stencil opening 0.250 mm
Stencil thickness 0.100 mm
Device marking
The following figure gives an example of topside marking orientation versus ball A1 identifier
location.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
'RW
3URGXFW
LGHQWLILFDWLRQ
)
'DWHFRGH
5HYLVLRQFRGH
<:: 5
D^ϯϵϬϯϭsϮ
1. Parts marked as ES or E or accompanied by an Engineering Sample notification letter are not yet qualified
and therefore not approved for use in production. ST is not responsible for any consequences resulting
from such use. In no event will ST be liable for the customer using any of these engineering samples in
production. ST's Quality department must be contacted prior to any decision to use these engineering
samples to run a qualification activity.
ϮϬ ϭϭ
Đ
ϭ
^d/E' Ϭ͘Ϯϱŵŵ
W>E 'h'W>E
ϭ ϭϬ
W/Eϭ
/Ed/&/d/KE
Ŭ
ĂĂĂ
ϭ >
Ϯ
>ϭ
ď Ğ
zͺDͺsϯ
A - - 1.200 - - 0.0472
A1 0.050 - 0.150 0.0020 - 0.0059
A2 0.800 1.000 1.050 0.0315 0.0394 0.0413
b 0.190 - 0.300 0.0075 - 0.0118
c 0.090 - 0.200 0.0035 - 0.0079
(2)
D 6.400 6.500 6.600 0.2520 0.2559 0.2598
E 6.200 6.400 6.600 0.2441 0.2520 0.2598
E1(3) 4.300 4.400 4.500 0.1693 0.1732 0.1772
e - 0.650 - - 0.0256 -
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 - 1.000 - - 0.0394 -
k 0° - 8° 0° - 8°
aaa - - 0.100 - - 0.0039
1. Values in inches are converted from mm and rounded to four decimal digits.
2. Dimension “D” does not include mold flash, protrusions or gate burrs. Mold flash, protrusions or gate burrs
shall not exceed 0.15mm per side.
3. Dimension “E1” does not include interlead flash or protrusions. Interlead flash or protrusions shall not
exceed 0.25mm per side.
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
^ƚĂŶĚĂƌĚ^důŽŐŽ
WƌŽĚƵĐƚ ;ϭͿ
ŝĚĞŶƚŝĨŝĐĂƚŝŽŶ
))3
ĂƚĞĐŽĚĞ ZĞǀŝƐŝŽŶĐŽĚĞ
WŝŶϭŝĚĞŶƚŝĨŝĞƌ
< ::
D^ϯϴϯϵϱsϭ
1. Parts marked as ES or E or accompanied by an Engineering Sample notification letter are not yet qualified
and therefore not approved for use in production. ST is not responsible for any consequences resulting
from such use. In no event will ST be liable for the customer using any of these engineering samples in
production. ST's Quality department must be contacted prior to any decision to use these engineering
samples to run a qualification activity.
8 Ordering information
For a list of available options (memory, package, and so on) or for further information on any
aspect of this device, please contact your nearest ST sales office.
Device family
STM32 = ARM-based 32-bit microcontroller
Product type
F = General-purpose
Sub-family
031 = STM32F031xx
Pin count
F = 20 pins
E = 25 pins
G = 28 pins
K = 32 pins
C = 48 pins
Package
P = TSSOP
U = UFQFPN
T = LQFP
Y = WLCSP
Temperature range
6 = –40 °C to +85 °C
7 = –40 °C to +105 °C
Options
xxx = code ID of programmed parts (includes packing type)
TR = tape and reel packing
blank = tray packing
9 Revision history
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and
improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on
ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order
acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or
the design of Purchasers’ products.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.