STM 32 G 081 KB
STM 32 G 081 KB
STM 32 G 081 KB
Features
• Core: Arm® 32-bit Cortex®-M0+ CPU,
frequency up to 64 MHz
• -40°C to 85°C/105°C/125°C operating LQFP32
7 × 7 mm
UFQFPN28 UFBGA64 WLCSP25
4 × 4 mm
temperature LQFP48 UFQFPN32
5 × 5 mm 2.3 × 2.5 mm
7 × 7 mm 5 × 5 mm
• Memories LQFP64 UFQFPN48
– 128 Kbytes of Flash memory with 10 × 10 mm 7 × 7 mm
protection and securable area
– 36 Kbytes of SRAM (32 Kbytes with HW • Communication interfaces
parity check) – Two I2C-bus interfaces supporting Fast-
mode Plus (1 Mbit/s) with extra current
• CRC calculation unit sink, one supporting SMBus/PMBus and
• Reset and power management wakeup from Stop mode
– Voltage range: 1.7 V to 3.6 V – Four USARTs with master/slave
– Power-on/Power-down reset (POR/PDR) synchronous SPI; two supporting ISO7816
– Programmable Brownout reset (BOR) interface, LIN, IrDA capability, auto baud
– Programmable voltage detector (PVD) rate detection and wakeup feature
– Low-power modes: – One low-power UART
Sleep, Stop, Standby, Shutdown – Two SPIs (32 Mbit/s) with 4- to 16-bit
– VBAT supply for RTC and backup registers programmable bitframe, one multiplexed
with I2S interface
• Clock management – HDMI CEC interface, wakeup on header
– 4 to 48 MHz crystal oscillator
– 32 kHz crystal oscillator with calibration • USB Type-C™ Power Delivery controller
– Internal 16 MHz RC with PLL option (±1 %) • True random number generator (RNG)
– Internal 32 kHz RC oscillator (±5 %) • AES encryption with 128/256-bit key
• Up to 60 fast I/Os • Development support: serial wire debug (SWD)
– All mappable on external interrupt vectors
• 96-bit unique ID
– Multiple 5 V-tolerant I/Os
• All packages ECOPACK 2 compliant
• 7-channel DMA controller with flexible mapping
• 12-bit, 0.4 µs ADC (up to 16 ext. channels) Table 1. Device summary
– Up to 16-bit with hardware oversampling
– Conversion range: 0 to 3.6V Reference Part number
• Two 12-bit DACs, low-power sample-and-hold STM32G081CB, STM32G081EB,
• Two fast low-power analog comparators, with STM32G081xB STM32G081GB, STM32G081KB,
programmable input and output, rail-to-rail STM32G081RB
• 14 timers (two 128 MHz capable): 16-bit for
advanced motor control, one 32-bit and five 16-
bit general-purpose, two basic 16-bit, two low-
power 16-bit, two watchdogs, SysTick timer
• Calendar RTC with alarm and periodic wakeup
from Stop/Standby/Shutdown
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3 Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.1 Arm® Cortex®-M0+ core with MPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.2 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3 Embedded Flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3.1 Securable area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.4 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.5 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.6 Cyclic redundancy check calculation unit (CRC) . . . . . . . . . . . . . . . . . . . 16
3.7 Power supply management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.7.1 Power supply schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.7.2 Power supply supervisor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.7.3 Voltage regulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.7.4 Low-power modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.7.5 Reset mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.7.6 VBAT operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.8 Interconnect of peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.9 Clocks and startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.10 General-purpose inputs/outputs (GPIOs) . . . . . . . . . . . . . . . . . . . . . . . . . 22
3.11 Direct memory access controller (DMA) . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.12 DMA request multiplexer (DMAMUX) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.13 Interrupts and events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
3.13.1 Nested vectored interrupt controller (NVIC) . . . . . . . . . . . . . . . . . . . . . . 24
3.13.2 Extended interrupt/event controller (EXTI) . . . . . . . . . . . . . . . . . . . . . . 24
3.14 Analog-to-digital converter (ADC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.14.1 Temperature sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
3.14.2 Internal voltage reference (VREFINT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.14.3 VBAT battery voltage monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.15 Digital-to-analog converter (DAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
3.16 Voltage reference buffer (VREFBUF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5 Electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.1 Parameter conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.1.1 Minimum and maximum values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.1.2 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.1.3 Typical curves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.1.4 Loading capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.1.5 Pin input voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.1.6 Power supply scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.1.7 Current consumption measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5.2 Absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5.3 Operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.3.1 General operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.3.2 Operating conditions at power-up / power-down . . . . . . . . . . . . . . . . . . 57
5.3.3 Embedded reset and power control block characteristics . . . . . . . . . . . 57
List of tables
List of figures
1 Introduction
a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.
2 Description
Basic 2 (16-bit)
Low-power 2 (16-bit)
SysTick 1
Watchdog 2
SPI [I2S](1) 2 [1]
Comm. interfaces
I2 C 2
USART 4
LPUART 1
UCPD (2) (2)
2 2
CEC 1
RTC Yes
Tamper pins 2
Random number generator Yes
AES Yes
GPIOs 23 26 30 44 60
Wakeup pins 4 3 4 3 4 5
10 ext. 9 ext. 11 ext. 10 ext. 14 ext. 16 ext.
12-bit ADC channels
+ 2 int. + 2 int. + 2 int. + 2 int. + 3 int. + 3 int.
12-bit DAC channels 2
Internal voltage reference buffer No Yes
Analog comparators 2
Max. CPU frequency 64 MHz
Operating voltage 1.7 to 3.6 V
Ambient: -40 to 85 °C / -40 to 105 °C / -40 to 125 °C
Operating temperature(3)
Junction: -40 to 105 °C / -40 to 125 °C / -40 to 130 °C
Number of pins 25 28 32 48 64
1. The numbers in brackets denote the count of SPI interfaces configurable as I2S interface.
2. One port with only one CC line available (supporting limited number of use cases).
3. Depends on order code. Refer to Section 7: Ordering information for details.
POWER
SWCLK DMAMUX
SWD Voltage
SWDIO VCORE regulator
DMA
VDDIO1
CPU VDDA VDD/VDDA
CORTEX-M0+ Flash memory VSS/VSSA
Bus matrix
I/F VDD
fmax = 64 MHz up to 128 KB SUPPLY
SUPERVISION
POR
SRAM Reset POR/BOR
36 KB Parity Int NRST
NVIC IOPORT T sensor
HSI16
RC 16 MHz PVD
PLLPCLK
PLLQCLK
PLL
GPIOs PLLRCLK
PAx Port A LSI XTAL OSC
RC 32 kHz OSC_IN
RNG 4-48 MHz OSC_OUT
PBx Port B
HSE
decoder
IWDG
PCx Port C AES
I/F VDD
RCC LSE VBAT
PDx Port D Reset & clock control Low-voltage
CRC detector
PFx Port F LSE
AHB
VREF+ VREFBUF
4 channels
TIM1
BKIN, BKIN2, ETR
COMP1
IN+, IN-, 4 channels
OUT COMP2 TIM2 (32-bit)
ETR
SYSCFG
4 channels
DAC_OUT1 TIM3
ETR
DAC I/F
DAC_OUT2 TIM14 1 channel
TIM6
WWDG IR_OUT
IRTIM
MOSI, MISO
APB
SPI2
SCK, NSS DBGMCU RX, TX
USART1 &2
USART1/2 CTS, RTS, CK
CC, DBCC UCPD
UCPD1 &2
FRSTX RX, TX
USART3 &4
USART3/4 CTS, RTS, CK
CEC HDMI-CEC RX, TX,
LPUART CTS, RTS
3 Functional overview
Table 3. Access status versus readout protection level and execution modes
• Write protection (WRP): the protected area is protected against erasing and
programming. Two areas per bank can be selected, with 2-Kbyte granularity.
• Proprietary code readout protection (PCROP): a part of the Flash memory can be
protected against read and write from third parties. The protected area is execute-only:
it can only be reached by the STM32 CPU as instruction code, while all other accesses
(DMA, debug and CPU data read, write and erase) are strictly prohibited. An additional
option bit (PCROP_RDP) determines whether the PCROP area is erased or not when
the RDP protection is changed from Level 1 to Level 0.
The whole non-volatile memory embeds the error correction code (ECC) feature supporting:
• single error detection and correction
• double error detection
• readout of the ECC fail address from the ECC register
VDDA domain
VREF+
VREF+ A/D converter
VDDA Comparators
D/A converter
VSSA Voltage reference buffer
VDDIO1 domain
VDDIO1
I/O ring
VDD domain
Reset block
Temp. sensor VCORE domain
PLL, HSI
Core
VSS Standby circuitry
VSS/VSSA (Wakeup, IWDG) SRAM
VDD VCORE Digital
VDD/VDDA Voltage
regulator peripherals
RTC domain
BKP registers
VBAT
LSE crystal 32.768 kHz osc
RCC BDCR register
RTC and TAMP
MSv39736V3
• Sleep mode
In Sleep mode, only the CPU is stopped. All peripherals continue to operate and can
wake up the CPU when an interrupt/event occurs.
• Low-power run mode
This mode is achieved with VCORE supplied by the low-power regulator to minimize the
regulator's operating current. The code can be executed from SRAM or from Flash,
and the CPU frequency is limited to 2 MHz. The peripherals with independent clock can
be clocked by HSI16.
• Low-power sleep mode
This mode is entered from the low-power run mode. Only the CPU clock is stopped.
When wakeup is triggered by an event or an interrupt, the system reverts to the Low-
power run mode.
• Stop 0 and Stop 1 modes
In Stop 0 and Stop 1 modes, the device achieves the lowest power consumption while
retaining the SRAM and register contents. All clocks in the VCORE domain are stopped.
The PLL, as well as the HSI16 RC oscillator and the HSE crystal oscillator are
disabled. The LSE or LSI keep running. The RTC can remain active (Stop mode with
RTC, Stop mode without RTC).
Some peripherals with wakeup capability can enable the HSI16 RC during Stop mode,
so as to get clock for processing the wakeup event. The main regulator remains active
in Stop 0 mode while it is turned off in Stop 1 mode.
• Standby mode
The Standby mode is used to achieve the lowest power consumption, with POR/PDR
always active in this mode. The main regulator is switched off to power down VCORE
domain. The low-power regulator is either switched off or kept active. In the latter case,
it only supplies SRAM to ensure data retention. The PLL, as well as the HSI16 RC
oscillator and the HSE crystal oscillator are also powered down. The RTC can remain
active (Standby mode with RTC, Standby mode without RTC).
For each I/O, the software can determine whether a pull-up, a pull-down or no resistor
shall be applied to that I/O during Standby mode.
Upon entering Standby mode, register contents are lost except for registers in the RTC
domain and standby circuitry. The SRAM contents can be retained through register
setting.
The device exits Standby mode upon external reset event (NRST pin), IWDG reset
event, wakeup event (WKUP pin, configurable rising or falling edge) or RTC event
(alarm, periodic wakeup, timestamp, tamper), or when a failure is detected on LSE
(CSS on LSE).
• Shutdown mode
The Shutdown mode allows to achieve the lowest power consumption. The internal
regulator is switched off to power down the VCORE domain. The PLL, as well as the
HSI16 and LSI RC-oscillators and HSE crystal oscillator are also powered down. The
RTC can remain active (Shutdown mode with RTC, Shutdown mode without RTC).
The BOR is not available in Shutdown mode. No power voltage monitoring is possible
in this mode. Therefore, switching to RTC domain is not supported.
SRAM and register contents are lost except for registers in the RTC domain.
The device exits Shutdown mode upon external reset event (NRST pin), IWDG reset
event, wakeup event (WKUP pin, configurable rising or falling edge) or RTC event
(alarm, periodic wakeup, timestamp, tamper).
Low-power sleep
Low-power run
Sleep
Interconnect
Stop
Run
Interconnect source Interconnect action
destination
Through a specific sequence, this special function configuration of I/Os can be locked, such
as to avoid spurious writing to I/O control registers.
and an extended interrupt/event controller (EXTI) are the assets contributing to handling the
exceptions. Exceptions include core-internal events such as, for example, a division by zero
and, core-external events such as logical level changes on physical lines. Exceptions result
in interrupting the program flow, executing an interrupt service routine (ISR) then resuming
the original program flow.
The processor context (contents of program pointer and status registers) is stacked upon
program interrupt and unstacked upon program resume, by hardware. This avoids context
stacking and unstacking in the interrupt service routines (ISRs) by software, thus saving
time, code and power. The ability to abandon and restart load-multiple and store-multiple
operations significantly increases the device’s responsiveness in processing exceptions.
A register in the EXTI controller latches every event even in Stop mode, which allows the
software to identify the origin of the processor's wake-up from Stop mode or, to identify the
GPIO and the edge event having caused an interrupt.
When enabled, an embedded buffer provides the internal reference voltage to analog
blocks (for example ADC) and to VREF+ pin for external components.
The internal voltage reference buffer supports two voltages:
• 2.048 V
• 2.5 V
An external voltage reference can be provided through the VREF+ pin when the internal
voltage reference buffer is disabled.
On some packages, the VREF+ pad of the silicon die is double-bonded with supply pad to
common VDD/VDDA pin and so the internal voltage reference buffer cannot be used.
Features of AES:
• Encryption/decryption using AES Rijndael Block Cipher algorithm
• NIST-FIPS-197-compliant implementation of AES encryption/decryption algorithm
• 128-bit and 256-bit register for storing the encryption, decryption or derivation key (four
32-bit registers)
• Electronic codebook (ECB), cipher block chaining (CBC), counter (CTR), Galois
counter (GCM), Galois message authentication code (GMAC) and cipher message
authentication code (CMAC) modes supported
• Key scheduler
• Key derivation for decryption
• 128-bit data block processing
• 128-bit and 256-bit key length
• 32-bit input and output buffers
• Register access supporting 32-bit data width
• 128-bit register for the initialization vector when AES is configured in CBC mode or for
the 32-bit counter initialization when CTR mode is selected, GCM mode or CMAC
mode
• Automatic data flow control with support of direct memory access (DMA) using 2
channels, one for incoming data, the other for outcoming data
• Message processing suspend to process another message with higher priority
These timers are mainly used for triggering DAC conversions. They can also be used as
generic 16-bit timebases.
half-duplex communication mode. Some can also support SmartCard communication (ISO
7816), IrDA SIR ENDEC, LIN Master/Slave capability and auto baud rate feature, and have
a clock domain independent of the CPU clock, which allows them to wake up the MCU from
Stop mode. The wakeup events from Stop mode are programmable and can be:
• start bit detection
• any received data frame
• a specific programmed data frame
All USART interfaces can be served by the DMA controller.
having an extremely low energy consumption. Higher speed clock can be used to reach
higher baudrates.
The LPUART interface can be served by the DMA controller.
The devices housed in 28-pin and 32-pin packages come in two variants - “GP” and “N” (the
latter with ordering code having N behind the temperature range digit). Refer to Table 2:
Features and peripheral counts for differences.
PC10
Top view
PD6
PD5
PD4
PD3
PD2
PD1
PD0
PC9
PB9
PB8
PB7
PB6
PB5
PB4
PB3
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
PC11 1 48 PC8
PC12 2 47 PA15
PC13 3 46 PA14-BOOT0
PC14-OSC32_IN 4 45 PA13
PC15-OSC32_OUT 5 44 PA12 [PA10]
VBAT 6 43 PA11 [PA9]
VREF+ 7 42 PA10
VDD/VDDA 8 41 PD9
VSS/VSSA 9 LQFP64 40 PD8
PF0-OSC_IN 10 39 PC7
PF1-OSC_OUT 11 38 PC6
PF2-NRST 12 37 PA9
PC0 13 36 PA8
PC1 14 35 PB15
PC2 15 34 PB14
PC3 16 33 PB13
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
PC4
PC5
PB0
PB1
PB2
PB10
PB12
PA0
PA1
PA2
PA3
PA4
PA5
PA6
PA7
PB11
MSv39710V3
1 2 3 4 5 6 7 8
PC15-
PA12
B OSC32 PC12 PB8 PB3 PD5 PD1 PC9
[PA10]
_OUT
PC14-
PA14- PA11
C OSC32 PC13 PB9 PB4 PD4 PA15
BOOT0 [PA9]
_IN
VDD/
D VDDA
VREF+ VBAT PB5 PD3 PA10 PA13 PD9
VSS/ PF2-
E VSSA NRST
PC0 PA7 PC7 PA9 PC6 PD8
PF0-
F OSC_I PC1 PA3 PA6 PB0 PB14 PB15 PA8
N
PF1-
G OSC_ PC2 PA2 PA5 PB1 PB10 PB12 PB13
OUT
MSv47971V1
Top view
PA15
PD3
PD2
PD1
PD0
PB9
PB8
PB7
PB6
PB5
PB4
PB3
48
47
46
45
44
43
42
41
40
39
38
37
PC13 1 36 PA14-BOOT0
PC14-OSC32_IN 2 35 PA13
PC15-OSC32_OUT 3 34 PA12 [PA10]
VBAT 4 33 PA11 [PA9]
VREF+ 5 32 PA10
VDD/VDDA 6 31 PC7
VSS/VSSA 7
LQFP48 30 PC6
PF0-OSC_IN 8 29 PA9
PF1-OSC_OUT 9 28 PA8
PF2-NRST 10 27 PB15
PA0 11 26 PB14
PA1 12 25 PB13
13
14
15
16
17
18
19
20
21
22
23
24
PB0
PB1
PB2
PB10
PB12
PA2
PA3
PA4
PA5
PA6
PA7
PB11
MSv39711V3
PA15
PD3
PD2
PD1
PD0
PB9
PB8
PB7
PB6
PB5
PB4
PB3
48
47
46
45
44
43
42
41
40
39
38
37
PC13 1 36 PA14-BOOT0
PC14-OSC32_IN 2 35 PA13
PC15-OSC32_OUT 3 34 PA12 [PA10]
VBAT 4 33 PA11 [PA9]
VREF+ 5 32 PA10
VDD/VDDA 6 31 PC7
VSS/VSSA 7 UFQFPN48 30 PC6
PF0-OSC_IN 8 29 PA9
PF1-OSC_OUT 9 28 PA8
PF2-NRST 10 27 PB15
PA0 11 Exposed pad 26 PB14
PA1 12 25 PB13
13
14
15
16
17
18
19
20
21
22
23
24
VSS
PB0
PB1
PB2
PB10
PB12
PA2
PA3
PA4
PA5
PA6
PA7
PB11
MSv39714V3
PA14-BOOT0
PA15
Top view
PB8
PB7
PB6
PB5
PB4
PB3
32
31
30
29
28
27
26
25
PB9 1 24 PA13
PC14-OSC32_IN 2 23 PA12 [PA10]
PC15-OSC32_OUT 3 22 PA11 [PA9]
VDD/VDDA 4 21 PA10
VSS/VSSA 5
LQFP32 20 PC6
PF2-NRST 6 19 PA9
PA0 7 18 PA8 GP version
PA1 8 17 PB2 (_KxT)
10
12
13
14
15
16
11
9
PB0
PB1
PA2
PA3
PA4
PA5
PA6
PA7
MSv39712V3
PA14-BOOT0
Top view
PD3
PD2
PD1
PD0
PB8
PB7
PB6
32
31
30
29
28
27
26
25
PB9 1 24 PA13
PC14-OSC32_IN 2 23 PA12 [PA10]
PC15-OSC32_OUT 3 22 PA11 [PA9]
VDD/VDDA 4 21 PA10
VSS/VSSA 5
LQFP32 20 PC6
PF2-NRST 6 19 PA9
PA0 7 18 PA8 N version
PA1 8 17 PB15 (_KxTxN)
10
12
13
14
15
16
11
9
PB0
PB1
PA2
PA3
PA4
PA5
PA6
PA7
MSv42120V1
PA14-BOOT0
Top view
PA15
PB8
PB7
PB6
PB5
PB4
PB3
32
31
30
29
28
27
26
25
PB9 1 24 PA13
PC14-OSC32_IN 2 23 PA12 [PA10]
PC15-OSC32_OUT 3 22 PA11 [PA9]
VDD/VDDA 4 21 PA10
VSS/VSSA 5 UFQFPN32 20 PC6
PF2-NRST 6 19 PA9
PA0 7 18 PA8 GP version
PA1 8 17 PB2 (_KxU)
10
12
13
14
15
16
11
9
VSS
PB0
PB1
PA2
PA3
PA4
PA5
PA6
PA7
MSv39715V3
PA14-BOOT0
Top view PD3
PD2
PD1
PD0
PB8
PB7
PB6
32
31
30
29
28
27
26
25
PB9 1 24 PA13
PC14-OSC32_IN 2 23 PA12 [PA10]
PC15-OSC32_OUT 3 22 PA11 [PA9]
VDD/VDDA 4 21 PA10
VSS/VSSA 5 UFQFPN32 20 PC6
PF2-NRST 6 19 PA9
PA0 7 18 PA8 N version
PA1 8 17 PB15 (_KxUxN)
10
12
13
14
15
16
11
9
VSS
PB0
PB1
PA2
PA3
PA4
PA5
PA6
PA7
MSv42121V1
Top view
PA15
PB8
PB7
PB6
PB5
PB4
PB3
28
27
26
25
24
23
22
PC14-OSC32_IN 1 21 PA14-BOOT0
PC15-OSC32_OUT 2 20 PA13
VDD/VDDA 3 19 PA12 [PA10]
VSS/VSSA 4 UFQFPN28 18 PA11 [PA9]
PF2-NRST 5 17 PC6
PA0 6 16 PA8
PA1 7 15 PB1
GP version
(_GxU)
10
12
13
14
11
8
9
PB0
PA2
PA3
PA4
PA5
PA6
PA7
MSv39713V4
Top view
PD3
PD2
PD1
PD0
PB8
PB7
PB6
28
27
26
25
24
23
22
PC14-OSC32_IN 1 21 PA14-BOOT0
PC15-OSC32_OUT 2 20 PA13
VDD/VDDA 3 19 PA12 [PA10]
VSS/VSSA 4 UFQFPN28 18 PA11 [PA9]
PF2-NRST 5 17 PC6
PA0 6 16 PA8
N version
PA1 7 15 PB15
(_GxUxN)
10
12
13
14
11
8
9
PB0
PA2
PA3
PA4
PA5
PA6
PA7
MSv42122V2
1 2 3 4 5
PC15-
PA12
B [PA10]
PA13 PB6 PB8 OSC32
_OUT
PA11 VDD/
C [PA9]
PA6 PA3 PA0
VDDA
VSS/
D PA8 PA7 PA4 PA1
VSSA
PF2 -
E PB1 PB0 PA5 PA2
NRST
MSv47938V2
Terminal name corresponds to its by-default function at reset, unless otherwise specified in
Pin name
parenthesis under the pin name.
S Supply pin
Pin type I Input only pin
I/O Input / output pin
FT 5 V tolerant I/O
TT 3.6 V tolerant I/O
I/O structure RST Bidirectional reset pin with embedded weak pull-up resistor
Options for TT or FT I/Os
_f I/O, Fm+ capable
_a I/O, with analog switch function
_c I/O, USB Type-C PD capable
_d I/O, USB Type-C PD Dead Battery function
Note Upon reset, all I/Os are set as analog inputs, unless otherwise specified.
Alternate
Functions selected through GPIOx_AFR registers
Pin functions
functions Additional
Functions directly selected/enabled through peripheral registers
functions
Pin number
LQFP32 / UFQFPN32 - GP
LQFP32 / UFQFPN32 - N
LQFP48 / UFQFPN48
I/O structure
Pin name
UFQFPN28 - GP
Pin type
UFQFPN28 - N
Alternate Additional
Note
WLCSP25
UFBGA64
LQFP64
USART3_RX, USART4_RX,
- - - - - - A1 1 PC11 I/O FT - -
TIM1_CH4
LPTIM1_IN1,
- - - - - - B2 2 PC12 I/O FT - UCPD1_FRSTX, -
TIM14_CH1
(1)(2) TAMP_IN1,RTC_TS,
- - - - - 1 C2 3 PC13 I/O FT TIM1_BKIN
RTC_OUT1,WKUP2
Pin number
LQFP32 / UFQFPN32 - GP
LQFP32 / UFQFPN32 - N
LQFP48 / UFQFPN48
I/O structure
Pin name
UFQFPN28 - GP
Pin type
UFQFPN28 - N
Alternate Additional
Note
WLCSP25
UFBGA64
LQFP64
(function functions functions
upon reset)
PC14-
- - - - - 2 C1 4 OSC32_IN I/O FT (1)(2) TIM1_BKIN2 OSC32_IN
(PC14)
PC14-
(1)(2)
A5 1 1 2 2 - - - OSC32_IN I/O FT TIM1_BKIN2 OSC32_IN,OSC_IN
(PC14)
PC15-
(1)(2) OSC32_EN, OSC_EN,
B5 2 2 3 3 3 B1 5 OSC32_OUT I/O FT OSC32_OUT
TIM15_BKIN
(PC15)
- - - - - 4 D3 6 VBAT S - - - -
- - - - - 5 D2 7 VREF+ S - - - VREF_OUT
C5 3 3 4 4 6 D1 8 VDD/VDDA S - - - -
D5 4 4 5 5 7 E1 9 VSS/VSSA S - - - -
PF0-OSC_IN
- - - - - 8 F1 10 I/O FT - TIM14_CH1 OSC_IN
(PF0)
PF1-
- - - - - 9 G1 11 OSC_OUT I/O FT - OSC_EN, TIM15_CH1N OSC_OUT
(PF1)
LPTIM1_IN1,
- - - - - - E3 13 PC0 I/O FT - -
LPUART1_RX, LPTIM2_IN1
LPTIM1_OUT,
- - - - - - F2 14 PC1 I/O FT - -
LPUART1_TX, TIM15_CH1
LPTIM1_IN2, SPI2_MISO,
- - - - - - G2 15 PC2 I/O FT - -
TIM15_CH2
LPTIM1_ETR, SPI2_MOSI,
- - - - - - H1 16 PC3 I/O FT - -
LPTIM2_ETR
SPI2_SCK, USART2_CTS,
TIM2_CH1_ETR,
COMP1_INM, ADC_IN0,
C4 6 6 7 7 11 H2 17 PA0 I/O FT_a - USART4_TX, LPTIM1_OUT,
TAMP_IN2,WKUP1
UCPD2_FRSTX,
COMP1_OUT
Pin number
LQFP32 / UFQFPN32 - GP
LQFP32 / UFQFPN32 - N
LQFP48 / UFQFPN48
I/O structure
Pin name
UFQFPN28 - GP
Pin type
UFQFPN28 - N
Alternate Additional
Note
WLCSP25
UFBGA64
LQFP64
(function functions functions
upon reset)
SPI1_SCK/I2S1_CK,
USART2_RTS_DE_CK,
D4 7 7 8 8 12 H3 18 PA1 I/O FT_a - TIM2_CH2, USART4_RX, COMP1_INP, ADC_IN1
TIM15_CH1N, I2C1_SMBA,
EVENTOUT
SPI1_MOSI/I2S1_SD,
USART2_TX, TIM2_CH3,
COMP2_INM, ADC_IN2,
E4 8 8 9 9 13 G3 19 PA2 I/O FT_a - UCPD1_FRSTX,
WKUP4,LSCO
TIM15_CH1, LPUART1_TX,
COMP2_OUT
SPI2_MISO, USART2_RX,
TIM2_CH4,
C3 9 9 10 10 14 F3 20 PA3 I/O FT_a - UCPD2_FRSTX, COMP2_INP, ADC_IN3
TIM15_CH2, LPUART1_RX,
EVENTOUT
SPI1_NSS/I2S1_WS,
SPI2_MOSI, TIM14_CH1,
ADC_IN4, DAC_OUT1,
- - - - - 15 H4 21 PA4 I/O TT_a - LPTIM2_OUT,
RTC_OUT2
UCPD2_FRSTX,
EVENTOUT
SPI1_NSS/I2S1_WS,
SPI2_MOSI, TIM14_CH1, ADC_IN4, DAC_OUT1,
D3 10 10 11 11 - - - PA4 I/O TT_a - LPTIM2_OUT, TAMP_IN1,RTC_TS,
UCPD2_FRSTX, RTC_OUT1,WKUP2
EVENTOUT
SPI1_SCK/I2S1_CK, CEC,
TIM2_CH1_ETR,
E3 11 11 12 12 16 G4 22 PA5 I/O TT_a - USART3_TX, LPTIM2_ETR, ADC_IN5, DAC_OUT2
UCPD1_FRSTX,
EVENTOUT
SPI1_MISO/I2S1_MCK,
TIM3_CH1, TIM1_BKIN,
C2 12 12 13 13 17 F4 23 PA6 I/O FT_a - USART3_CTS, TIM16_CH1, ADC_IN6
LPUART1_CTS,
COMP1_OUT
SPI1_MOSI/I2S1_SD,
TIM3_CH2, TIM1_CH1N,
D2 13 13 14 14 18 E4 24 PA7 I/O FT_a - TIM14_CH1, TIM17_CH1, ADC_IN7
UCPD1_FRSTX,
COMP2_OUT
Pin number
LQFP32 / UFQFPN32 - GP
LQFP32 / UFQFPN32 - N
LQFP48 / UFQFPN48
I/O structure
Pin name
UFQFPN28 - GP
Pin type
UFQFPN28 - N
Alternate Additional
Note
WLCSP25
UFBGA64
LQFP64
(function functions functions
upon reset)
SPI1_NSS/I2S1_WS,
TIM3_CH3, TIM1_CH2N,
E2 14 - 15 15 19 F5 27 PB0 I/O FT_a - USART3_RX, LPTIM1_OUT, ADC_IN8
UCPD1_FRSTX,
COMP1_OUT
SPI1_NSS/I2S1_WS,
TIM3_CH3, TIM1_CH2N,
(3) UCPD1_DBCC2,
- - 14 - - - - - PB0 I/O FT_da USART3_RX, LPTIM1_OUT,
ADC_IN8
UCPD1_FRSTX,
COMP1_OUT
TIM14_CH1, TIM3_CH4,
TIM1_CH3N,
USART3_RTS_DE_CK,
E1 15 - 16 16 20 G5 28 PB1 I/O FT_a - COMP1_INM, ADC_IN9
LPTIM2_IN1,
LPUART1_RTS_DE,
EVENTOUT
SPI2_MISO, USART3_TX,
- - - 17 - 21 H7 29 PB2 I/O FT_a - COMP1_INP, ADC_IN10
LPTIM1_OUT, EVENTOUT
CEC, LPUART1_RX,
TIM2_CH3, USART3_TX,
- - - - - 22 G6 30 PB10 I/O FT_fa - ADC_IN11
SPI2_SCK, I2C2_SCL,
COMP1_OUT
SPI2_MOSI, LPUART1_TX,
- - - - - 23 H8 31 PB11 I/O FT_fa - TIM2_CH4, USART3_RX, ADC_IN15
I2C2_SDA, COMP2_OUT
SPI2_NSS,
LPUART1_RTS_DE,
- - - - - 24 G7 32 PB12 I/O FT_a - TIM1_BKIN, TIM15_BKIN, ADC_IN16
UCPD2_FRSTX,
EVENTOUT
SPI2_SCK, LPUART1_CTS,
TIM1_CH1N,
- - - - - 25 G8 33 PB13 I/O FT_f - USART3_CTS, -
TIM15_CH1N, I2C2_SCL,
EVENTOUT
Pin number
LQFP32 / UFQFPN32 - GP
LQFP32 / UFQFPN32 - N
LQFP48 / UFQFPN48
I/O structure
Pin name
UFQFPN28 - GP
Pin type
UFQFPN28 - N
Alternate Additional
Note
WLCSP25
UFBGA64
LQFP64
(function functions functions
upon reset)
SPI2_MISO,
UCPD1_FRSTX,
TIM1_CH2N,
- - - - - 26 F6 34 PB14 I/O FT_f - -
USART3_RTS_DE_CK,
TIM15_CH1, I2C2_SDA,
EVENTOUT
SPI2_MOSI, TIM1_CH3N,
(3) UCPD1_CC2,
- - 15 - 17 27 F7 35 PB15 I/O FT_c TIM15_CH1N, TIM15_CH2,
RTC_REFIN,
EVENTOUT
MCO, SPI2_NSS,
D1 16 16 18 18 28 F8 36 PA8 I/O FT_c (3) TIM1_CH1, LPTIM2_OUT, UCPD1_CC1
EVENTOUT
MCO, USART1_TX,
(3) TIM1_CH2, SPI2_MISO,
- - - 19 19 29 E6 37 PA9 I/O FT_fd UCPD1_DBCC1
TIM15_BKIN, I2C1_SCL,
EVENTOUT
UCPD1_FRSTX,
- 17 - 20 20 30 E7 38 PC6 I/O FT - -
TIM3_CH1, TIM2_CH3
(3) UCPD1_FRSTX,
- - 17 - - - - - PC6 I/O FT_d UCPD1_DBCC1
TIM3_CH1, TIM2_CH3
UCPD2_FRSTX,
- - - - - 31 E5 39 PC7 I/O FT - -
TIM3_CH2, TIM2_CH4
USART3_TX,
- - - - - - E8 40 PD8 I/O FT - SPI1_SCK/I2S1_CK, -
LPTIM1_OUT
USART3_RX,
- - - - - - D8 41 PD9 I/O FT - SPI1_NSS/I2S1_WS, -
TIM1_BKIN2
SPI2_MOSI, USART1_RX,
- - - 21 21 32 D6 42 PA10 I/O FT_fd (3) TIM1_CH3, TIM17_BKIN, UCPD1_DBCC2
I2C1_SDA, EVENTOUT
SPI1_MISO/I2S1_MCK,
PA11 USART1_CTS, TIM1_CH4,
C1 18 18 22 22 33 C8 43 I/O FT_f - -
[PA9](4) TIM1_BKIN2, I2C2_SCL,
COMP1_OUT
SPI1_MOSI/I2S1_SD,
PA12 USART1_RTS_DE_CK,
B1 19 19 23 23 34 B8 44 I/O FT_f - -
[PA10](4) TIM1_ETR, I2S_CKIN,
I2C2_SDA, COMP2_OUT
Pin number
LQFP32 / UFQFPN32 - GP
LQFP32 / UFQFPN32 - N
LQFP48 / UFQFPN48
I/O structure
Pin name
UFQFPN28 - GP
Pin type
UFQFPN28 - N
Alternate Additional
Note
WLCSP25
UFBGA64
LQFP64
(function functions functions
upon reset)
SPI1_NSS/I2S1_WS,
USART2_RX,
TIM2_CH1_ETR,
A1 22 - 26 - 37 C6 47 PA15 I/O FT - -
USART4_RTS_DE_CK,
USART3_RTS_DE_CK,
EVENTOUT
UCPD2_FRSTX,
- - - - - - A8 48 PC8 I/O FT - -
TIM3_CH3, TIM1_CH1
I2S_CKIN, TIM3_CH4,
- - - - - - B7 49 PC9 I/O FT - -
TIM1_CH2
(3) USART3_RTS_DE_CK,
- - 24 - 28 40 A6 52 PD2 I/O FT_c UCPD2_CC2
TIM3_ETR, TIM1_CH1N
USART2_RTS_DE_CK,
- - - - - - C5 54 PD4 I/O FT - -
SPI2_MOSI, TIM1_CH3N
USART2_TX,
- - - - - - B5 55 PD5 I/O FT - SPI1_MISO/I2S1_MCK, -
TIM1_BKIN
USART2_RX,
- - - - - - A5 56 PD6 I/O FT - SPI1_MOSI/I2S1_SD, -
LPTIM2_OUT
SPI1_SCK/I2S1_CK,
TIM1_CH2, TIM2_CH2,
- 23 - 27 - 42 B4 57 PB3 I/O FT_a - COMP2_INM
USART1_RTS_DE_CK,
EVENTOUT
SPI1_MISO/I2S1_MCK,
- 24 - 28 - 43 C4 58 PB4 I/O FT_a - TIM3_CH1, USART1_CTS, COMP2_INP
TIM17_BKIN, EVENTOUT
Pin number
LQFP32 / UFQFPN32 - GP
LQFP32 / UFQFPN32 - N
LQFP48 / UFQFPN48
I/O structure
Pin name
UFQFPN28 - GP
Pin type
UFQFPN28 - N
Alternate Additional
Note
WLCSP25
UFBGA64
LQFP64
(function functions functions
upon reset)
SPI1_MOSI/I2S1_SD,
TIM3_CH2, TIM16_BKIN,
A3 25 - 29 - 44 D4 59 PB5 I/O FT - WKUP6
LPTIM1_IN1, I2C1_SMBA,
COMP2_OUT
USART1_TX, TIM1_CH3,
TIM16_CH1N, SPI2_MISO,
B3 26 26 30 30 45 A4 60 PB6 I/O FT_fa - COMP2_INP
LPTIM1_ETR, I2C1_SCL,
EVENTOUT
USART1_RX, SPI2_MOSI,
TIM17_CH1N,
A4 27 27 31 31 46 A3 61 PB7 I/O FT_fa - USART4_CTS, COMP2_INM, PVD_IN
LPTIM1_IN2, I2C1_SDA,
EVENTOUT
CEC, SPI2_SCK,
TIM16_CH1, USART3_TX,
B4 28 28 32 32 47 B3 62 PB8 I/O FT_f - -
TIM15_BKIN, I2C1_SCL,
EVENTOUT
IR_OUT, UCPD2_FRSTX,
TIM17_CH1, USART3_RX,
- - - 1 1 48 C3 63 PB9 I/O FT_f - -
SPI2_NSS, I2C1_SDA,
EVENTOUT
USART3_TX, USART4_TX,
- - - - - - A2 64 PC10 I/O FT - -
TIM1_CH3
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 (for example to drive a LED).
2. After an RTC domain power-up, PC13, PC14 and PC15 operate as GPIOs. Their function then depends on the content of
the RTC registers. The RTC registers are not reset upon system reset. For details on how to manage these GPIOs, refer to
the RTC domain and RTC register descriptions in the RM0444 reference manual.
3. Upon reset, a pull-down resistor might be present on PB15, PA8, PD0, or PD2, depending on the voltage level on PB0,
PA9, PC6, PA10, PD1, and PD3. In order to disable this resistor, strobe the UCPDx_STROBE bit of the SYSCFG_CFGR1
register during start-up sequence.
4. Pins PA9/PA10 can be remapped in place of pins PA11/PA12 (default mapping), using SYSCFG_CFGR1 register.
5. Upon reset, these pins are configured as SW debug alternate functions, and the internal pull-up on PA13 pin and the
internal pull-down on PA14 pin are activated.
STM32G081xB
Port AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7
SPI1_MOSI/
PA7 TIM3_CH2 TIM1_CH1N TIM14_CH1 TIM17_CH1 UCPD1_FRSTX COMP2_OUT
I2S1_SD -
PA8 MCO SPI2_NSS TIM1_CH1 - - LPTIM2_OUT - EVENTOUT
PA9 MCO USART1_TX TIM1_CH2 - SPI2_MISO TIM15_BKIN I2C1_SCL EVENTOUT
PA10 SPI2_MOSI USART1_RX TIM1_CH3 - - TIM17_BKIN I2C1_SDA EVENTOUT
SPI1_MISO/
PA11 USART1_CTS TIM1_CH4 - - TIM1_BKIN2 I2C2_SCL COMP1_OUT
I2S1_MCK
SPI1_MOSI/ USART1_RTS
PA12 TIM1_ETR - - I2S_CKIN I2C2_SDA COMP2_OUT
I2S1_SD _DE_CK
PA13 SWDIO IR_OUT - - - - - EVENTOUT
PA14 SWCLK USART2_TX - - - - - EVENTOUT
SPI1_NSS/ USART4_RTS USART3_RTS
PA15 USART2_RX TIM2_CH1_ETR - - EVENTOUT
I2S1_WS _DE_CK _DE_CK
49/136
Table 14. Port B alternate function mapping
50/136 Port AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7
SPI1_NSS/
PB0 TIM3_CH3 TIM1_CH2N - USART3_RX LPTIM1_OUT UCPD1_FRSTX COMP1_OUT
I2S1_WS
USART3_RTS LPUART1_RTS
PB1 TIM14_CH1 TIM3_CH4 TIM1_CH3N - LPTIM2_IN1 EVENTOUT
_DE_CK _DE
PB2 - SPI2_MISO - - USART3_TX LPTIM1_OUT - EVENTOUT
SPI1_SCK/ USART1_RTS
PB3 TIM1_CH2 TIM2_CH2 - - - EVENTOUT
I2S1_CK _DE_CK
SPI1_MISO/
PB4 TIM3_CH1 - - USART1_CTS TIM17_BKIN - EVENTOUT
I2S1_MCK
SPI1_MOSI/
PB5 TIM3_CH2 TIM16_BKIN - - LPTIM1_IN1 I2C1_SMBA COMP2_OUT
I2S1_SD
PB6 USART1_TX TIM1_CH3 TIM16_CH1N - SPI2_MISO LPTIM1_ETR I2C1_SCL EVENTOUT
DS12231 Rev 4
STM32G081xB
Table 15. Port C alternate function mapping
STM32G081xB
Port AF0 AF1 AF2 AF3 AF4 AF5 AF6 AF7
PF0 - - TIM14_CH1 - - - - -
PF1 OSC_EN - TIM15_CH1N - - - - -
PF2 MCO - - - - - - -
STM32G081xB
STM32G081xB Electrical characteristics
5 Electrical characteristics
Figure 11. Pin loading conditions Figure 12. Pin input voltage
C = 50 pF VIN
VBAT
Backup circuitry
1.55 V to 3.6 V (LSE, RTC and
Power backup registers)
switch
VDD VCORE
VDD/VDDA VDD
Regulator
VDDIO1
OUT
Level shifter
Kernel logic
1 x 100 nF IO (CPU, digital and
GPIOs
+ 1 x 4.7 μF IN
logic memories)
VSS
VDDA
VREF VREF+
ADC
VREF+ DAC
100 nF 1 μF VREF- COMPs
VREFBUF
VSSA
VSS/VSSA
MSv47900V1
Caution: Power supply pin pair (VDD/VDDA and VSS/VSSA) 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.
IDDVBAT
VBAT
VBAT
IDD
VDD VDD/VDDA
(VDDA)
MSv47901V1
VDD rising - ∞
µs/V
tVDD VDD slew rate VDD falling; ULPEN = 0 10 ∞
VDD falling; ULPEN = 1 100 ∞ ms/V
tRSTTEMPO(2) POR temporization when VDD crosses VPOR VDD rising - 250 400 μs
VPOR(2) Power-on reset threshold - 1.62 1.66 1.70 V
VPDR(2) Power-down reset threshold - 1.60 1.64 1.69 V
VDD rising 2.05 2.10 2.18
VBOR1 Brownout reset threshold 1 V
VDD falling 1.95 2.00 2.08
Table 23. Embedded reset and power control block characteristics (continued)
Symbol Parameter Conditions(1) Min Typ Max Unit
VREFINT Internal reference voltage -40°C < TJ < 130°C 1.182 1.212 1.232 V
ADC sampling time when reading
tS_vrefint (1) - 4(2) - - µs
the internal reference voltage
Start time of reference voltage
tstart_vrefint - - 8 12(2) µs
buffer when ADC is enable
VREFINT buffer consumption from
IDD(VREFINTBUF) - - 12.5 20(2) µA
VDD when converted by ADC
Internal reference voltage spread
∆VREFINT VDD = 3 V - 5 7.5(2) mV
over the temperature range
TCoeff_vrefint Temperature coefficient - - 30 50(2) ppm/°C
ACoeff Long term stability 1000 hours, T = 25 °C - 300 1000(2) ppm
VDDCoeff Voltage coefficient 3.0 V < VDD < 3.6 V - 250 1200(2) ppm/V
VREFINT_DIV1 1/4 reference voltage 24 25 26
%
VREFINT_DIV2 1/2 reference voltage - 49 50 51
VREFINT
VREFINT_DIV3 3/4 reference voltage 74 75 76
1. The shortest sampling time can be determined in the application by multiple iterations.
2. Guaranteed by design.
V
1.235
1.23
1.225
1.22
1.215
1.21
1.205
1.2
1.195
1.19
1.185
-40 -20 0 20 40 60 80 100 120 °C
Mean Min Max
MSv40169V1
Table 26. Typical current consumption in Run and Low-power run modes,
depending on code executed
Conditions Typ Typ
Symbol Parameter Unit Unit
Fetch
General Code 25 °C 25 °C
from(1)
I SW = V DDIO1 × f SW × C
where
ISW is the current sunk by a switching I/O to charge/discharge the capacitive load
VDDIO1 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.
1. Guaranteed by design.
Voltage scaling
- 8 48
Range 1
fHSE_ext User external clock source frequency MHz
Voltage scaling
- 8 26
Range 2
VHSEH OSC_IN input pin high level voltage - 0.7 VDDIO1 - VDDIO1
V
VHSEL OSC_IN input pin low level voltage - VSS - 0.3 VDDIO1
Voltage scaling
7 - -
tw(HSEH) Range 1
OSC_IN high or low time ns
tw(HSEL) Voltage scaling
18 - -
Range 2
1. Guaranteed by design.
tw(HSEH)
VHSEH
90%
10%
VHSEL
tr(HSE) t
tf(HSE) tw(HSEL)
THSE
MS19214V2
tw(LSEH)
VLSEH
90%
10%
VLSEL
tr(LSE) t
tf(LSE) tw(LSEL)
TLSE
MS19215V2
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 18). 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.
OSC_IN fHSE
Bias
8 MHz controlled
resonator RF gain
MS19876V1
LSEDRV[1:0] = 00
- 250 -
Low drive capability
LSEDRV[1:0] = 01
- 315 -
Medium low drive capability
IDD(LSE) LSE current consumption nA
LSEDRV[1:0] = 10
- 500 -
Medium high drive capability
LSEDRV[1:0] = 11
- 630 -
High drive capability
LSEDRV[1:0] = 00
- - 0.5
Low drive capability
LSEDRV[1:0] = 01
- - 0.75
Maximum critical crystal Medium low drive capability
Gmcritmax µA/V
gm LSEDRV[1:0] = 10
- - 1.7
Medium high drive capability
LSEDRV[1:0] = 11
- - 2.7
High drive capability
tSU(LSE)(3) Startup time VDD is stabilized - 2 - s
1. Guaranteed by design.
2. Refer to the note and caution paragraphs below the table, and to the application note AN2867 “Oscillator design guide for
ST microcontrollers”.
3. tSU(LSE) is the startup time measured from the moment it is enabled (by software) to a stabilized 32.768 kHz oscillation is
reached. This value is measured for a standard crystal and it can vary significantly with the crystal manufacturer
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.
OSC32_IN fLSE
OSC32_OUT
CL2
MS30253V2
Note: An external resistor is not required between OSC32_IN and OSC32_OUT and it is forbidden
to add one.
16.1
16
15.9
-1%
15.8
-1.5%
15.7
-2%
15.6
-40 -20 0 20 40 60 80 100 120 °C
min mean max
MSv39299V1
Programming 3 -
IDD(FlashA) Average consumption from VDD Page erase 3 - mA
Mass erase 3 -
Programming, 2 µs peak
7 -
IDD(FlashP) Maximum current (peak) duration mA
Erase, 41 µs peak duration 7 -
1. Guaranteed by design.
2. Values provided also apply to devices with less Flash memory than one 128 Kbyte bank
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 is injected to each input, output and configurable I/O pin.
These tests are compliant with EIA/JESD 78A IC latch-up standard.
0.3 x VDDIO1
All (2)
except 1.62 V < VDDIO1 < 3.6 V - -
I/O input low level FT_c 0.39 x VDDIO1
VIL(1) - 0.06 (3) V
voltage
2.7 V < VDDIO1 < 3.6 V - - 0.3 x VDDIO1
FT_c
1.62 V < VDDIO1 < 2.7 V - - 0.25 x VDDIO1
0.7 x VDDIO1 (
All 2) - -
I/O input high level except 1.62 V < VDDIO1 < 3.6 V
VIH(1) FT_c 0.49 x VDDIO1 V
voltage - -
+ 0.26(3)
FT_c 1.62 V < VDDIO1 < 3.6 V 0.7 x VDDIO1 - 5
TT_xx,
Vhys(3) I/O input hysteresis FT_xx, 1.62 V < VDDIO1 < 3.6 V - 200 - mV
NRST
FT_xx 0 < VIN ≤ VDDIO1 - - ±70
except
VDDIO1 ≤ VIN ≤ VDDIO1+1 V - - 600(4)
FT_c
and VDDIO1 +1 V < VIN ≤
- - 150(4)
FT_d 5.5 V(3)
0 < VIN ≤ VDDIO1 - - 2000
Input leakage FT_c
Ilkg VDDIO1 < VIN ≤ 5 V - - 3000(4) nA
current(3)
0 < VIN ≤ VDDIO1 - - 4500
FT_d
VDDIO1 < VIN ≤ 5.5 V - - 9000(4)
0 < VIN ≤ VDDIO1 - - ±150
TT_a VDDIO1 < VIN ≤
- - 2000(4)
VDDIO1 + 0.3 V
Weak pull-up
RPU equivalent resistor VIN = VSS 25 40 55 kΩ
(5)
Weak pull-down
RPD V = VDDIO1 25 40 55 kΩ
equivalent resistor(5) IN
CIO I/O pin capacitance - - 5 - pF
1. Refer to Figure 21: I/O input characteristics.
2. Tested in production.
3. Guaranteed by design.
4. This value represents the pad leakage of the I/O itself. The total product pad leakage is provided by this formula:
ITotal_Ileak_max = 10 µA + [number of I/Os where VIN is applied on the pad] ₓ Ilkg(Max).
5. 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, as shown
in Figure 21.
2.5
Minimum required
logic level 1 zone
TTL standard requirement
2
eme nt)
rd requir
Ss tanda
VIN (V) (CMO
1.5 V DDIO
= 0.7
V IHmin
+ 0.26 Undefined input range
0.49 VD DIO
VIHmin =
1
VDDIO - 0.06
VILmax = 0.39 requiremen
t) TTL standard requirement
dard
(CMOS stan
0.5 VDDIO
VILmax = 0.3 Minimum required
logic level 0 zone
0
1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 3.4 3.6
Table 21: General operating conditions. All I/Os are CMOS- and TTL-compliant (FT OR TT
unless otherwise specified).
VOL(3) Output low level voltage for an I/O pin |IIO| = 1 mA for FT_c I/Os - 0.4
= 3 mA for other I/Os
VOH(3) Output high level voltage for an I/O pin VDDIO1 ≥ 1.62 V VDDIO1 - 0.45 -
|IIO| = 20 mA
- 0.4
VOLFM+ Output low level voltage for an FT I/O VDDIO1 ≥ 2.7 V
(3) pin in FM+ mode (FT I/O with _f option) |I | = 9 mA
IO - 0.4
VDDIO1 ≥ 1.62 V
1. The IIO current sourced or sunk by the device must always respect the absolute maximum rating specified in Table 18:
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. Guaranteed by design.
Input/output AC characteristics
The definition and values of input/output AC characteristics are given in Figure 22 and
Table 53, respectively.
Unless otherwise specified, the parameters given are derived from tests performed under
the ambient temperature and supply voltage conditions summarized in Table 21: General
operating conditions.
50% 50%
10% 90%
t r(IO)out t f(IO)out
External
reset circuit(1) VDD
RPU
NRST(2) Internal reset
Filter
0.1 μF
MS19878V3
Range 1 0.14 - 35
fADC ADC clock frequency MHz
Range 2 0.14 - 16
12 bits - - 2.50
10 bits - - 2.92
fs Sampling rate MSps
8 bits - - 3.50
6 bits - - 4.38
1.5(3) 43 50
3.5 100 680
7.5 214 2200
12.5 357 4700
12 bits
19.5 557 8200
39.5 1129 15000
79.5 2271 33000
160.5 4586 50000
(3)
1.5 43 68
3.5 100 820
7.5 214 3300
12.5 357 5600
10 bits
19.5 557 10000
39.5 1129 22000
79.5 2271 39000
160.5 4586 50000
1.5(3) 43 82
3.5 100 1500
7.5 214 3900
12.5 357 6800
8 bits
19.5 557 12000
39.5 1129 27000
79.5 2271 50000
160.5 4586 50000
(3)
1.5 43 390
3.5 100 2200
7.5 214 5600
12.5 357 10000
6 bits
19.5 557 15000
39.5 1129 33000
79.5 2271 50000
160.5 4586 50000
1. Guaranteed by design.
2. I/O analog switch voltage booster must be enabled (BOOSTEN = 1 in the SYSCFG_CFGR1) when VDDA < 2.4 V and
disabled when VDDA ≥ 2.4 V.
3. Only allowed with VDDA > 2 V
VDDA = VREF+ = 3 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; - 3 4
TA = 25 °C
2 V < VDDA=VREF+ < 3.6 V;
Total
fADC = 35 MHz; fs ≤ 2.5 MSps; - 3 6.5
ET unadjusted LSB
TA = entire range
error
1.65 V < VDDA=VREF+ < 3.6 V;
TA = entire range
- 3 7.5
Range 1: fADC = 35 MHz; fs ≤ 2.2 MSps;
Range 2: fADC = 16 MHz; fs ≤ 1.1 MSps;
VDDA = VREF+ = 3 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; - 1.5 2
TA = 25 °C
2 V < VDDA = VREF+ < 3.6 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; - 1.5 4.5
EO Offset error LSB
TA = entire range
1.65 V < VDDA=VREF+ < 3.6 V;
TA = entire range
- 1.5 5.5
Range 1: fADC = 35 MHz; fs ≤ 2.2 MSps;
Range 2: fADC = 16 MHz; fs ≤ 1.1 MSps;
VDDA = VREF+ = 3 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; - 3 3.5
TA = 25 °C
2 V < VDDA = VREF+ < 3.6 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; - 3 5
EG Gain error LSB
TA = entire range
1.65 V < VDDA = VREF+ < 3.6 V;
TA = entire range
- 3 6.5
Range 1: fADC = 35 MHz; fs ≤ 2.2 MSps;
Range 2: fADC = 16 MHz; fs ≤ 1.1 MSps;
VDDA = VREF+ = 3 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; - 1.2 1.5
TA = 25 °C
2 V < VDDA = VREF+ < 3.6 V;
Differential fADC = 35 MHz; fs ≤ 2.5 MSps; - 1.2 1.5
ED LSB
linearity error TA = entire range
1.65 V < VDDA = VREF+ < 3.6 V;
TA = entire range
- 1.2 1.5
Range 1: fADC = 35 MHz; fs ≤ 2.2 MSps;
Range 2: fADC = 16 MHz; fs ≤ 1.1 MSps;
VDDA = VREF+ = 3 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; - 2.5 3
TA = 25 °C
2 V < VDDA = VREF+ < 3.6 V;
Integral fADC = 35 MHz; fs ≤ 2.5 MSps; - 2.5 3
EL LSB
linearity error TA = entire range
1.65 V < VDDA = VREF+ < 3.6 V;
TA = entire range
- 2.5 3.5
Range 1: fADC = 35 MHz; fs ≤ 2.2 MSps;
Range 2: fADC = 16 MHz; fs ≤ 1.1 MSps;
VDDA = VREF+ = 3 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; 10.1 10.2 -
TA = 25 °C
2 V < VDDA = VREF+ < 3.6 V;
Effective fADC = 35 MHz; fs ≤ 2.5 MSps; 9.6 10.2 -
ENOB bit
number of bits TA = entire range
1.65 V < VDDA = VREF+ < 3.6 V;
TA = entire range
9.5 10.2 -
Range 1: fADC = 35 MHz; fs ≤ 2.2 MSps;
Range 2: fADC = 16 MHz; fs ≤ 1.1 MSps;
VDDA = VREF+ = 3 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; 62.5 63 -
TA = 25 °C
2 V < VDDA = VREF+ < 3.6 V;
Signal-to-noise
fADC = 35 MHz; fs ≤ 2.5 MSps; 59.5 63 -
SINAD and distortion dB
TA = entire range
ratio
1.65 V < VDDA = VREF+ < 3.6 V;
TA = entire range
59 63 -
Range 1: fADC = 35 MHz; fs ≤ 2.2 MSps;
Range 2: fADC = 16 MHz; fs ≤ 1.1 MSps;
VDDA = VREF+ = 3 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; 63 64 -
TA = 25 °C
2 V < VDDA = VREF+ < 3.6 V;
Signal-to-noise fADC = 35 MHz; fs ≤ 2.5 MSps; 60 64 -
SNR dB
ratio TA = entire range
1.65 V < VDDA = VREF+ < 3.6 V;
TA = entire range
60 64 -
Range 1: fADC = 35 MHz; fs ≤ 2.2 MSps;
Range 2: fADC = 16 MHz; fs ≤ 1.1 MSps;
VDDA = VREF+ = 3 V;
fADC = 35 MHz; fs ≤ 2.5 MSps; - -74 -73
TA = 25 °C
2 V < VDDA = VREF+ < 3.6 V;
Total harmonic fADC = 35 MHz; fs ≤ 2.5 MSps; - -74 -70
THD dB
distortion TA = entire range
1.65 V < VDDA = VREF+ < 3.6 V;
TA = entire range
- -74 -70
Range 1: fADC = 35 MHz; fs ≤ 2.2 MSps;
Range 2: fADC = 16 MHz; fs ≤ 1.1 MSps;
1. Based on characterization results, not tested in production.
2. ADC DC accuracy values are measured after internal calibration.
3. Injecting negative current on any analog input pin significantly reduces the accuracy of A-to-D conversion of signal on
another analog input. It is recommended to add a Schottky diode (pin to ground) to analog pins susceptible to receive
negative current.
4. I/O analog switch voltage booster enabled (BOOSTEN = 1 in the SYSCFG_CFGR1) when VDDA < 2.4 V and disabled
when VDDA ≥ 2.4 V.
EG
Code
(1) Example of an actual transfer curve
4095
(2) Ideal transfer curve
4094
(3) End point correlation line
4093
ET total unadjusted error: maximum deviation
(2)
between the actual and ideal transfer curves.
0
1 2 3 4 5 6 7 4093 4094 4095 (VAIN / VREF+)*4095
MSv19880V3
VDDA
MS33900V5
1. Refer to Table 56: ADC characteristics for the values of RAIN and CADC.
2. Cparasitic represents the capacitance of the PCB (dependent on soldering and PCB layout quality) plus the
pad capacitance (refer to Table 51: I/O static characteristics for the value of the pad capacitance). A high
Cparasitic value will downgrade conversion accuracy. To remedy this, fADC should be reduced.
3. Refer to Table 51: I/O static characteristics for the values of Ilkg.
Wakeup time from off state Normal mode DAC output buffer ON
- 4.2 7.5
(setting the ENx bit in the CL ≤ 50 pF, RL ≥ 5 kΩ
tWAKEUP(2) µs
DAC Control register) until Normal mode DAC output buffer
final value ±1 LSB - 2 5
OFF, CL ≤ 10 pF
Normal mode DAC output buffer ON
PSRR VDDA supply rejection ratio - -80 -28 dB
CL ≤ 50 pF, RL = 5 kΩ, DC
No load, middle
- 185 240
DAC output code (0x800)
buffer ON No load, worst code
- 340 400
(0xF1C)
DAC output No load, middle
- 155 205
DAC consumption from buffer OFF code (0x800)
IDDV(DAC) µA
VREF+
185 ₓ 400 ₓ
Sample and hold mode, buffer ON,
- Ton/(Ton+ Ton/(Ton+
CSH = 100 nF, worst case
Toff)(4) Toff)(4)
155 ₓ 205 ₓ
Sample and hold mode, buffer OFF,
- Ton/(Ton+ Ton/(Ton+
CSH = 100 nF, worst case
Toff)(4) Toff)(4)
1. Guaranteed by design.
2. In buffered mode, the output can overshoot above the final value for low input code (starting from min value).
3. Refer to Table 51: I/O static characteristics.
4. Ton is the Refresh phase duration. Toff is the Hold phase duration. Refer to RM0444 reference manual for more details.
Buffer(1)
RLOAD
12-bit DAC_OUTx
digital-to-analog
converter
CLOAD
MSv47959V1
1. The DAC integrates an output buffer that can be used to reduce the output impedance and to drive external loads directly
without the use of an external operational amplifier. The buffer can be bypassed by configuring the BOFFx bit in the
DAC_CR register.
Temperature
TCoeff_vrefbuf coefficient of -40 °C < TJ < +125 °C - - 50 ppm/ °C
VREFBUF(3)
Power supply DC 40 60 -
PSRR dB
rejection 100 kHz 25 40 -
CL = 0.5 µF(4) - 300 350
(4)
tSTART Start-up time CL = 1.1 µF - 500 650 µs
CL = 1.5 µF(4) - 650 800
Control of
maximum DC
current drive on
IINRUSH - - 8 - mA
VREFBUF_OUT
during start-up
phase (5)
Iload = 0 µA - 16 25
VREFBUF
IDDA(VREFB
consumption Iload = 500 µA - 18 30 µA
UF) from VDDA
Iload = 4 mA - 35 50
1. Guaranteed by design.
2. In degraded mode, the voltage reference buffer can not maintain accurately the output voltage which will follow (VDDA -
drop voltage).
3. The temperature coefficient at VREF+ output is the sum of TCoeff_vrefint and TCoeff_vrefbuf.
4. The capacitive load must include a 100 nF capacitor in order to cut-off the high frequency noise.
5. To correctly control the VREFBUF inrush current during start-up phase and scaling change, the VDDA voltage should be in
the range [2.4 V to 3.6 V] and [2.8 V to 3.6 V] respectively for VRS = 0 and VRS = 1.
Analog supply
VDDA - 1.62 - 3.6 V
voltage
Comparator
VIN - 0 - VDDA V
input voltage range
VBG(2) Scaler input voltage - VREFINT V
VSC Scaler offset voltage - - ±5 ±10 mV
Scaler static BRG_EN=0 (bridge disable) - 200 300 nA
IDDA(SCALER) consumption from
VDDA BRG_EN=1 (bridge enable) - 0.8 1 µA
Comparator offset
Voffset Full common mode range - ±5 ±20 mV
error
No hysteresis - 0 -
Battery VBRS = 0 - 5 -
RBC charging kΩ
resistor VBRS = 1 - 1.5 -
- 1 - tTIMxCLK
tres(TIM) Timer resolution time
fTIMxCLK = 64 MHz 15.625 - ns
- 1 65536 tTIMxCLK
tCOUNTER 16-bit counter clock period
fTIMxCLK = 64 MHz 0.015625 1024 µs
/4 0 0.125 512
/8 1 0.250 1024
/16 2 0.500 2048
/32 3 1.0 4096 ms
/64 4 2.0 8192
/128 5 4.0 16384
/256 6 or 7 8.0 32768
1. The exact timings further depend on the phase of the APB interface clock versus the LSI clock, which causes an
uncertainty of one RC period.
Standard-mode 2
Analog filter enabled
9
DNF = 0
Fast-mode
Minimum I2CCLK Analog filter disabled
frequency for correct 9
fI2CCLK(min) DNF = 1 MHz
operation of I2C
peripheral Analog filter enabled
18
DNF = 0
Fast-mode Plus
Analog filter disabled
16
DNF = 1
The SDA and SCL I/O requirements are met with the following restrictions: the SDA and
SCL I/O pins are not “true” open-drain. When configured as open-drain, the PMOS
connected between the I/O pin and VDDIO1 is disabled, but is still present. Only FT_f I/O pins
support Fm+ low-level output current maximum requirement. Refer to Section 5.3.14: I/O
port characteristics for the I2C I/Os characteristics.
All I2C SDA and SCL I/Os embed an analog filter. Refer to the following table for its
characteristics:
SPI/I2S characteristics
Unless otherwise specified, the parameters given in Table 70 for SPI are derived from tests
performed under the ambient temperature, fPCLKx frequency and supply voltage conditions
summarized in Table 21: General operating conditions. The additional general conditions
are:
• OSPEEDRy[1:0] set to 11 (output speed)
• capacitive load C = 30 pF
• measurement points at CMOS levels: 0.5 x VDD
Refer to Section 5.3.14: I/O port characteristics for more details on the input/output alternate
function characteristics (NSS, SCK, MOSI, MISO for SPI).
Master mode
1.65 < VDD < 3.6 V 32
Range 1
Master transmitter
1.65 < VDD < 3.6 V 32
Range 1
Slave receiver
1.65 < VDD < 3.6 V 32
fSCK Range 1
SPI clock frequency - - MHz
1/tc(SCK)
Slave transmitter/full duplex
2.7 < VDD < 3.6 V 32
Range 1
Slave transmitter/full duplex
1.65 < VDD < 3.6 V 23
Range 1
1.65 < VDD < 3.6 V
8
Range 2
tsu(NSS) NSS setup time Slave mode, SPI prescaler = 2 4 ₓ TPCLK - - ns
th(NSS) NSS hold time Slave mode, SPI prescaler = 2 2 ₓ TPCLK - - ns
TPCLK TPCLK
tw(SCKH) SCK high time Master mode TPCLK ns
- 1.5 + 1.5
TPCLK TPCLK
tw(SCKL) SCK low time Master mode TPCLK ns
- 1.5 + 1.5
Master data input setup
tsu(MI) - 1 - - ns
time
Slave data input setup
tsu(SI) - 1 - - ns
time
Master data input hold
th(MI) - 5 - - ns
time
Slave data input hold
th(SI) - 1 - - ns
time
ta(SO) Data output access time Slave mode 9 - 34 ns
tdis(SO) Data output disable time Slave mode 9 - 16 ns
2.7 < VDD < 3.6 V
- 9 14
Range 1
Slave data output valid 1.65 < VDD < 3.6 V
tv(SO) - 9 21 ns
time Range 1
1.65 < VDD < 3.6 V
- 11 24
Voltage Range 2
Master data output valid
tv(MO) - - 3 5 ns
time
NSS input
tc(SCK) th(NSS)
CPOL=0
CPHA=0
CPOL=1
ta(SO) tw(SCKL) tv(SO) th(SO) tf(SCK) tdis(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
th(SI)
tsu(SI)
MSv41658V1
NSS input
tc(SCK)
CPOL=0
CPHA=1
CPOL=1
ta(SO) tw(SCKL) tv(SO) th(SO) tr(SCK) tdis(SO)
MISO output First bit OUT Next bits OUT Last bit OUT
tsu(SI) th(SI)
MSv41659V1
1. Measurement points are done at CMOS levels: 0.3 VDD and 0.7 VDD.
High
NSS input
tc(SCK)
SCK Output
CPHA= 0
CPOL=0
CPHA= 0
CPOL=1
SCK Output
CPHA=1
CPOL=0
CPHA=1
CPOL=1
tw(SCKH) tr(SCK)
tsu(MI) tw(SCKL) tf(SCK)
MISO
INP UT MSB IN BIT6 IN LSB IN
th(MI)
MOSI
MSB OUT B I T1 OUT LSB OUT
OUTPUT
tv(MO) th(MO)
ai14136c
1. Measurement points are set at CMOS levels: 0.3 VDD and 0.7 VDD.
tc(CK)
CPOL = 0
CK Input
CPOL = 1
WS input
tsu(SD_SR) th(SD_SR)
MSv39721V1
1. Measurement points are done at CMOS levels: 0.3 VDDIO1 and 0.7 VDDIO1.
2. LSB transmit/receive of the previously transmitted byte. No LSB transmit/receive is sent before the first
byte.
90%
10%
tf(CK) tr(CK)
tc(CK)
CK output
CPOL = 0
tw(CKH)
CPOL = 1
tv(WS) tw(CKL) th(WS)
WS output
tv(SD_MT) th(SD_MT)
tsu(SD_MR) th(SD_MR)
MSv39720V1
USART characteristics
Unless otherwise specified, the parameters given in Table 72 for USART are derived from
tests performed under the ambient temperature, fPCLKx frequency and supply voltage
conditions summarized in Table 21: General operating conditions. The additional general
conditions are:
• OSPEEDRy[1:0] set to 10 (output speed)
• capacitive load C = 30 pF
• measurement points at CMOS levels: 0.5 x VDD
Refer to Section 5.3.14: I/O port characteristics for more details on the input/output alternate
function characteristics (NSS, CK, TX, and RX for USART).
Master mode - - 8
fCK USART clock frequency MHz
Slave mode - - 21
6 Package information
G A
B
DETAIL A
C e2 E
D
e
E
e aaa A
D (4X)
A2
A3
A2
BUMP
A1
b eee Z
FRONT VIEW
b (25x) Z
ccc M Z X Y
ddd M Z
DETAIL A
ROTATED 90
A06J_WLCSP25_ME_V1
Dpad
Dsm MS18965V2
Table 75. Recommended PCB pad design rules for WLCSP25 package
Dimension Recommended value (mm)
Pitch 0.4
Dpad 225
Dsm 0.290 typ.(1)
Stencil opening 0.250
Stencil thickness 0.100
1. Depends on the solder mask registration tolerance
Device marking
The following figure gives an example of topside marking orientation versus ball A1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks that identify the parts throughout supply chain
operations, are not indicated below.
Ball A1 identifier
Date code
Y WW R Revision code
MSv47936V2
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 Detail Y
D1
E1
Detail Z
A0B0_ME_V5
!"?&0?6
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
R Revision code
Date code
Y WW
Pin 1 identifier
MSv47913V2
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.
ddd C
e A1
C
A3
SEATINGPLANE
D1
b
E2 b
E1 E
1
L
32
D2 L
PIN 1 Identifier
A0B8_ME_V3
5.30
3.80
0.60
32 25
1 24
3.45
5.30 3.80
3.45
0.50
0.30 8 17
9 16 0.75
3.80
A0B8_FP_V2
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
Revision code
Y WW R
Pin 1 identifier
MSv47911V2
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.
SEATING
PLANE
C A2
A
c
A1
0.25 mm
GAUGE PLANE
ccc C
K
D
L
A1
D1
L1
D3
24 17
25 16
b
E1
E3
32 9
PIN 1
IDENTIFICATION 1 8
e 5V_ME_V2
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
1.20
24 17
25 16 0.50
0.30
7.30
6.10
9.70
7.30
32 9
1 8
1.20
6.10
9.70
5V_FP_V2
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
Pin 1 identifier
Y WW
Revision code
R
MSv47909V2
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.
A
E E
T Seating
plane
ddd A1
e b
Detail Y
D
Y
Exposed pad
area D2
1
L
48
C 0.500x45°
pin1 corner R 0.125 typ.
E2 Detail Z
48
Z
A0B9_ME_V3
7.30
6.20
48 37
1 36
0.20 5.60
7.30
5.80
6.20
5.60
0.30
12 25
13 24
0.50 0.75
0.55
5.80
A0B9_FP_V2
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
Date code
Y WW
Revision code
Pin 1 identifier
R
MSv47907V2
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.
SEATING
PLANE
C
A2
A
A1
c
0.25 mm
GAUGE PLANE
ccc C
D K
A1
L
D1 L1
D3
36 25
37 24
E1
E3
48 13
PIN 1
IDENTIFICATION 1 12
e 5B_ME_V2
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 -
0.30
36 25
37 24
0.20
7.30
9.70 5.80
7.30
48 13
1 12
1.20
5.80
9.70
ai14911d
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
Date code
Y WW
Revision code
Pin 1 identifier
R
MSv47905V2
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.
ddd Z
A4
A3 A2 A1 A
E1 A1 ball A1 ball X
identifier index area E
e F
A
F
D1 D
e
H Y
8 1
BOTTOM VIEW Øb (64 balls) TOP VIEW
Ø eee M Z Y X
Ø fff M Z A019_ME_V1
Dpad
Dsm
BGA_WLCSP_FT_V1
Pitch 0.5
Dpad 0.280 mm
0.370 mm typ. (depends on the solder mask
Dsm
registration tolerance)
Stencil opening 0.280 mm
Stencil thickness Between 0.100 mm and 0.125 mm
Pad trace width 0.100 mm
Device marking
The following figure gives an example of topside marking orientation versus ball A1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
(1)
Product identification
G081RBI6
Standard ST logo
Date code
Y WW
Revision code
Ball A1 identifier
R
MSv47973V1
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.
SEATING PLANE
C
A2
A
0.25 mm
GAUGE PLANE
A1
c
ccc C
A1
D K
D1 L
D3 L1
48 33
32
49
E1
E3
64 17 E
PIN 1 1 16
IDENTIFICATION e
5W_ME_V3
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 - 12.000 - - 0.4724 -
D1 - 10.000 - - 0.3937 -
D3 - 7.500 - - 0.2953 -
E - 12.000 - - 0.4724 -
E1 - 10.000 - - 0.3937 -
E3 - 7.500 - - 0.2953 -
e - 0.500 - - 0.0197 -
K 0° 3.5° 7° 0° 3.5° 7°
L 0.450 0.600 0.750 0.0177 0.0236 0.0295
L1 - 1.000 - - 0.0394 -
ccc - - 0.080 - - 0.0031
1. Values in inches are converted from mm and rounded to 4 decimal digits.
48 33
0.3
49 0.5 32
12.7
10.3
10.3
64 17
1.2
1 16
7.8
12.7
ai14909c
Device marking
The following figure gives an example of topside marking orientation versus pin 1 identifier
location.
The printed markings may differ depending on the supply chain.
Other optional marking or inset/upset marks, which identify the parts throughout supply
chain operations, are not indicated below.
Revision code
R
STM32G081 Product identification (1)
RBT6
Date code
Y WW
Pin 1 identifier
MSv47903V2
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.
LQFP64 10 × 10 mm 65
UFBGA64 5 × 5 mm 74
LQFP48 7 × 7 mm 75
The following example shows how to calculate the temperature range needed for a given
application.
Example:
Assuming the following worst application conditions:
• ambient temperature TA = 50 °C (measured according to JESD51-2)
• IDD = 50 mA; VDD = 3.6 V
• 20 I/Os simultaneously used as output at low level with IOL = 8 mA (VOL= 0.4 V), and
• 8 I/Os simultaneously used as output at low level with IOL = 20 mA (VOL= 1.3 V),
the power consumption from power supply PINT is:
PINT = 50 mA × 3.6 V= 118 mW,
the power loss through I/Os PIO is
PIO = 20 × 8 mA × 0.4 V + 8 × 20 mA × 1.3 V = 272 mW,
and the total power PD to dissipate is:
PD = 180 mW + 272 mW = 452 mW
For a package with ΘJA= 65 °C/W, the junction temperature stabilizes at:
TJ = 50°C + (65 °C/W × 452 mW) = 50 °C + 29.4 °C = 79.4 °C
As a conclusion, product version with suffix 6 (maximum allowed TJ = 105° C) is sufficient
for this application.
If the same application was used in a hot environment with maximum TA greater than
75.5 °C, the junction temperature would exceed 105°C and the product version allowing
higher maximum TJ would have to be ordered.
7 Ordering information
Device family
STM32 = Arm® based 32-bit microcontroller
Product type
G = general-purpose
Device subfamily
081 = STM32G081
Pin count
E = 25
G = 28
K = 32
C = 48
R = 64
Package type
I = UFBGA
T = LQFP
U = UFQFPN
Y = WLCSP
Temperature range
6 = -40 to 85°C (105°C junction)
7 = -40 to 105°C (125°C junction)
3 = -40 to 125°C (130°C junction)
Options
xTR = tape and reel packing; x = N (“N” product version), otherwise blank
x˽˽ = tray packing; x = N (“N” product version) or blank
other = 3-character ID incl. custom Flash code and packing information; x = N for “N” product version
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.
8 Revision history
Updated:
– Section 2: Description
– Section 4: Pinouts, pin description and alternate
functions
– Replaced “PD version” reference for “N version”
reference on Figure 8: STM32G081KxU UFQFPN32
pinout, Figure 9: STM32G081GxU UFQFPN28 pinout,
Table 12: Pin assignment and description and
Section 7: Ordering information
23-Sep-2021 4 – Section 6: Package information
– Example in Section 6.9.2: Selecting the product
temperature range
– Footnote 3 on Table 25: Current consumption in Run
and Low-power run modes at different die
temperatures
– Footnote 2 on Table 43: PLL characteristics
– VIL line on Table 51: I/O static characteristics
– VREFBUF_OUT line on Table 61: VREFBUF
characteristics
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. For additional information about ST trademarks, please refer to www.st.com/trademarks. 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.