component
STM32U031R8T6
Public Made by Adomby adom
ST(意法半导体) , LQFP-64(10x10). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
main
Ray
Publish 0.1.0
89a3091
STM32U031R8T6
ST(意法半导体) · IC · LQFP-64(10x10)
STM32U031R8T6 from ST(意法半导体), in a LQFP-64(10x10). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model, then checked against ST open pin data). Symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | VBAT | power_in | Backup domain supply input for the RTC and backup registers, specified at 1.55 to 3.6 V. |
| 2 | PC13 | bidirectional | 5 V-tolerant (FT) I/O supplied through the power switch, which limits it to 3 mA; output speed is limited to 2 MHz at 30 pF and it must not drive current sources such as LEDs. |
| 3 | PC14-OSC32_IN | bidirectional | 5 V-tolerant (FT) I/O supplied through the power switch (3 mA limit) that serves as the 32 kHz oscillator input OSC32_IN. |
| 4 | PC15-OSC32_OUT | bidirectional | 5 V-tolerant (FT) I/O supplied through the power switch (3 mA limit) that serves as the 32 kHz oscillator output OSC32_OUT. |
| 5 | PF0-OSC_IN | bidirectional | 5 V-tolerant (FT) I/O that serves as the high-speed oscillator input OSC_IN, with EVENTOUT as alternate function. |
| 6 | PF1-OSC_OUT | bidirectional | 5 V-tolerant (FT) I/O that serves as the high-speed oscillator output OSC_OUT, with OSC_EN and EVENTOUT as alternate functions. |
| 7 | PF2-NRST | bidirectional | Bidirectional reset pin with an embedded weak pull-up resistor (NRST); PF2 can also be used as the MCO alternate function. |
| 8 | PC0 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include LPTIM1_IN1, I2C3_SCL, LPUART1_RX, LPUART2_TX, LPTIM2_IN1 and additional function ADC1_IN1. |
| 9 | PC1 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include LPTIM1_CH1, I2C3_SDA, LPUART1_TX, LPUART2_RX and additional function ADC1_IN2. |
| 10 | PC2 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include MCO2, LPTIM1_IN2, SPI2_MISO and additional function ADC1_IN3. |
| 11 | PC3 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; this pin has a specific higher input leakage than other FT pins, and alternates include LPTIM1_ETR, SPI2_MOSI, USART4_CK, LPTIM2_ETR and additional function ADC1_IN4. |
| 12 | VSSA/VREF- | power_in | Analog ground and negative reference (VREF-) pin; ground variations between all ground pins, including VREF-, are limited to 50 mV. |
| 13 | VDDA/VREF+ | power_in | Analog supply and positive reference (VREF+) pin; VDDA range is 1.62 to 3.6 V when ADC or COMP is used and minimum 1.8 V when OPAMP is used. |
| 14 | PA0 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH1, USART2_CTS, USART4_TX, COMP1_OUT, TIM2_ETR and additional functions OPAMP1_VINP, COMP1_INM3, ADC1_IN5, WKUP1, TAMP_IN2. |
| 15 | PA1 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH2, LPTIM1_CH2, SPI1_SCK, SPI2_SCK, USART2_RTS/USART2_DE, USART4_RX, TIM15_CH1N and additional functions OPAMP1_VINM, COMP1_INP3, ADC1_IN6, WKUP3, TAMP_IN5. |
| 16 | PA2 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH3, USART2_TX, LPUART1_TX, TIM15_CH1 and additional functions ADC1_IN7, WKUP4/LSCO. |
| 17 | PA3 | bidirectional | 3.6 V-tolerant (TT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH4, USART2_RX, LPUART1_RX, TIM15_CH2 and additional functions OPAMP1_VOUT, ADC1_IN8. |
| 18 | VSS | power_in | Ground pin; all VSS pins must be connected to the ground supply. |
| 19 | VDD | power_in | Main supply pin; standard operating voltage range is 1.71 to 3.6 V. |
| 20 | PA4 | bidirectional | 3.6 V-tolerant (TT) I/O with analog switch supplied by VDDA; alternates include SPI1_NSS, USART2_CK, LPTIM2_CH1 and additional functions COMP1_INM4, ADC1_IN9, DAC1_OUT1. |
| 21 | PA5 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH1, TIM2_ETR, SPI1_SCK, USART3_TX, LPTIM2_ETR and additional functions COMP1_INM5, ADC1_IN10. |
| 22 | PA6 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM1_BKIN, TIM3_CH1, I2C2_SDA, I2C3_SDA, SPI1_MISO, COMP1_OUT, USART3_CTS, LPUART1_CTS, TSC_G5_IO1, TIM16_CH1 and additional function ADC1_IN11. |
| 23 | PA7 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include TIM1_CH1N, TIM3_CH2, I2C2_SCL, I2C3_SCL, SPI1_MOSI, USART3_RX, LPTIM2_CH2 and additional function ADC1_IN15. |
| 24 | PC4 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternate USART3_TX and additional functions COMP1_INM1, ADC1_IN16. |
| 25 | PC5 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternate USART3_RX and additional functions COMP1_INP1, ADC1_IN17, WKUP5, TAMP_IN4. |
| 26 | PB0 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM1_CH2N, TIM3_CH3, SPI1_NSS, USART3_CK, LPUART2_CTS, TSC_G5_IO2, COMP1_OUT and additional function ADC1_IN18. |
| 27 | PB1 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM1_CH3N, TIM3_CH4, USART3_RTS/USART3_DE, LPUART1_RTS/LPUART1_DE, TSC_SYNC, LPUART2_RTS/LPUART2_DE, LPTIM2_IN1 and additional functions COMP1_INM2, ADC1_IN19. |
| 28 | PB2 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include RTC_OUT2 and LPTIM1_CH1 and additional functions COMP1_INP2, RTC_OUT2. |
| 29 | PB10 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM2_CH3, I2C2_SCL, SPI2_SCK, USART3_TX, LPUART1_RX, TSC_G5_IO3, LPUART2_RX, COMP1_OUT. |
| 30 | PB11 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM2_CH4, I2C2_SDA, USART3_RX, LPUART1_TX, TSC_G5_IO4, LPUART2_TX. |
| 31 | VSS | power_in | Ground pin; all VSS pins must be connected to the ground supply. |
| 32 | VDD | power_in | Main supply pin; standard operating voltage range is 1.71 to 3.6 V. |
| 33 | PB12 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM1_BKIN, SPI2_NSS, USART3_CK, LPUART1_RTS/LPUART1_DE, TSC_G1_IO1, TIM15_BKIN and EVENTOUT. |
| 34 | PB13 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM1_CH1N, I2C2_SCL, SPI2_SCK, USART3_CTS, LPUART1_CTS, TSC_G1_IO2, TIM15_CH1N. |
| 35 | PB14 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM1_CH2N, I2C2_SDA, SPI2_MISO, USART3_RTS/USART3_DE, TSC_G1_IO3, TIM15_CH1. |
| 36 | PB15 | bidirectional | 5 V-tolerant (FT) I/O; alternates include RTC_REFIN, TIM1_CH3N, SPI2_MOSI, TSC_G1_IO4, TIM15_CH2 and additional functions WKUP7, TAMP_IN3. |
| 37 | PC6 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM3_CH1, LPUART2_TX, TSC_G4_IO1 and additional function COMP1_INP5. |
| 38 | PC7 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM3_CH2, LPUART2_RX, TSC_G4_IO2 and LPTIM2_CH2. |
| 39 | PC8 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM3_CH3 and TSC_G4_IO3. |
| 40 | PC9 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM3_CH4 and TSC_G4_IO4. |
| 41 | PA8 | bidirectional | 5 V-tolerant (FT) I/O; alternates include MCO, TIM1_CH1, MCO2, USART1_CK, TSC_G7_IO1 and LPTIM2_CH1. |
| 42 | PA9 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include MCO, TIM1_CH2, I2C1_SCL, I2C2_SCL, USART1_TX, TSC_G7_IO2, TIM15_BKIN and additional function COMP1_INP4. |
| 43 | PA10 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM1_CH3, MCO2, I2C1_SDA, I2C2_SDA, SPI2_NSS, USART1_RX and TSC_G7_IO3. |
| 44 | PA11 [PA9] | bidirectional | 5 V-tolerant (FT, note 3) I/O; default mapping of PA11 with alternates TIM1_CH4, TIM1_BKIN2, SPI1_MISO, SPI2_MISO, USART1_CTS and COMP1_OUT, and PA9 can be remapped here via SYSCFG_CFGR1. |
| 45 | PA12 [PA10] | bidirectional | 5 V-tolerant (FT, note 3) I/O; default mapping of PA12 with alternates TIM1_ETR, SPI1_MOSI, SPI2_MOSI and USART1_RTS/USART1_DE, and PA10 can be remapped here via SYSCFG_CFGR1. |
| 46 | PA13 (SWDIO) | bidirectional | 5 V-tolerant (FT, note 4) I/O that is the SWDIO debug function after reset, with an internal pull-up activated upon reset; alternates include IR_OUT and TSC_G7_IO4. |
| 47 | VSS | power_in | Ground pin; all VSS pins must be connected to the ground supply. |
| 48 | VDD | power_in | Main supply pin; standard operating voltage range is 1.71 to 3.6 V. |
| 49 | PA14 (SWCLK) | bidirectional | 5 V-tolerant (FT, note 4) I/O that is the SWCLK debug function after reset, with an internal pull-down activated upon reset; alternates include LPTIM1_CH1 and TSC_G3_IO4. |
| 50 | PA15 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM2_CH1, TIM2_ETR, USART2_RX, SPI1_NSS, USART3_RTS/USART3_DE, USART4_RTS/USART4_DE and TSC_G3_IO1. |
| 51 | PC10 | bidirectional | 5 V-tolerant (FT) I/O; alternates include USART3_TX, USART4_TX and TSC_G3_IO2. |
| 52 | PC11 | bidirectional | 5 V-tolerant (FT) I/O; alternates include USART3_RX, USART4_RX and TSC_G3_IO3. |
| 53 | PC12 | bidirectional | 5 V-tolerant (FT) I/O; alternates include USART3_CK and USART4_CK. |
| 54 | PD2 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM3_ETR, USART3_RTS/USART3_DE and TSC_SYNC. |
| 55 | PB3 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include TIM2_CH2, LPTIM1_CH3, I2C2_SCL, I2C3_SCL, SPI1_SCK and USART1_RTS/USART1_DE. |
| 56 | PB4 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include LPTIM1_CH4, TIM3_CH1, I2C2_SDA, I2C3_SDA, SPI1_MISO, USART1_CTS and TSC_G2_IO1. |
| 57 | PB5 | bidirectional | 5 V-tolerant (FT) I/O; alternates include LPTIM1_IN1, TIM3_CH2, SPI1_MOSI, USART1_CK, TSC_G2_IO2 and TIM16_BKIN. |
| 58 | PB6 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include LPTIM1_ETR, I2C1_SCL, I2C2_SCL, USART1_TX, TSC_G2_IO3, LPUART2_TX and TIM16_CH1N. |
| 59 | PB7 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include LPTIM1_IN2, I2C1_SDA, I2C2_SDA, USART1_RX, USART4_CTS, TSC_G2_IO4 and LPUART2_RX. |
| 60 | PF3-BOOT0 | bidirectional | 5 V-tolerant (FT) I/O that also serves as the BOOT0 boot-mode pin, with EVENTOUT as alternate function. |
| 61 | PB8 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include LPTIM1_IN2, I2C2_SCL, I2C1_SCL, USART3_TX and TIM16_CH1. |
| 62 | PB9 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include IR_OUT, I2C2_SDA, I2C1_SDA, SPI2_NSS, USART3_RX and LPTIM1_CH4. |
| 63 | VSS | power_in | Ground pin; all VSS pins must be connected to the ground supply. |
| 64 | VDD | power_in | Main supply pin; standard operating voltage range is 1.71 to 3.6 V. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | ST(意法半导体) |
| Package | LQFP-64(10x10) |
| Category | |
| Pins | 64 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| External main supply voltage (VDD, VDDA, VBAT) vs VSS | VDDX - VSS | -0.3 | 4 | V | 41 | ||
| Input voltage on TT_xx pins | VIN | 4 | V | TT_xx pins; printed min is VSS - 0.3 | 41 | ||
| Input voltage on any other pins | VIN | 4 | V | Any other pins; printed min is VSS - 0.3 | 41 | ||
| Variations between different VDDX power pins of the same domain | /ΔVDDX/ | 50 | mV | 41 | |||
| Variations between all the different ground pins (including VREF-) | /VSSx-VSS/ | 50 | mV | 41 | |||
| Total current into sum of all VDD power lines (source) | ∑IVDD | 140 | mA | 41 | |||
| Total current out of sum of all VSS ground lines (sink) | ∑IVSS | 140 | mA | 41 | |||
| Maximum current into each VDD power pin (source) | IVDD(PIN) | 100 | mA | 41 | |||
| Maximum current out of each VSS ground pin (sink) | IVSS(PIN) | 100 | mA | 41 | |||
| Output current sunk by any I/O and control pin except FT_f | IIO(PIN) | 20 | mA | 41 | |||
| Output current sunk by any FT_f pin | IIO(PIN) | 20 | mA | FT_f pin | 41 | ||
| Output current sourced by any I/O and control pin | IIO(PIN) | 20 | mA | 41 | |||
| Total output current sunk by sum of all I/Os and control pins | ∑IIO(PIN) | 100 | mA | 41 | |||
| Total output current sourced by sum of all I/Os and control pins | ∑IIO(PIN) | 100 | mA | 41 | |||
| Injected current on FT_xxx, TT_xx, RST | IINJ(PIN) | -5 | 0 | mA | Printed as -5/+0 | 41 | |
| Total injected current (sum of all I/Os and control pins) | ∑/IINJ(PIN)/ | 25 | mA | 41 | |||
| Storage temperature range | TSTG | -65 | 150 | °C | 42 | ||
| Maximum junction temperature | TJ | 150 | °C | 42 | |||
| Internal AHB clock frequency | fHCLK | 0 | 56 | MHz | 42 | ||
| Internal APB clock frequency | fPCLK | 0 | 56 | MHz | 42 | ||
| Standard operating voltage | VDD | 1.71 | 3.6 | V | 42 | ||
| Analog supply voltage (ADC or COMP used) | VDDA | 1.62 | 3.6 | V | ADC or COMP used | 42 | |
| Analog supply voltage (OPAMP used) | VDDA | 1.8 | V | OPAMP used; printed max not given per row | 42 | ||
| Analog supply voltage (ADC, OPAMP, COMP not used) | VDDA | 0 | V | ADC, OPAMP, COMP not used; printed max not given per row | 42 | ||
| Backup domain supply voltage | VBAT | 1.55 | 3.6 | V | 42 | ||
| I/O input voltage, TT_xx I/Os | VIN | -0.3 | V | TT_xx I/Os; printed max is VDDIOx + 0.3 | 42 | ||
| I/O input voltage, all I/Os except TT_xx pins | VIN | -0.3 | V | All I/Os except TT_xx; printed max is min(min(VDD,VDDA)+3.6, 5.5) | 42 | ||
| Ambient temperature, suffix 6, maximum power dissipation | TA | -40 | 85 | °C | Suffix 6; maximum power dissipation | 42 | |
| Ambient temperature, suffix 6, low-power dissipation | TA | -40 | 105 | °C | Suffix 6; low-power dissipation | 42 | |
| Junction temperature range, suffix 6 version | TJ | -40 | 105 | °C | Suffix 6 version | 42 | |
| Reset temporization after BOR0 is detected | tRSTTEMPO | 250 | 400 | μs | VDD rising | 43 | |
| Brownout reset threshold 0, rising edge | VBOR0 | 1.62 | 1.66 | 1.7 | V | Rising edge | 43 |
| Brownout reset threshold 0, falling edge | VBOR0 | 1.6 | 1.64 | 1.69 | V | Falling edge | 43 |
| Brownout reset threshold 1, rising edge | VBOR1 | 2.06 | 2.1 | 2.14 | V | Rising edge | 43 |
| Brownout reset threshold 1, falling edge | VBOR1 | 1.96 | 2 | 2.04 | V | Falling edge | 43 |
| Brownout reset threshold 2, rising edge | VBOR2 | 2.26 | 2.31 | 2.35 | V | Rising edge | 43 |
| Brownout reset threshold 2, falling edge | VBOR2 | 2.16 | 2.2 | 2.24 | V | Falling edge | 43 |
| Brownout reset threshold 3, rising edge | VBOR3 | 2.56 | 2.61 | 2.66 | V | Rising edge | 43 |
| Brownout reset threshold 3, falling edge | VBOR3 | 2.47 | 2.52 | 2.57 | V | Falling edge | 43 |
| Brownout reset threshold 4, rising edge | VBOR4 | 2.85 | 2.9 | 2.95 | V | Rising edge | 43 |
| Brownout reset threshold 4, falling edge | VBOR4 | 2.76 | 2.81 | 2.86 | V | Falling edge | 43 |
| Internal reference voltage | VREFINT | 1.182 | 1.212 | 1.232 | V | -40 °C < TA < +130 °C | 44 |
| Internal reference voltage spread over the temperature range | ΔVREFINT | 5 | 7.5 | mV | VDD = 3 V | 44 | |
| Temperature coefficient | TCoeff | 30 | 50 | ppm/°C | -40°C < TA < +130°C | 44 | |
| Voltage coefficient | VDDCoeff | 250 | 1200 | ppm/V | 3.0 V < VDD < 3.6 V | 44 | |
| Long term stability | ACoeff | 300 | 1000 | ppm | 1000 hours, T = 25°C | 44 | |
| 1/4 reference voltage | VREFINT_DIV1 | 24 | 25 | 26 | % VREFINT | 44 | |
| 1/2 reference voltage | VREFINT_DIV2 | 49 | 50 | 51 | % VREFINT | 44 | |
| 3/4 reference voltage | VREFINT_DIV3 | 74 | 75 | 76 | % VREFINT | 44 | |
| HSI16 frequency | fHSI16 | 15.88 | 16.08 | MHz | VDD=3.0 V, TA=30 °C | 69 | |
| HSI16 duty cycle | DuCy(HSI16) | 45 | 55 | % | 69 | ||
| HSI16 oscillator frequency drift over temperature | ΔTemp(HSI16) | -1 | 1 | % | TA = 0 to 85 °C | 69 | |
| HSI16 oscillator frequency drift over temperature | ΔTemp(HSI16) | -2 | 1.5 | % | TA = -40 to 125 °C | 69 | |
| HSI16 oscillator frequency drift over VDD | ΔVDD(HSI16) | -0.1 | 0.05 | % | VDD=1.62 V to 3.6 V | 69 | |
| HSI16 oscillator start-up time | tsu(HSI16) | 0.8 | 1.2 | μs | 69 | ||
| HSI16 oscillator stabilization time | tstab(HSI16) | 3 | 5 | μs | 69 | ||
| HSI16 oscillator power consumption | IDD(HSI16) | 155 | 190 | μA | 69 | ||
| Oscillator frequency (HSE) | fOSC_IN | 4 | 48 | MHz | 67 | ||
| User external clock source frequency, voltage scaling Range 1 | fHSE_ext | 8 | 48 | MHz | Voltage scaling Range 1 | 65 |
CAD (KiCad official)
- Symbol:
STM32U031R8T6 - Footprint:
Package_QFP:LQFP-64_10x10mm_P0.5mm - 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)
- 3D model files:
stm32u031r8t6-etched.step/stm32u031r8t6-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stm32u031r8t6.step/stm32u031r8t6.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: ST(意法半导体) datasheet (134 pp, sha256
bc1d0cecfff8f152, retrieved 2026-11-13, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).
# STM32U031R8T6
**ST(意法半导体)** · IC · LQFP-64(10x10)
STM32U031R8T6 from ST(意法半导体), in a LQFP-64(10x10). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model, then checked against ST open pin data). Symbol, footprint, and 3D from KiCad-official CAD.
## Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | VBAT | power_in | Backup domain supply input for the RTC and backup registers, specified at 1.55 to 3.6 V. |
| 2 | PC13 | bidirectional | 5 V-tolerant (FT) I/O supplied through the power switch, which limits it to 3 mA; output speed is limited to 2 MHz at 30 pF and it must not drive current sources such as LEDs. |
| 3 | PC14-OSC32_IN | bidirectional | 5 V-tolerant (FT) I/O supplied through the power switch (3 mA limit) that serves as the 32 kHz oscillator input OSC32_IN. |
| 4 | PC15-OSC32_OUT | bidirectional | 5 V-tolerant (FT) I/O supplied through the power switch (3 mA limit) that serves as the 32 kHz oscillator output OSC32_OUT. |
| 5 | PF0-OSC_IN | bidirectional | 5 V-tolerant (FT) I/O that serves as the high-speed oscillator input OSC_IN, with EVENTOUT as alternate function. |
| 6 | PF1-OSC_OUT | bidirectional | 5 V-tolerant (FT) I/O that serves as the high-speed oscillator output OSC_OUT, with OSC_EN and EVENTOUT as alternate functions. |
| 7 | PF2-NRST | bidirectional | Bidirectional reset pin with an embedded weak pull-up resistor (NRST); PF2 can also be used as the MCO alternate function. |
| 8 | PC0 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include LPTIM1_IN1, I2C3_SCL, LPUART1_RX, LPUART2_TX, LPTIM2_IN1 and additional function ADC1_IN1. |
| 9 | PC1 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include LPTIM1_CH1, I2C3_SDA, LPUART1_TX, LPUART2_RX and additional function ADC1_IN2. |
| 10 | PC2 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include MCO2, LPTIM1_IN2, SPI2_MISO and additional function ADC1_IN3. |
| 11 | PC3 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; this pin has a specific higher input leakage than other FT pins, and alternates include LPTIM1_ETR, SPI2_MOSI, USART4_CK, LPTIM2_ETR and additional function ADC1_IN4. |
| 12 | VSSA/VREF- | power_in | Analog ground and negative reference (VREF-) pin; ground variations between all ground pins, including VREF-, are limited to 50 mV. |
| 13 | VDDA/VREF+ | power_in | Analog supply and positive reference (VREF+) pin; VDDA range is 1.62 to 3.6 V when ADC or COMP is used and minimum 1.8 V when OPAMP is used. |
| 14 | PA0 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH1, USART2_CTS, USART4_TX, COMP1_OUT, TIM2_ETR and additional functions OPAMP1_VINP, COMP1_INM3, ADC1_IN5, WKUP1, TAMP_IN2. |
| 15 | PA1 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH2, LPTIM1_CH2, SPI1_SCK, SPI2_SCK, USART2_RTS/USART2_DE, USART4_RX, TIM15_CH1N and additional functions OPAMP1_VINM, COMP1_INP3, ADC1_IN6, WKUP3, TAMP_IN5. |
| 16 | PA2 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH3, USART2_TX, LPUART1_TX, TIM15_CH1 and additional functions ADC1_IN7, WKUP4/LSCO. |
| 17 | PA3 | bidirectional | 3.6 V-tolerant (TT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH4, USART2_RX, LPUART1_RX, TIM15_CH2 and additional functions OPAMP1_VOUT, ADC1_IN8. |
| 18 | VSS | power_in | Ground pin; all VSS pins must be connected to the ground supply. |
| 19 | VDD | power_in | Main supply pin; standard operating voltage range is 1.71 to 3.6 V. |
| 20 | PA4 | bidirectional | 3.6 V-tolerant (TT) I/O with analog switch supplied by VDDA; alternates include SPI1_NSS, USART2_CK, LPTIM2_CH1 and additional functions COMP1_INM4, ADC1_IN9, DAC1_OUT1. |
| 21 | PA5 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM2_CH1, TIM2_ETR, SPI1_SCK, USART3_TX, LPTIM2_ETR and additional functions COMP1_INM5, ADC1_IN10. |
| 22 | PA6 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM1_BKIN, TIM3_CH1, I2C2_SDA, I2C3_SDA, SPI1_MISO, COMP1_OUT, USART3_CTS, LPUART1_CTS, TSC_G5_IO1, TIM16_CH1 and additional function ADC1_IN11. |
| 23 | PA7 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include TIM1_CH1N, TIM3_CH2, I2C2_SCL, I2C3_SCL, SPI1_MOSI, USART3_RX, LPTIM2_CH2 and additional function ADC1_IN15. |
| 24 | PC4 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternate USART3_TX and additional functions COMP1_INM1, ADC1_IN16. |
| 25 | PC5 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternate USART3_RX and additional functions COMP1_INP1, ADC1_IN17, WKUP5, TAMP_IN4. |
| 26 | PB0 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM1_CH2N, TIM3_CH3, SPI1_NSS, USART3_CK, LPUART2_CTS, TSC_G5_IO2, COMP1_OUT and additional function ADC1_IN18. |
| 27 | PB1 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM1_CH3N, TIM3_CH4, USART3_RTS/USART3_DE, LPUART1_RTS/LPUART1_DE, TSC_SYNC, LPUART2_RTS/LPUART2_DE, LPTIM2_IN1 and additional functions COMP1_INM2, ADC1_IN19. |
| 28 | PB2 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include RTC_OUT2 and LPTIM1_CH1 and additional functions COMP1_INP2, RTC_OUT2. |
| 29 | PB10 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM2_CH3, I2C2_SCL, SPI2_SCK, USART3_TX, LPUART1_RX, TSC_G5_IO3, LPUART2_RX, COMP1_OUT. |
| 30 | PB11 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM2_CH4, I2C2_SDA, USART3_RX, LPUART1_TX, TSC_G5_IO4, LPUART2_TX. |
| 31 | VSS | power_in | Ground pin; all VSS pins must be connected to the ground supply. |
| 32 | VDD | power_in | Main supply pin; standard operating voltage range is 1.71 to 3.6 V. |
| 33 | PB12 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM1_BKIN, SPI2_NSS, USART3_CK, LPUART1_RTS/LPUART1_DE, TSC_G1_IO1, TIM15_BKIN and EVENTOUT. |
| 34 | PB13 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM1_CH1N, I2C2_SCL, SPI2_SCK, USART3_CTS, LPUART1_CTS, TSC_G1_IO2, TIM15_CH1N. |
| 35 | PB14 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM1_CH2N, I2C2_SDA, SPI2_MISO, USART3_RTS/USART3_DE, TSC_G1_IO3, TIM15_CH1. |
| 36 | PB15 | bidirectional | 5 V-tolerant (FT) I/O; alternates include RTC_REFIN, TIM1_CH3N, SPI2_MOSI, TSC_G1_IO4, TIM15_CH2 and additional functions WKUP7, TAMP_IN3. |
| 37 | PC6 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA; alternates include TIM3_CH1, LPUART2_TX, TSC_G4_IO1 and additional function COMP1_INP5. |
| 38 | PC7 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM3_CH2, LPUART2_RX, TSC_G4_IO2 and LPTIM2_CH2. |
| 39 | PC8 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM3_CH3 and TSC_G4_IO3. |
| 40 | PC9 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM3_CH4 and TSC_G4_IO4. |
| 41 | PA8 | bidirectional | 5 V-tolerant (FT) I/O; alternates include MCO, TIM1_CH1, MCO2, USART1_CK, TSC_G7_IO1 and LPTIM2_CH1. |
| 42 | PA9 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include MCO, TIM1_CH2, I2C1_SCL, I2C2_SCL, USART1_TX, TSC_G7_IO2, TIM15_BKIN and additional function COMP1_INP4. |
| 43 | PA10 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include TIM1_CH3, MCO2, I2C1_SDA, I2C2_SDA, SPI2_NSS, USART1_RX and TSC_G7_IO3. |
| 44 | PA11 [PA9] | bidirectional | 5 V-tolerant (FT, note 3) I/O; default mapping of PA11 with alternates TIM1_CH4, TIM1_BKIN2, SPI1_MISO, SPI2_MISO, USART1_CTS and COMP1_OUT, and PA9 can be remapped here via SYSCFG_CFGR1. |
| 45 | PA12 [PA10] | bidirectional | 5 V-tolerant (FT, note 3) I/O; default mapping of PA12 with alternates TIM1_ETR, SPI1_MOSI, SPI2_MOSI and USART1_RTS/USART1_DE, and PA10 can be remapped here via SYSCFG_CFGR1. |
| 46 | PA13 (SWDIO) | bidirectional | 5 V-tolerant (FT, note 4) I/O that is the SWDIO debug function after reset, with an internal pull-up activated upon reset; alternates include IR_OUT and TSC_G7_IO4. |
| 47 | VSS | power_in | Ground pin; all VSS pins must be connected to the ground supply. |
| 48 | VDD | power_in | Main supply pin; standard operating voltage range is 1.71 to 3.6 V. |
| 49 | PA14 (SWCLK) | bidirectional | 5 V-tolerant (FT, note 4) I/O that is the SWCLK debug function after reset, with an internal pull-down activated upon reset; alternates include LPTIM1_CH1 and TSC_G3_IO4. |
| 50 | PA15 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM2_CH1, TIM2_ETR, USART2_RX, SPI1_NSS, USART3_RTS/USART3_DE, USART4_RTS/USART4_DE and TSC_G3_IO1. |
| 51 | PC10 | bidirectional | 5 V-tolerant (FT) I/O; alternates include USART3_TX, USART4_TX and TSC_G3_IO2. |
| 52 | PC11 | bidirectional | 5 V-tolerant (FT) I/O; alternates include USART3_RX, USART4_RX and TSC_G3_IO3. |
| 53 | PC12 | bidirectional | 5 V-tolerant (FT) I/O; alternates include USART3_CK and USART4_CK. |
| 54 | PD2 | bidirectional | 5 V-tolerant (FT) I/O; alternates include TIM3_ETR, USART3_RTS/USART3_DE and TSC_SYNC. |
| 55 | PB3 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include TIM2_CH2, LPTIM1_CH3, I2C2_SCL, I2C3_SCL, SPI1_SCK and USART1_RTS/USART1_DE. |
| 56 | PB4 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include LPTIM1_CH4, TIM3_CH1, I2C2_SDA, I2C3_SDA, SPI1_MISO, USART1_CTS and TSC_G2_IO1. |
| 57 | PB5 | bidirectional | 5 V-tolerant (FT) I/O; alternates include LPTIM1_IN1, TIM3_CH2, SPI1_MOSI, USART1_CK, TSC_G2_IO2 and TIM16_BKIN. |
| 58 | PB6 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include LPTIM1_ETR, I2C1_SCL, I2C2_SCL, USART1_TX, TSC_G2_IO3, LPUART2_TX and TIM16_CH1N. |
| 59 | PB7 | bidirectional | 5 V-tolerant (FT) I/O with analog switch supplied by VDDA and Fm+ I2C capability; alternates include LPTIM1_IN2, I2C1_SDA, I2C2_SDA, USART1_RX, USART4_CTS, TSC_G2_IO4 and LPUART2_RX. |
| 60 | PF3-BOOT0 | bidirectional | 5 V-tolerant (FT) I/O that also serves as the BOOT0 boot-mode pin, with EVENTOUT as alternate function. |
| 61 | PB8 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include LPTIM1_IN2, I2C2_SCL, I2C1_SCL, USART3_TX and TIM16_CH1. |
| 62 | PB9 | bidirectional | 5 V-tolerant (FT) I/O with Fm+ I2C capability; alternates include IR_OUT, I2C2_SDA, I2C1_SDA, SPI2_NSS, USART3_RX and LPTIM1_CH4. |
| 63 | VSS | power_in | Ground pin; all VSS pins must be connected to the ground supply. |
| 64 | VDD | power_in | Main supply pin; standard operating voltage range is 1.71 to 3.6 V. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | ST(意法半导体) |
| Package | LQFP-64(10x10) |
| Category | |
| Pins | 64 |
## Electrical characteristics
Limits as printed in the datasheet (page.json `metadata.characteristics` carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| External main supply voltage (VDD, VDDA, VBAT) vs VSS | VDDX - VSS | -0.3 | | 4 | V | | 41 |
| Input voltage on TT_xx pins | VIN | | | 4 | V | TT_xx pins; printed min is VSS - 0.3 | 41 |
| Input voltage on any other pins | VIN | | | 4 | V | Any other pins; printed min is VSS - 0.3 | 41 |
| Variations between different VDDX power pins of the same domain | /ΔVDDX/ | | | 50 | mV | | 41 |
| Variations between all the different ground pins (including VREF-) | /VSSx-VSS/ | | | 50 | mV | | 41 |
| Total current into sum of all VDD power lines (source) | ∑IVDD | | | 140 | mA | | 41 |
| Total current out of sum of all VSS ground lines (sink) | ∑IVSS | | | 140 | mA | | 41 |
| Maximum current into each VDD power pin (source) | IVDD(PIN) | | | 100 | mA | | 41 |
| Maximum current out of each VSS ground pin (sink) | IVSS(PIN) | | | 100 | mA | | 41 |
| Output current sunk by any I/O and control pin except FT_f | IIO(PIN) | | | 20 | mA | | 41 |
| Output current sunk by any FT_f pin | IIO(PIN) | | | 20 | mA | FT_f pin | 41 |
| Output current sourced by any I/O and control pin | IIO(PIN) | | | 20 | mA | | 41 |
| Total output current sunk by sum of all I/Os and control pins | ∑IIO(PIN) | | | 100 | mA | | 41 |
| Total output current sourced by sum of all I/Os and control pins | ∑IIO(PIN) | | | 100 | mA | | 41 |
| Injected current on FT_xxx, TT_xx, RST | IINJ(PIN) | -5 | | 0 | mA | Printed as -5/+0 | 41 |
| Total injected current (sum of all I/Os and control pins) | ∑/IINJ(PIN)/ | | | 25 | mA | | 41 |
| Storage temperature range | TSTG | -65 | | 150 | °C | | 42 |
| Maximum junction temperature | TJ | | | 150 | °C | | 42 |
| Internal AHB clock frequency | fHCLK | 0 | | 56 | MHz | | 42 |
| Internal APB clock frequency | fPCLK | 0 | | 56 | MHz | | 42 |
| Standard operating voltage | VDD | 1.71 | | 3.6 | V | | 42 |
| Analog supply voltage (ADC or COMP used) | VDDA | 1.62 | | 3.6 | V | ADC or COMP used | 42 |
| Analog supply voltage (OPAMP used) | VDDA | 1.8 | | | V | OPAMP used; printed max not given per row | 42 |
| Analog supply voltage (ADC, OPAMP, COMP not used) | VDDA | 0 | | | V | ADC, OPAMP, COMP not used; printed max not given per row | 42 |
| Backup domain supply voltage | VBAT | 1.55 | | 3.6 | V | | 42 |
| I/O input voltage, TT_xx I/Os | VIN | -0.3 | | | V | TT_xx I/Os; printed max is VDDIOx + 0.3 | 42 |
| I/O input voltage, all I/Os except TT_xx pins | VIN | -0.3 | | | V | All I/Os except TT_xx; printed max is min(min(VDD,VDDA)+3.6, 5.5) | 42 |
| Ambient temperature, suffix 6, maximum power dissipation | TA | -40 | | 85 | °C | Suffix 6; maximum power dissipation | 42 |
| Ambient temperature, suffix 6, low-power dissipation | TA | -40 | | 105 | °C | Suffix 6; low-power dissipation | 42 |
| Junction temperature range, suffix 6 version | TJ | -40 | | 105 | °C | Suffix 6 version | 42 |
| Reset temporization after BOR0 is detected | tRSTTEMPO | | 250 | 400 | μs | VDD rising | 43 |
| Brownout reset threshold 0, rising edge | VBOR0 | 1.62 | 1.66 | 1.7 | V | Rising edge | 43 |
| Brownout reset threshold 0, falling edge | VBOR0 | 1.6 | 1.64 | 1.69 | V | Falling edge | 43 |
| Brownout reset threshold 1, rising edge | VBOR1 | 2.06 | 2.1 | 2.14 | V | Rising edge | 43 |
| Brownout reset threshold 1, falling edge | VBOR1 | 1.96 | 2 | 2.04 | V | Falling edge | 43 |
| Brownout reset threshold 2, rising edge | VBOR2 | 2.26 | 2.31 | 2.35 | V | Rising edge | 43 |
| Brownout reset threshold 2, falling edge | VBOR2 | 2.16 | 2.2 | 2.24 | V | Falling edge | 43 |
| Brownout reset threshold 3, rising edge | VBOR3 | 2.56 | 2.61 | 2.66 | V | Rising edge | 43 |
| Brownout reset threshold 3, falling edge | VBOR3 | 2.47 | 2.52 | 2.57 | V | Falling edge | 43 |
| Brownout reset threshold 4, rising edge | VBOR4 | 2.85 | 2.9 | 2.95 | V | Rising edge | 43 |
| Brownout reset threshold 4, falling edge | VBOR4 | 2.76 | 2.81 | 2.86 | V | Falling edge | 43 |
| Internal reference voltage | VREFINT | 1.182 | 1.212 | 1.232 | V | -40 °C < TA < +130 °C | 44 |
| Internal reference voltage spread over the temperature range | ΔVREFINT | | 5 | 7.5 | mV | VDD = 3 V | 44 |
| Temperature coefficient | TCoeff | | 30 | 50 | ppm/°C | -40°C < TA < +130°C | 44 |
| Voltage coefficient | VDDCoeff | | 250 | 1200 | ppm/V | 3.0 V < VDD < 3.6 V | 44 |
| Long term stability | ACoeff | | 300 | 1000 | ppm | 1000 hours, T = 25°C | 44 |
| 1/4 reference voltage | VREFINT_DIV1 | 24 | 25 | 26 | % VREFINT | | 44 |
| 1/2 reference voltage | VREFINT_DIV2 | 49 | 50 | 51 | % VREFINT | | 44 |
| 3/4 reference voltage | VREFINT_DIV3 | 74 | 75 | 76 | % VREFINT | | 44 |
| HSI16 frequency | fHSI16 | 15.88 | | 16.08 | MHz | VDD=3.0 V, TA=30 °C | 69 |
| HSI16 duty cycle | DuCy(HSI16) | 45 | | 55 | % | | 69 |
| HSI16 oscillator frequency drift over temperature | ΔTemp(HSI16) | -1 | | 1 | % | TA = 0 to 85 °C | 69 |
| HSI16 oscillator frequency drift over temperature | ΔTemp(HSI16) | -2 | | 1.5 | % | TA = -40 to 125 °C | 69 |
| HSI16 oscillator frequency drift over VDD | ΔVDD(HSI16) | -0.1 | | 0.05 | % | VDD=1.62 V to 3.6 V | 69 |
| HSI16 oscillator start-up time | tsu(HSI16) | | 0.8 | 1.2 | μs | | 69 |
| HSI16 oscillator stabilization time | tstab(HSI16) | | 3 | 5 | μs | | 69 |
| HSI16 oscillator power consumption | IDD(HSI16) | | 155 | 190 | μA | | 69 |
| Oscillator frequency (HSE) | fOSC_IN | 4 | | 48 | MHz | | 67 |
| User external clock source frequency, voltage scaling Range 1 | fHSE_ext | 8 | | 48 | MHz | Voltage scaling Range 1 | 65 |
## CAD (KiCad official)
- Symbol: `STM32U031R8T6`
- Footprint: `Package_QFP:LQFP-64_10x10mm_P0.5mm`
- 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)
- 3D model files: `stm32u031r8t6-etched.step` / `stm32u031r8t6-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32u031r8t6.step` / `stm32u031r8t6.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [ST(意法半导体) datasheet](https://www.st.com/resource/en/datasheet/stm32u031f4.pdf) (134 pp, sha256 `bc1d0cecfff8f152`, retrieved 2026-11-13, tier: manufacturer)
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-5-5` (text), consensus `claude-sonnet-5-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
- **CAD:** KiCad official libraries (CC-BY-SA 4.0).
[Datasheet PDF](docs/stm32u031r8t6-datasheet.pdf)