3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
README
markdownSTM32C031F6P6
STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · TSSOP-20
STM32C031F6P6 from STMicroelectronics, in a TSSOP-20. 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 | PB7 | bidirectional | 5 V-tolerant I/O (FT) with alternate functions USART1_RX, TIM1_CH4, I2C1_SDA, I2C1_SCL and USART2_CTS, and RTC_REFIN as an additional function. |
| 2 | PC14-OSCX_IN | bidirectional | 5 V-tolerant I/O (FT) that serves as the OSCX_IN input of the 32.768 kHz low-speed oscillator, with alternate functions USART1_TX, TIM1_ETR, I2C1_SDA and IR_OUT. |
| 3 | PC15-OSCX_OUT | bidirectional | 5 V-tolerant I/O (FT) that serves as the OSCX_OUT output of the 32.768 kHz low-speed oscillator, with alternate functions OSC32_EN, OSC_EN, TIM1_ETR and TIM3_CH3. |
| 4 | VDD/VDDA | power_in | Main supply for VDD, VDDA and VDDIO1 at 2.0 V to 3.6 V (VDD is the regulator and system supply, VDDA the ADC analog supply); decouple with 100 nF plus 4.7 µF as shown in Figure 11. |
| 5 | VSS/VSSA | power_in | Ground reference for digital and analog circuits; all voltages are referenced to VSS. |
| 6 | PF2-NRST | bidirectional | Bidirectional reset pin with embedded weak pull-up resistor (RPU 25 to 55 kΩ), also usable as MCO and TIM1_CH4 alternate functions. |
| 7 | PA0 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN0 and wakeup pin WKUP1, plus alternate functions USART2_CTS, TIM16_CH1, USART1_TX and TIM1_CH1. |
| 8 | PA1 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN1, plus alternate functions SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM17_CH1, USART1_RX, TIM1_CH2 and I2C1_SMBA. |
| 9 | PA2 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN2, wakeup pin WKUP4 and LSCO output, plus alternate functions SPI1_MOSI/I2S1_SD, USART2_TX, TIM16_CH1N, TIM3_ETR and TIM1_CH3. |
| 10 | PA3 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN3, plus alternate functions USART2_RX, TIM1_CH1N, TIM1_CH4 and EVENTOUT. |
| 11 | PA4 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN4 and wakeup pin WKUP2, plus alternate functions SPI1_NSS/I2S1_WS, USART2_TX, TIM1_CH2N, TIM14_CH1 and TIM17_CH1N. |
| 12 | PA5 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN5, plus alternate functions SPI1_SCK/I2S1_CK, USART2_RX, TIM1_CH3N and TIM1_CH1. |
| 13 | PA6 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN6, plus alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN and TIM16_CH1. |
| 14 | PA7 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN7, plus alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1 and TIM17_CH1. |
| 15 | PA8 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN8, plus alternate functions MCO, USART2_TX, TIM1_CH1, EVENTOUT, USART1_RX and MCO2. |
| 16 | PA11 [PA9] | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN11, plus alternate functions SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4 and TIM1_BKIN2; PA9 is the remapped function selectable through SYSCFG_CFGR1. |
| 17 | PA12 [PA10] | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN12, plus alternate functions SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR and I2S_CKIN; PA10 is the remapped function selectable through SYSCFG_CFGR1. |
| 18 | PA13 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN13, which at reset is the SWDIO function with internal pull-up enabled, plus alternate functions IR_OUT, TIM3_ETR, USART2_RX and EVENTOUT. |
| 19 | PA14-BOOT0 | bidirectional | 5 V-tolerant I/O (FT) with ADC input channel ADC_IN14 that also serves as the BOOT0 boot selection pin, and at reset is the SWCLK function with internal pull-down enabled. |
| 20 | PB6 | bidirectional | 5 V-tolerant I/O (FT) with wakeup pin WKUP3, plus alternate functions USART1_TX, I2C1_SCL, I2C1_SMBA, TIM1_CH3 and TIM3_CH1, and it carries the I2C bootloader pin function. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Package | TSSOP-20 |
| Category | Embedded Processors & Controllers |
| Pins | 20 |
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 supply voltage | VDD - VSS | -0.3 | 4 | V | 42 | ||
| External voltage on VREF+ pin | VREF+ | -0.3 | V | 42 | |||
| Input voltage on pin | VIN | -0.3 | V | 42 | |||
| Current into VDD/VDDA power pin (source) | IVDD/VDDA | 100 | mA | 42 | |||
| Current out of VSS/VSSA ground pin (sink) | IVSS/VSSA | 100 | mA | 42 | |||
| Output current sunk by any I/O and control pin | IIO(PIN) | 20 | mA | 42 | |||
| Output current sourced by any I/O and control pin | IIO(PIN) | 20 | mA | 42 | |||
| Total output current sunk by sum of all I/Os and control pins | ΣI(PIN) | 80 | mA | 42 | |||
| Total output current sourced by sum of all I/Os and control pins | ΣI(PIN) | 80 | mA | 42 | |||
| Injected current on a FT_xx pin | IINJ(PIN) | -5 | 0 | mA | 42 | ||
| Total injected current (sum of all I/Os and control pins) | ΣIINJ(PIN) | -25 | mA | 42 | |||
| Storage temperature range | TSTG | -65 | 150 | °C | 43 | ||
| Maximum junction temperature | TJ | 130 | °C | 43 | |||
| Electrostatic discharge voltage (human body model) | VESD(HBM) | 2000 | V | TA = +25 °C, ANSI/ESDA/JEDEC JS-001 | 65 | ||
| Electrostatic discharge voltage (charge device model) | VESD(CDM) | 500 | V | TA = +25 °C, ANSI/ESDA/JEDEC JS-002 | 65 | ||
| Standard operating voltage | VDD | 2 | 3.6 | V | 44 | ||
| I/O input voltage | VIN | -0.3 | V | 44 | |||
| APB clock frequency | fPCLK | 48 | MHz | 44 | |||
| Ambient temperature | TA | -40 | 85 | °C | Suffix 6 | 44 | |
| Junction temperature | TJ | -40 | 105 | °C | Suffix 6 | 44 | |
| VDD rise time rate | tVDD | 0 | µs/V | 44 | |||
| VDD fall time rate | 10 | µs/V | 44 | ||||
| POR temporization when VDD crosses VPOR | tRSTTEMPO | 270 | 500 | µs | VDD rising | 44 | |
| Power-on reset threshold | VPOR | 1.9 | 1.94 | 1.98 | V | 44 | |
| Power-down reset threshold | VPDR | 1.88 | 1.92 | 1.96 | V | 44 | |
| Brownout reset threshold 1 | VBOR1 | 2.05 | 2.1 | 2.18 | V | VDD rising | 45 |
| Brownout reset threshold 1 | VBOR1 | 1.95 | 2 | 2.08 | V | VDD falling | 45 |
| Brownout reset threshold 2 | VBOR2 | 2.2 | 2.31 | 2.38 | V | VDD rising | 45 |
| Brownout reset threshold 2 | VBOR2 | 2.1 | 2.21 | 2.28 | V | VDD falling | 45 |
| Brownout reset threshold 3 | VBOR3 | 2.5 | 2.62 | 2.68 | V | VDD rising | 45 |
| Brownout reset threshold 3 | VBOR3 | 2.4 | 2.52 | 2.58 | V | VDD falling | 45 |
| Brownout reset threshold 4 | VBOR4 | 2.8 | 2.91 | 3 | V | VDD rising | 45 |
| Brownout reset threshold 4 | VBOR4 | 2.7 | 2.81 | 2.9 | V | VDD falling | 45 |
| BOR consumption | IDD(BOR) | 2.2 | 2.5 | µA | 45 | ||
| Internal reference voltage | VREFINT | 1.182 | 1.212 | 1.232 | V | 45 | |
| ADC sampling time when reading the internal reference voltage | tS_vrefint | 4 | µs | 45 | |||
| Start time of reference voltage buffer when ADC is enabled | tstart_vrefint | 8 | 12 | µs | 45 | ||
| VREFINT buffer consumption from VDD when converted by ADC | IDD(VREFINTBUF) | 9 | 13.5 | 23 | µA | 45 | |
| Internal reference voltage spread over the temperature range | ΔVREFINT | 30 | 50 | mV | VDD = 3 V | 45 | |
| Average temperature coefficient | TCoeff | 20 | 70 | ppm/°C | 45 | ||
| Long term stability | ACoeff | 300 | 1000 | ppm | 1000 hours, T = 25 °C | 45 | |
| Voltage coefficient | VDDCoeff | 250 | 1200 | ppm/V | 3.0 V < VDD < 3.6 V | 45 | |
| Supply current in Run mode, fetch from flash, 25 °C | IDD(Run) | 3.05 | 3.6 | mA | fHCLK = 48 MHz, flash memory, die 25 °C, max VDD 3.6 V | 47 | |
| Supply current in Run mode, fetch from flash, 125 °C | IDD(Run) | 3.35 | 4.6 | mA | fHCLK = 48 MHz, flash memory, die 125 °C, max VDD 3.6 V | 47 | |
| Supply current in Sleep mode, HSE bypass, 25 °C | IDD(Sleep) | 0.82 | 1.2 | mA | All peripherals disabled, fHCLK = fHSE_bypass 48 MHz, 25 °C | 51 | |
| Supply current in Stop mode, 25 °C | IDD(Stop) | 81.5 | 110 | µA | All clocks off, VDD = 3.6 V, 25 °C | 52 | |
| Supply current in Stop mode, 125 °C | IDD(Stop) | 280 | 1100 | µA | All clocks off, VDD = 3.6 V, 125 °C | 52 | |
| Supply current in Standby mode, 25 °C | IDD(Standby) | 7.9 | 8.7 | µA | All clocks off, VDD = 3.6 V, 25 °C | 53 | |
| Supply current in Standby mode, 125 °C | IDD(Standby) | 12.5 | 20 | µA | All clocks off, VDD = 3.6 V, 125 °C | 53 | |
| Supply current in Shutdown mode, 25 °C | IDD(Shutdown) | 31 | 95 | nA | All clocks off, VDD = 3.6 V, 25 °C | 53 | |
| Supply current in Shutdown mode, 125 °C | IDD(Shutdown) | 3350 | 11000 | nA | All clocks off, VDD = 3.6 V, 125 °C | 53 | |
| Oscillator frequency (HSE) | fOSC_IN | 4 | 48 | MHz | 58 | ||
| HSI48 frequency | fHSI48 | 47.92 | 48.4 | MHz | VDD = 3.0 V, TA = 30 °C | 61 | |
| LSI frequency | fLSI | 31.04 | 32 | 32.96 | kHz | VDD = 3.3 V, TA = 25 °C | 62 |
| LSI frequency | fLSI | 29.5 | 34 | kHz | VDD = 2 V to 3.6 V, TA = -40 to 125 °C | 62 | |
| Internal pull-up equivalent resistor (NRST) | RPU | 25 | 40 | 55 | kΩ | VIN = VSS | 71 |
| Weak pull-up equivalent resistor (I/O) | RPU | 25 | 40 | 55 | kΩ | VIN = VSS | 67 |
| Analog supply voltage | VDDA | 2 | 3.6 | V | 72 | ||
| ADC clock frequency | fADC | 0.14 | 35 | MHz | 72 | ||
| Wakeup time from Stop mode, flash powered | tWULPSTOP | 2.7 | 3.1 | µs | Clock after wakeup HCLK = HSI48/4 = 12 MHz, flash powered during Stop | 56 |
CAD (KiCad official)
- Symbol:
STM32C031F6P6 - Footprint:
Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm - 3D model: TSSOP-20 (KiCad packages3D, STEP)
- 3D model files:
stm32c031f6p6-etched.step/stm32c031f6p6-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stm32c031f6p6.step/stm32c031f6p6.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STMicroelectronics datasheet (108 pp, sha256
c0de50247b672919, retrieved 2026-11-10, 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).