STM32G071RXI
ARM Cortex-M0+ 32-bit MCUThe STM32G071RXI is a arm cortex-m0+ 32-bit mcu from STMicroelectronics. View the full STM32G071RXI datasheet below including key specifications, absolute maximum ratings.
STM32G071RXI shares its datasheet with STM32G071CBT6, whose page lists every part number it covers.
Official STM32G071RXI datasheet (PDF) — the source this page was extracted from.
STM32G071RXI Key Specifications
| Parameter | Value |
|---|---|
| Maximum CPU clock frequency | 64 MHz |
| Flash memory capacity | up to 128 KB |
| SRAM capacity | 36 KB (32 KB with parity) |
| ADC conversion time | 0.4 μs (12-bit resolution, up to 16 external channels) |
| DACs | Two 12-bit DACs with low-power sample-and-hold |
| Total I/O sink/source capability | 80 mA sum of all I/O pins (max 15 mA sink/source per standard pin, 20 mA sink for FT_f) |
| SPI transfer speed | up to 32 Mbit/s |
| I2C transfer speed | Fast-mode Plus up to 1 Mbit/s |
STM32G071RXI Overview
Part: STM32G071x8/xB — STMicroelectronics
Type: 32-bit Arm Cortex-M0+ Microcontroller
Description: Mainstream 64 MHz 32-bit Arm Cortex-M0+ microcontroller with up to 128 KB Flash, 36 KB SRAM, USB Type-C Power Delivery controller, 12-bit ADC, and dual 12-bit DACs operating from 1.7 to 3.6 V.
Operating Conditions:
- Supply voltage: 1.7 to 3.6 V (VDD)
- Analog supply voltage: 1.62 to 3.6 V (VDDA, for ADC and COMP)
- Operating temperature: -40 to 85 °C (Suffix 6)
- Maximum CPU frequency: 64 MHz
Absolute Maximum Ratings:
- Max supply voltage: 4.0 V (VDD, VBAT)
- Max continuous current: 100 mA (IVDD/VDDA power pin source, IVSS/VSSA ground pin sink)
- Max junction/storage temperature: 150 °C (TJ max 150 °C, TSTG -65 to +150 °C)
Key Specs:
- Maximum CPU clock frequency: 64 MHz
- Flash memory capacity: up to 128 KB
- SRAM capacity: 36 KB (32 KB with parity)
- ADC conversion time: 0.4 μs (12-bit resolution, up to 16 external channels)
- DACs: Two 12-bit DACs with low-power sample-and-hold
- Total I/O sink/source capability: 80 mA sum of all I/O pins (max 15 mA sink/source per standard pin, 20 mA sink for FT_f)
- SPI transfer speed: up to 32 Mbit/s
- I2C transfer speed: Fast-mode Plus up to 1 Mbit/s
Features:
- Arm 32-bit Cortex-M0+ core with Memory Protection Unit (MPU)
- USB Type-C Power Delivery controller
- Up to 60 fast I/Os, multiple 5 V-tolerant, all mappable on external interrupts
- Low-power operating modes: Sleep, Stop, Standby, and Shutdown
- 7-channel DMA controller with flexible DMAMUX mapping
- Two fast low-power analog comparators with rail-to-rail capability
- 14 timers including 16-bit motor-control timer (two 128 MHz capable) and 32-bit general-purpose timer
- Development support via Serial Wire Debug (SWD) and 96-bit unique ID
Applications:
- Motor control and industrial automation
- USB Type-C and Power Delivery systems
- Consumer electronics and smart home devices
- Sensor hubs and low-power portable applications
Package:
- WLCSP25 (2.30 x 2.48 mm, 0.4 mm pitch)
- UFQFPN28
- LQFP32
- UFQFPN32
- LQFP48
- UFQFPN48
- LQFP64
- UFBGA64 (0.5 mm pitch)
STM32G071RXI Features
- Includes ST state-of-the-art patented technology
- Core: Arm ® 32-bit Cortex ® -M0+ CPU, frequency up to 64 MHz
- -40°C to 85°C/105°C/125°C operating temperature
- Memories
- -36 Kbytes of SRAM (32 Kbytes with HW parity check)
- -Up to 128 Kbytes of flash memory with protection and securable area
- CRC calculation unit
- Reset and power management
- -Power-on/Power-down reset (POR/PDR)
- -Voltage range: 1.7 V to 3.6 V
- -Programmable Brownout reset (BOR)
- -Low-power modes:
- -Programmable voltage detector (PVD)
- Sleep, Stop, Standby, Shutdown
- -VBAT supply for RTC and backup registers
- Clock management
- -32 kHz crystal oscillator with calibration
- -4 to 48 MHz crystal oscillator
- -Internal 16 MHz RC with PLL option (±1 %)
- -Internal 32 kHz RC oscillator (±5 %)
- Up to 60 fast I/Os
- -Multiple 5 V-tolerant I/Os
- -All mappable on external interrupt vectors
- 7-channel DMA controller with flexible mapping
- 12-bit, 0.4 μs ADC (up to 16 ext. channels)
- -Conversion range: 0 to 3.6V
- -Up to 16-bit with hardware oversampling
- Two 12-bit DACs, low-power sample-and-hold
- Two fast low-power analog comparators, with programmable input and output, rail-to-rail
- 14 timers (two 128 MHz capable): 16-bit for advanced motor control, one 32-bit and five 16bit general-purpose, two basic 16-bit, two lowpower 16-bit, two watchdogs, SysTick timer
- Calendar RTC with alarm and periodic wakeup from Stop/Standby/Shutdown
STM32G071RXI Pin Configuration
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.
Figure 3. STM32G071Ex WLCSP25 ballout
Figure 4. STM32G071GxU UFQFPN28 pinout
48
Figure 5. STM32G071KxT LQFP32 pinout
Figure 6. STM32G071KxU UFQFPN32 pinout
48
Figure 7. STM32G071CxT LQFP48 pinout
Figure 8. STM32G071CxU UFQFPN48 pinout
Figure 9. STM32G071RxT LQFP64 pinout
Figure 10. STM32G071RxI UFBGA64 ballout
48
Table 11. Terms and symbols used in Pin assignment and description table
| Column | Column | Symbol | Definition |
|---|---|---|---|
| Pin name | Pin name | Terminal name corresponds to its by-default function at reset, unless otherwise specified in parenthesis under the pin name. | Terminal name corresponds to its by-default function at reset, unless otherwise specified in parenthesis under the pin name. |
| S | Supply pin | ||
| Pin type | I I/O | Input only pin Input / output pin | |
| I/O structure Note | I/O structure Note | _f _a _c _d Upon reset, all I/Os are set | Options for TT or FT I/Os I/O, Fm+ capable I/O, with analog switch function I/O, USB Type-C PD capable I/O, USB Type-C PD Dead Battery function as analog inputs, unless otherwise specified. |
| Pin functions | |||
| Alternate functions Functions directly selected/enabled through peripheral registers | Functions selected through GPIOx_AFR registers | Functions selected through GPIOx_AFR registers | |
| Additional functions |
Table 12. Pin assignment and description
| Pin number - WLCSP25 | Pin number - UFQFPN28 - GP | Pin number - UFQFPN28 - N | Pin number - LQFP32 / UFQFPN32 - GP | Pin number - LQFP32 / UFQFPN32 - N | Pin number - LQFP48 / UFQFPN48 | Pin number - UFBGA64 | Pin number - LQFP64 | Pin name (function upon reset) | Pin type | I/O structure | Note | Alternate functions | Additional functions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | - | - | - | - - | A1 | 1 | PC11 | I/O | FT | - | USART3_RX, USART4_RX, TIM1_CH4 | - | |
| - | - | - | - | - - | B2 | 2 | PC12 | I/O | FT | - | LPTIM1_IN1, UCPD1_FRSTX, TIM14_CH1 | - | |
| - | - | - | - | - 1 | C2 | 3 | PC13 | I/O | FT | (1)(2) | TIM1_BKIN | TAMP_IN1,RTC_TS, RTC_OUT1,WKUP2 |
Table 12. Pin assignment and description
Table 12. Pin assignment and description (continued)
| Pin number - WLCSP25 | Pin number - UFQFPN28 - GP | Pin number - UFQFPN28 - N | Pin number - LQFP32 / UFQFPN32 - GP | Pin number - LQFP32 / UFQFPN32 - N | Pin number - LQFP48 / UFQFPN48 | Pin number - UFBGA64 | Pin number - LQFP64 | Pin number - Pin name (function upon reset) | Pin type | I/O structure | Note | Alternate functions | Additional functions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | - | - | - | - | 2 | C1 | 4 | PC14- OSC32_IN (PC14) | I/O | FT | (1)(2) | TIM1_BKIN2 | OSC32_IN |
| A5 | 1 | 1 | 2 | 2 | - | - | - | PC14- OSC32_IN (PC14) | I/O | FT | (1)(2) | TIM1_BKIN2 | OSC32_IN,OSC_IN |
| B5 | 2 | 2 | 3 | 3 | 3 | B1 | 5 | PC15- OSC32_OUT (PC15) | I/O | FT | (1)(2) | OSC32_EN, OSC_EN, TIM15_BKIN | OSC32_OUT |
| - | - | - | - | - | 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 | - | - | - | - |
| - | - | - | - | - | 8 | F1 | 10 | PF0-OSC_IN (PF0) | I/O | FT | - | TIM14_CH1 | OSC_IN |
| - | - | - | - | - | 9 | G1 | 11 | PF1- OSC_OUT (PF1) | I/O | FT | - | OSC_EN, TIM15_CH1N | OSC_OUT |
| E5 | 5 | 5 | 6 | 6 | 10 | E2 | 12 | PF2 - NRST | I/O | RST, FT | (3) | MCO | NRST |
| - | - | - | - | - | - | E3 | 13 | PC0 | I/O | FT | - | LPTIM1_IN1, LPUART1_RX, LPTIM2_IN1 | - |
| - | - | - | - | - | - | F2 | 14 | PC1 | I/O | FT | - | LPTIM1_OUT, LPUART1_TX, TIM15_CH1 | - |
| - | - | - | - | - | - | G2 | 15 | PC2 | I/O | FT | - | LPTIM1_IN2, SPI2_MISO, TIM15_CH2 | - |
| - | - | - | - | - | - | H1 | 16 | PC3 | I/O | FT | - | LPTIM1_ETR, SPI2_MOSI, LPTIM2_ETR | - |
| C4 | 6 | 6 | 7 | 7 | 11 | H2 | 17 | PA0 | I/O | FT_a | - | SPI2_SCK, USART2_CTS, TIM2_CH1_ETR, USART4_TX,LPTIM1_OUT, UCPD2_FRSTX, COMP1_OUT | COMP1_INM,ADC_IN0, TAMP_IN2,WKUP1 |
Table 12. Pin assignment and description (continued)
48
Table 12. Pin assignment and description (continued)
| Pin number - WLCSP25 | Pin number - UFQFPN28 - GP | Pin number - UFQFPN28 - N | Pin number - LQFP32 / UFQFPN32 - GP | Pin number - LQFP32 / UFQFPN32 - N | Pin number - LQFP48 / UFQFPN48 | Pin number - UFBGA64 | Pin number - LQFP64 | Pin number - Pin name (function upon reset) | Pin type | I/O structure | Note | Alternate functions | Additional functions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| D4 | 7 | 7 | 8 | 8 | 12 | H3 | 18 | PA1 | I/O | FT_a | - | SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM2_CH2, USART4_RX, TIM15_CH1N, I2C1_SMBA, EVENTOUT | COMP1_INP, ADC_IN1 |
| E4 | 8 | 8 | 9 | 9 | 13 | G3 | 19 | PA2 | I/O | FT_a | - | SPI1_MOSI/I2S1_SD, USART2_TX, TIM2_CH3, UCPD1_FRSTX, TIM15_CH1, LPUART1_TX, COMP2_OUT | COMP2_INM,ADC_IN2, WKUP4,LSCO |
| C3 | 9 | 9 | 10 | 10 | 14 | F3 | 20 | PA3 | I/O | FT_a | - | SPI2_MISO, USART2_RX, TIM2_CH4, UCPD2_FRSTX, TIM15_CH2,LPUART1_RX, EVENTOUT | COMP2_INP, ADC_IN3 |
| - | - | - | - | - | 15 | H4 | 21 | PA4 | I/O | TT_a | - | SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, LPTIM2_OUT, UCPD2_FRSTX, EVENTOUT | ADC_IN4, DAC_OUT1, RTC_OUT2 |
| D3 | 10 | 10 | 11 | 11 | - | - | - | PA4 | I/O | TT_a | - | SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, LPTIM2_OUT, UCPD2_FRSTX, EVENTOUT | ADC_IN4, DAC_OUT1, TAMP_IN1,RTC_TS, RTC_OUT1,WKUP2 |
| E3 | 11 | 11 | 12 | 12 | 16 | G4 | 22 | PA5 | I/O | TT_a | - | SPI1_SCK/I2S1_CK, CEC, TIM2_CH1_ETR, USART3_TX,LPTIM2_ETR, UCPD1_FRSTX, EVENTOUT | ADC_IN5, DAC_OUT2 |
| C2 | 12 | 12 | 13 | 13 | 17 | F4 | 23 | PA6 | I/O | FT_a | - | SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, USART3_CTS,TIM16_CH1, LPUART1_CTS, COMP1_OUT | ADC_IN6 |
| D2 | 13 | 13 | 14 | 14 | 18 | E4 | 24 | PA7 | I/O | FT_a | - | SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1, UCPD1_FRSTX, COMP2_OUT | ADC_IN7 |
| - | - | - | - | - | - | H5 | 25 | PC4 | I/O | FT_a | - | USART3_TX, USART1_TX, TIM2_CH1_ETR | COMP1_INM, ADC_IN17 |
Table 12. Pin assignment and description (continued)
Table 12. Pin assignment and description (continued)
| Pin number - WLCSP25 | Pin number - UFQFPN28 - GP | Pin number - UFQFPN28 - N | Pin number - LQFP32 / UFQFPN32 - GP | Pin number - LQFP32 / UFQFPN32 - N | Pin number - LQFP48 / UFQFPN48 | Pin number - UFBGA64 | Pin number - LQFP64 | Pin name (function upon reset) | Pin type | I/O structure | Note | Alternate functions | Additional functions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | - | - | - | - - | H6 | 26 | PC5 | I/O | FT_a | - | USART3_RX, USART1_RX, TIM2_CH2 | COMP1_INP, ADC_IN18, WKUP5 | |
| E2 | 14 | - | 15 | 15 | 19 | F5 | 27 | PB0 | I/O | FT_a | - | SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, USART3_RX,LPTIM1_OUT, UCPD1_FRSTX, COMP1_OUT | ADC_IN8 |
| - | - | 14 | - | - | - | - | - | PB0 | I/O | FT_da | (4) | SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, USART3_RX,LPTIM1_OUT, UCPD1_FRSTX, COMP1_OUT | UCPD1_DBCC2, ADC_IN8 |
| E1 | 15 | - | 16 | 16 | 20 | G5 | 28 | PB1 | I/O | FT_a | - | TIM14_CH1, TIM3_CH4, TIM1_CH3N, USART3_RTS_DE_CK, LPTIM2_IN1, LPUART1_RTS_DE, EVENTOUT | COMP1_INM, ADC_IN9 |
| - | - | - | 17 | - | 21 | H7 | 29 | PB2 | I/O | FT_a | - | SPI2_MISO, USART3_TX, LPTIM1_OUT, EVENTOUT | COMP1_INP, ADC_IN10 |
| - | - | - | - | - | 22 | G6 | 30 | PB10 | I/O | FT_fa | - | CEC, LPUART1_RX, TIM2_CH3, USART3_TX, SPI2_SCK, I2C2_SCL, COMP1_OUT | ADC_IN11 |
| - | - | - | - | - | 23 | H8 | 31 | PB11 | I/O | FT_fa | - | SPI2_MOSI, LPUART1_TX, TIM2_CH4, USART3_RX, I2C2_SDA, COMP2_OUT | ADC_IN15 |
| - | - | - | - | - | 24 | G7 | 32 | PB12 | I/O | FT_a | - | SPI2_NSS, LPUART1_RTS_DE, TIM1_BKIN, TIM15_BKIN, UCPD2_FRSTX, EVENTOUT | ADC_IN16 |
| - | - | - | - | - | 25 | G8 | 33 | PB13 | I/O | FT_f | - | SPI2_SCK,LPUART1_CTS, TIM1_CH1N, USART3_CTS, TIM15_CH1N, I2C2_SCL, EVENTOUT | - |
Table 12. Pin assignment and description (continued)
48
Table 12. Pin assignment and description (continued)
| Pin number - WLCSP25 | Pin number - UFQFPN28 - GP | Pin number - UFQFPN28 - N | Pin number - LQFP32 / UFQFPN32 - GP | Pin number - LQFP32 / UFQFPN32 - N | Pin number - LQFP48 / UFQFPN48 | Pin number - UFBGA64 | Pin number - LQFP64 | Pin name (function upon reset) | Pin type | I/O structure | Note | Alternate functions | Additional functions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - | - | - | - | - 26 | F6 | 34 | PB14 | I/O | FT_f | - | SPI2_MISO, UCPD1_FRSTX, TIM1_CH2N, USART3_RTS_DE_CK, TIM15_CH1, I2C2_SDA, EVENTOUT | - | |
| - | - | 15 | - | 17 | 27 | F7 | 35 | PB15 | I/O | FT_c | (4) | SPI2_MOSI, TIM1_CH3N, TIM15_CH1N, TIM15_CH2, EVENTOUT | UCPD1_CC2, RTC_REFIN, |
| D1 | 16 | 16 | 18 | 18 | 28 | F8 | 36 | PA8 | I/O | FT_c | (4) | MCO, SPI2_NSS, TIM1_CH1, LPTIM2_OUT, EVENTOUT | UCPD1_CC1 |
| - | - | - | 19 | 19 | 29 | E6 | 37 | PA9 | I/O | FT_fd | (4) | MCO, USART1_TX, TIM1_CH2, SPI2_MISO, TIM15_BKIN, I2C1_SCL, EVENTOUT | UCPD1_DBCC1 |
| - | 17 | - | 20 | 20 | 30 | E7 | 38 | PC6 | I/O | FT | - | UCPD1_FRSTX, TIM3_CH1, TIM2_CH3 | - |
| - | - | 17 | - | - | - | - | - | PC6 | I/O | FT_d | (4) | UCPD1_FRSTX, TIM3_CH1, TIM2_CH3 | UCPD1_DBCC1 |
| - | - | - | - | - | 31 | E5 | 39 | PC7 | I/O | FT | - | UCPD2_FRSTX, TIM3_CH2, TIM2_CH4 | - |
| - | - | - | - | - | - | E8 | 40 | PD8 | I/O | FT | - | USART3_TX, SPI1_SCK/I2S1_CK, LPTIM1_OUT | - |
| - | - | - | - | - | - | D8 | 41 | PD9 | I/O | FT | - | USART3_RX, SPI1_NSS/I2S1_WS, TIM1_BKIN2 | - |
| - | - | - | 21 | 21 | 32 | D6 | 42 | PA10 | I/O | FT_fd | (4) | SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA, EVENTOUT | UCPD1_DBCC2 |
| C1 | 18 | 18 | 22 | 22 | 33 | C8 | 43 | PA11 [PA9] (5) | I/O | FT_f | - | SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2, I2C2_SCL, COMP1_OUT | - |
| B1 | 19 | 19 | 23 | 23 | 34 | B8 | 44 | PA12 [PA10] (5) | I/O | FT_f | - | SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA, COMP2_OUT | - |
Table 12. Pin assignment and description (continued)
Table 12. Pin assignment and description (continued)
| Pin number - WLCSP25 | Pin number - UFQFPN28 - GP | Pin number - UFQFPN28 - N | Pin number - LQFP32 / UFQFPN32 - GP | Pin number - LQFP32 / UFQFPN32 - N | Pin number - LQFP48 / UFQFPN48 | Pin number - UFBGA64 | Pin number - LQFP64 | Pin number - Pin name (function upon reset) | Pin type | I/O structure | Note | Alternate functions | Additional functions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| B2 | 20 | 20 | 24 | 24 | 35 | D7 | 45 | PA13 | I/O | FT | (6) | SWDIO, IR_OUT, EVENTOUT | - |
| A2 | 21 | 21 | 25 | 25 | 36 | C7 | 46 | PA14-BOOT0 | I/O | FT | (6) | SWCLK, USART2_TX, EVENTOUT | BOOT0 |
| A1 | 22 | - | 26 | - | 37 | C6 | 47 | PA15 | I/O | FT | - | SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR, USART4_RTS_DE_CK, USART3_RTS_DE_CK, EVENTOUT | - |
| - | - | - | - | - | - | A8 | 48 | PC8 | I/O | FT | - | UCPD2_FRSTX, TIM3_CH3, TIM1_CH1 | - |
| - | - | - | - | - | - | B7 | 49 | PC9 | I/O | FT | - | I2S_CKIN, TIM3_CH4, TIM1_CH2 | - |
| - | - | 22 | - | 26 | 38 | A7 | 50 | PD0 | I/O | FT_c | (4) | EVENTOUT, SPI2_NSS, TIM16_CH1 | UCPD2_CC1 |
| - | - | 23 | - | 27 | 39 | B6 | 51 | PD1 | I/O | FT_d | (4) | EVENTOUT, SPI2_SCK, TIM17_CH1 | UCPD2_DBCC1 |
| - | - | 24 | - | 28 | 40 | A6 | 52 | PD2 | I/O | FT_c | (4) | USART3_RTS_DE_CK, TIM3_ETR, TIM1_CH1N | UCPD2_CC2 |
| - | - | 25 | - | 29 | 41 | D5 | 53 | PD3 | I/O | FT_d | (4) | USART2_CTS,SPI2_MISO, TIM1_CH2N | UCPD2_DBCC2 |
| - | - | - | - | - | - | C5 | 54 | PD4 | I/O | FT | - | USART2_RTS_DE_CK, SPI2_MOSI, TIM1_CH3N | - |
| - | - | - | - | - | - | B5 | 55 | PD5 | I/O | FT | - | USART2_TX, SPI1_MISO/I2S1_MCK, TIM1_BKIN | - |
| - | - | - | - | - | - | A5 | 56 | PD6 | I/O | FT | - | USART2_RX, SPI1_MOSI/I2S1_SD, LPTIM2_OUT | - |
| - | 23 | - | 27 | - | 42 | B4 | 57 | PB3 | I/O | FT_a | - | SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2, USART1_RTS_DE_CK, EVENTOUT | COMP2_INM |
| - | 24 | - | 28 | - | 43 | C4 | 58 | PB4 | I/O | FT_a | - | SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN, EVENTOUT | COMP2_INP |
Table 12. Pin assignment and description (continued)
48
Table 12. Pin assignment and description (continued)
| Pin number - WLCSP25 | Pin number - UFQFPN28 - GP | Pin number - UFQFPN28 - N | Pin number - LQFP32 / UFQFPN32 - GP | Pin number - LQFP32 / UFQFPN32 - N | Pin number - LQFP48 / UFQFPN48 | Pin number - UFBGA64 | Pin number - LQFP64 | Pin name (function upon reset) | Pin type | I/O structure | Note | Alternate functions | Additional functions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A3 | 25 | - | 29 | - | 44 | D4 | 59 | PB5 | I/O | FT | - | SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, LPTIM1_IN1, I2C1_SMBA, COMP2_OUT | WKUP6 |
| B3 | 26 | 26 | 30 | 30 | 45 | A4 | 60 | PB6 | I/O | FT_fa | - | USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR, I2C1_SCL, EVENTOUT | COMP2_INP |
| A4 | 27 | 27 | 31 | 31 | 46 | A3 | 61 | PB7 | I/O | FT_fa | - | USART1_RX, SPI2_MOSI, TIM17_CH1N, USART4_CTS, LPTIM1_IN2, I2C1_SDA, EVENTOUT | COMP2_INM, PVD_IN |
| B4 | 28 | 28 | 32 | 32 | 47 | B3 | 62 | PB8 | I/O | FT_f | - | CEC, SPI2_SCK, TIM16_CH1, USART3_TX, TIM15_BKIN, I2C1_SCL, EVENTOUT | - |
| - | - | - | 1 | 1 | 48 | C3 | 63 | PB9 | I/O | FT_f | - | IR_OUT, UCPD2_FRSTX, TIM17_CH1, USART3_RX, SPI2_NSS, I2C1_SDA, EVENTOUT | - |
| - | - | - | - | - | - | A2 | 64 | PC10 | I/O | FT | - | USART3_TX, USART4_TX, TIM1_CH3 | - |
- 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:
- These GPIOs must not be used as current sources (for example to drive a LED).
- The speed should not exceed 2 MHz with a maximum load of 30 pF
- 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.
- RST I/O structure when the PF2-NRST pin is configured as reset (input or input/output mode), FT I/O structure when the PF2-NRST pin is configured as GPIO.
- Upon reset, a pull-down resistor might be present on PA8, PB15, PD0, or PD2, depending on the voltage level on PA9/PC6, PA10/PB0, PD1, and PD3, respectively. In order to disable this resistor, strobe the UCPDx_STROBE bit of the SYSCFG_CFGR1 register during start-up sequence.
- Pins PA9/PA10 can be remapped in place of pins PA11/PA12 (default mapping), using SYSCFG_CFGR1 register.
- 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.
Table 13. Port A alternate function mapping
| Port | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 | AF7 |
|---|---|---|---|---|---|---|---|---|
| PA0 | SPI2_SCK | USART2_CTS | TIM2_CH1_ETR | - | USART4_TX | LPTIM1_OUT | UCPD2_FRSTX | COMP1_OUT |
| PA1 | SPI1_SCK/ I2S1_CK | USART2_RTS _DE_CK | TIM2_CH2 | - | USART4_RX | TIM15_CH1N | I2C1_SMBA | EVENTOUT |
| PA2 | SPI1_MOSI/ I2S1_SD | USART2_TX | TIM2_CH3 | - | UCPD1_FRSTX | TIM15_CH1 | LPUART1_TX | COMP2_OUT |
| PA3 | SPI2_MISO | USART2_RX | TIM2_CH4 | - | UCPD2_FRSTX | TIM15_CH2 | LPUART1_RX | EVENTOUT |
| PA4 | SPI1_NSS/ I2S1_WS | SPI2_MOSI | - | - | TIM14_CH1 | LPTIM2_OUT | UCPD2_FRSTX | EVENTOUT |
| PA5 | SPI1_SCK/ I2S1_CK | CEC | TIM2_CH1_ETR | - | USART3_TX | LPTIM2_ETR | UCPD1_FRSTX | EVENTOUT |
| PA6 | SPI1_MISO/ I2S1_MCK | TIM3_CH1 | TIM1_BKIN | - | USART3_CTS | TIM16_CH1 | LPUART1_CTS | COMP1_OUT |
| PA7 | SPI1_MOSI/ I2S1_SD | TIM3_CH2 | TIM1_CH1N | - | TIM14_CH1 | TIM17_CH1 | UCPD1_FRSTX | COMP2_OUT |
| 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 |
| PA11 | SPI1_MISO/ I2S1_MCK | USART1_CTS | TIM1_CH4 | - | - | TIM1_BKIN2 | I2C2_SCL | COMP1_OUT |
| PA12 | SPI1_MOSI/ I2S1_SD | USART1_RTS _DE_CK | TIM1_ETR | - | - | I2S_CKIN | I2C2_SDA | COMP2_OUT |
| PA13 | SWDIO | IR_OUT | - | - | - | - | - | EVENTOUT |
| PA14 | SWCLK | USART2_TX | - | - | - | - | - | EVENTOUT |
| PA15 | SPI1_NSS/ I2S1_WS | USART2_RX | TIM2_CH1_ETR | - | USART4_RTS _DE_CK | USART3_RTS _DE_CK | - | EVENTOUT |
Table 13. Port A alternate function mapping
Table 14. Port B alternate function mapping
| Port | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 | AF7 |
|---|---|---|---|---|---|---|---|---|
| PB0 | SPI1_NSS/ I2S1_WS | TIM3_CH3 | TIM1_CH2N | - | USART3_RX | LPTIM1_OUT | UCPD1_FRSTX | COMP1_OUT |
| PB1 | TIM14_CH1 | TIM3_CH4 | TIM1_CH3N | - | USART3_RTS _DE_CK | LPTIM2_IN1 | LPUART1_RTS _DE | EVENTOUT |
| PB2 | - | SPI2_MISO | - | - | USART3_TX | LPTIM1_OUT | - | EVENTOUT |
| PB3 | SPI1_SCK/ I2S1_CK | TIM1_CH2 | TIM2_CH2 | - | USART1_RTS _DE_CK | - | - | EVENTOUT |
| PB4 | SPI1_MISO/ I2S1_MCK | TIM3_CH1 | - | - | USART1_CTS | TIM17_BKIN | - | EVENTOUT |
| PB5 | SPI1_MOSI/ I2S1_SD | TIM3_CH2 | TIM16_BKIN | - | - | LPTIM1_IN1 | I2C1_SMBA | COMP2_OUT |
| PB6 | USART1_TX | TIM1_CH3 | TIM16_CH1N | - | SPI2_MISO | LPTIM1_ETR | I2C1_SCL | EVENTOUT |
| PB7 | USART1_RX | SPI2_MOSI | TIM17_CH1N | - | USART4_CTS | LPTIM1_IN2 | I2C1_SDA | EVENTOUT |
| PB8 | CEC | SPI2_SCK | TIM16_CH1 | - | USART3_TX | TIM15_BKIN | I2C1_SCL | EVENTOUT |
| PB9 | IR_OUT | UCPD2_FRSTX | TIM17_CH1 | - | USART3_RX | SPI2_NSS | I2C1_SDA | EVENTOUT |
| PB10 | CEC | LPUART1_RX | TIM2_CH3 | - | USART3_TX | SPI2_SCK | I2C2_SCL | COMP1_OUT |
| PB11 | SPI2_MOSI | LPUART1_TX | TIM2_CH4 | - | USART3_RX | - | I2C2_SDA | COMP2_OUT |
| PB12 | SPI2_NSS | LPUART1_RTS _DE | TIM1_BKIN | - | - | TIM15_BKIN | UCPD2_FRSTX | EVENTOUT |
| PB13 | SPI2_SCK | LPUART1_CTS | TIM1_CH1N | - | USART3_CTS | TIM15_CH1N | I2C2_SCL | EVENTOUT |
| PB14 | SPI2_MISO | UCPD1_FRSTX | TIM1_CH2N | - | USART3_RTS _DE_CK | TIM15_CH1 | I2C2_SDA | EVENTOUT |
| PB15 | SPI2_MOSI | - | TIM1_CH3N | - | TIM15_CH1N | TIM15_CH2 | - | EVENTOUT |
Table 14. Port B alternate function mapping
Table 15. Port C alternate function mapping
| Port | AF0 | AF1 | AF2 | AF3 | AF4 | AF5 | AF6 | AF7 |
|---|---|---|---|---|---|---|---|---|
| PC0 | LPTIM1_IN1 | LPUART1_RX | LPTIM2_IN1 | - | - | - | - | - |
| PC1 | LPTIM1_OUT | LPUART1_TX | TIM15_CH1 | - | - | - | - | - |
| PC2 | LPTIM1_IN2 | SPI2_MISO | TIM15_CH2 | - | - | - | - | - |
| PC3 | LPTIM1_ETR | SPI2_MOSI | LPTIM2_ETR | - | - | - | - | - |
| PC4 | USART3_TX | USART1_TX | TIM2_CH1_ETR | - | - | - | - | - |
| PC5 | USART3_RX | USART1_RX | TIM2_CH2 | - | - | - | - | - |
| PC6 | UCPD1_FRSTX | TIM3_CH1 | TIM2_CH3 | - | - | - | - | - |
| PC7 | UCPD2_FRSTX | TIM3_CH2 | TIM2_CH4 | - | - | - | - | - |
| PC8 | UCPD2_FRSTX | TIM3_CH3 | TIM1_CH1 | - | - | - | - | - |
| PC9 | I2S_CKIN | TIM3_CH4 | TIM1_CH2 | - | - | - | - | - |
| PC10 | USART3_TX | USART4_TX | TIM1_CH3 | - | - | - | - | - |
| PC11 | USART3_RX | USART4_RX | TIM1_CH4 | - | - | - | - | - |
| PC12 | LPTIM1_IN1 | UCPD1_FRSTX | TIM14_CH1 | - | - | - | - | - |
| PC13 | - | - | TIM1_BKIN | - | - | - | - | - |
| PC14 | - | - | TIM1_BKIN2 | - | - | - | - | - |
| PC15 | OSC32_EN | OSC_EN | TIM15_BKIN | - | - | - | - | - |
Table 15. Port C alternate function mapping
STM32G071RXI Absolute Maximum Ratings
Stresses above the absolute maximum ratings listed in Table 18 , Table 19 and Table 20 may cause permanent damage to the device. These are stress ratings only and functional operation of the device at these conditions is not implied. Exposure to maximum rating conditions for extended periods may affect device reliability. The device mission profile (application conditions) is compliant with the JEDEC JESD47 qualification standard.
All voltages are defined with respect to V SS .
Table 18. Voltage characteristics
| Symbol | Ratings | Min | Max | Unit |
|---|---|---|---|---|
| V DD | External supply voltage | -0.3 | 4.0 | V |
| V BAT | External supply voltage on VBAT pin | -0.3 | 4.0 | V |
| V REF+ | External voltage on VREF+ pin | -0.3 | Min(V DD + 0.4, 4.0) | V |
| V IN (1) | Input voltage on FT_xx pins except FT_c | -0.3 | V DD + 4.0 (2)(3) | V |
| V IN (1) | Input voltage on FT_c pins | -0.3 | 5.5 | V |
| V IN (1) | Input voltage on any other pin | -0.3 | 4.0 | V |
- Refer to Table 19 for the maximum allowed injected current values.
- To sustain a voltage higher than 4 V the internal pull-up/pull-down resistors must be disabled.
- When an FT_a pin is used by an analog peripheral such as ADC, the maximum V IN is 4 V.
Table 19. Current characteristics
| Symbol | Ratings | Max | Unit |
|---|---|---|---|
| I VDD/VDDA | Current into VDD/VDDA power pin (source) (1) | 100 | mA |
| I VSS/VSSA | Current out of VSS/VSSA ground pin (sink) (2) | 100 | mA |
| I IO(PIN) | Output current sunk by any I/O and control pin except FT_f | 15 | mA |
| I IO(PIN) | Output current sunk by any FT_f pin | 20 | mA |
| I IO(PIN) | Output current sourced by any I/O and control pin | 15 | mA |
Table 19. Current characteristics
110
Table 19. Current characteristics (continued)
| Symbol | Ratings | Max | Unit |
|---|---|---|---|
| ∑ I IO(PIN) | Total output current sunk by sum of all I/Os and control pins | 80 | mA |
| ∑ I IO(PIN) | Total output current sourced by sum of all I/Os and control pins | 80 | mA |
| I INJ(PIN) (2) | Injected current on a FT_xx pin | -5 / NA (3) | mA |
| I INJ(PIN) (2) | Injected current on a TT_a pin (4) | -5 / 0 | mA |
| ∑ |I INJ(PIN) | | Total injected current (sum of all I/Os and control pins) (5) | 25 | mA |
- Positive injection is not possible on these I/Os and does not occur for input voltages lower than the specified maximum value.
- On these I/Os, any current injection disturbs the analog performances of the device.
- When several inputs are submitted to a current injection, the maximum ∑ |I INJ(PIN) | is the absolute sum of the negative injected currents (instantaneous values).
Table 20. Thermal characteristics
| Symbol | Ratings | Value | Unit |
|---|---|---|---|
| T STG | Storage temperature range | -65 to +150 | °C |
| T J | Maximum junction temperature | 150 | °C |
STM32G071RXI Thermal Information
The operating junction temperature T J must never exceed the maximum given in Table 21: General operating conditions .
The maximum junction temperature in °C that the device can reach if respecting the operating conditions, is:
$${\rm T_J(max)} = {\rm T_A(max)} + {\rm P_D(max)} \times \Theta_{\rm JA}$$
STM32G071RXI Package Information
In order to meet environmental requirements, ST offers these devices in different grades of ECOPACK packages, depending on their level of environmental compliance. ECOPACK specifications, grade definitions and product status are available at: www.st.com . ECOPACK is an ST trademark.
Other Microcontrollers (MCU)
- STM32F407VET6 – STMicroelectronics, ARM Cortex-M4 MCU
- STM32H563ZIT6 – STMicroelectronics, Arm Cortex-M33 32-bit MCU
- RP2040 – Raspberry Pi, Microcontroller
- STM32H743VIT6 – STMicroelectronics, Microcontroller Unit (MCU)
- STM32U575RIT6 – STMicroelectronics, Ultra-low-power Arm Cortex-M33 32-bit MCU
- STM32L011F4U6 – STMicroelectronics, Ultra-low-power Arm Cortex-M0+ MCU
- GD32F103C8T6 – GigaDevice, Arm Cortex-M3 32-bit MCU
- CH32H417QEU6 – WCH, Dual-Core RISC-V Microcontroller
All Microcontrollers (MCU) datasheetsAll STMicroelectronics datasheets (808)
Ask your AI agent about the STM32G071RXI
Connect SheetsData to Claude, Cursor, Codex or any MCP client and your agent reads this datasheet for you: pinout, limits, register maps and design checks, with the numbers taken from the PDF.
claude mcp add --transport http sheetsdata https://mcp.sheetsdata.com/mcp
Then ask: "Can the STM32G071RXI run from my 12 V rail? Check it against the datasheet limits."
Create a free account $2 of usage every month, no card needed.