Skip to main content

We use cookies to understand how you use our site and improve your experience. See our Privacy Policy.

STM32C031G6U6

ARM Cortex-M0+ 32-bit MCU

The STM32C031G6U6 is a arm cortex-m0+ 32-bit mcu from STMicroelectronics. View the full STM32C031G6U6 datasheet below including key specifications, electrical characteristics, absolute maximum ratings.

Official STM32C031G6U6 datasheet (PDF) — the source this page was extracted from.

Manufacturer

STMicroelectronics

Package

28-UFQFN

Lifecycle

Active

STM32C031G6U6 Key Specifications

ParameterValue
ConnectivityI2C, IrDA, LINbus, SPI, UART/USART
Core ProcessorARM® Cortex®-M0+
Core Size32-Bit
Data ConvertersA/D 17x12b SAR
DigiKey ProgrammableNot Verified
Mounting TypeSurface Mount
Number of I/O26
Operating Temperature-40°C ~ 85°C (TA)
Oscillator TypeExternal, Internal
Package / Case28-UFQFN
PeripheralsBrown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Flash Memory Size32KB (32K x 8)
Program Memory TypeFLASH
RAM Size12K x 8 B
Clock Speed48MHz
Supplier Device Package28-UFQFPN (4x4)
Supply Voltage2V ~ 3.6V

STM32C031G6U6 Overview

Part: STM32C031G6U6 — STMicroelectronics

Type: ARM Cortex-M0+ 32-bit MCU

Description: 32-bit Arm Cortex-M0+ MCU at up to 48 MHz with 32 KB flash and 12 KB SRAM (with parity), 2.0–3.6 V supply, 2 USARTs, I2C, SPI/I2S, 12-bit ADC and 8 timers.

Operating Conditions:

  • Supply voltage: 2.0–3.6 V
  • Operating temperature: -40 to 85 °C (suffix 6 ambient; suffix 7 is up to 105 °C and suffix 3 up to 125 °C)
  • Max APB clock frequency: 48 MHz
  • Junction temperature (suffix 6): -40 to 105 °C

Absolute Maximum Ratings:

  • Max supply voltage (VDD − VSS): 4.0 V
  • Max current into VDD/VDDA power pin: 100 mA
  • Max output current sunk/sourced by any I/O pin: 20 mA
  • Max junction temperature: 130 °C
  • Storage temperature: -65 to +150 °C

Key Specs:

  • Core: Arm Cortex-M0+ up to 48 MHz
  • Memory: 32 KB flash, 12 KB SRAM with hardware parity check
  • ADC: 12-bit, 0.4 μs conversion, 0 to 3.6 V conversion range, up to 19 external channels
  • I/O input voltage: -0.3 V to Min(VDD + 3.6, 5.5) V (5 V-tolerant I/Os)
  • Internal oscillators: 48 MHz RC (±1 %), 32 kHz RC (±5 %)
  • External oscillators: 4–48 MHz crystal, 32 kHz crystal
  • Total I/O current limit: 80 mA sunk and 80 mA sourced (sum of all I/Os)
  • I2C: Fast-mode Plus (1 Mbit/s); SPI up to 24 Mbit/s

Features:

  • 3-channel DMA controller with flexible mapping
  • Low-power modes: Sleep, Stop, Standby, Shutdown
  • POR/PDR and programmable brownout reset (BOR)
  • One I2C with Fast-mode Plus, SMBus/PMBus and wake-up from Stop
  • Two USARTs with synchronous SPI mode; one supports ISO7816, LIN, IrDA, auto baud rate detection
  • One SPI with 4- to 16-bit frame, multiplexed with I2S
  • Timers: 16-bit advanced motor control, four 16-bit general-purpose, two watchdogs, SysTick
  • Calendar RTC with alarm
  • CRC calculation unit
  • Memory protection unit (MPU)
  • Serial wire debug (SWD)
  • ECOPACK 2 compliant

Applications:

  • Consumer, industrial and appliance domains
  • Internet of Things (IoT) solutions
  • Low-power applications

Package:

  • UFQFPN28 (G suffix, U package code)

STM32C031G6U6 Features

  • Includes ST state-of-the-art patented technology
  • Core: Arm ® 32-bit Cortex ® -M0+ CPU, frequency up to 48 MHz
  • -40°C to 85°C/105°C/125°C operating temperature
  • Memories
  • -Up to 32 Kbytes of flash memory with protection
  • -12 Kbytes of SRAM with hardware parity check
  • CRC calculation unit
  • Reset and power management
  • -Voltage range: 2.0 V to 3.6 V
  • -Power-on / power-down reset (POR/PDR)
  • -Programmable brownout reset (BOR)
  • -Low-power modes: Sleep, Stop, Standby, Shutdown
  • Clock management
  • -4 to 48 MHz crystal oscillator
  • -32 kHz crystal oscillator with calibration
  • -Internal 48 MHz RC oscillator (±1 %)
  • -Internal 32 kHz RC oscillator (±5 %)
  • Up to 45 fast I/Os
  • -All mappable on external interrupt vectors
  • -All 5 V-tolerant
  • 3-channel DMA controller with flexible mapping
  • 12-bit, 0.4 μs ADC (up to 19 ext. channels) -Conversion range: 0 to 3.6 V
  • 8 timers: 16-bit for advanced motor control, four 16-bit general-purpose, two watchdogs, SysTick timer
  • Calendar RTC with alarm

STM32C031G6U6 Pin Configuration

Figure 3. STM32C031FxP TSSOP20 pinout

Figure 4. STM32C031GxU UFQFPN28 pinout

Figure 5. STM32C031KxT LQFP32 pinout

Figure 6. STM32C031KxU UFQFPN32 pinout

34

Figure 7. STM32C031CxT LQFP48 pinout

Figure 8. STM32C031CxU UFQFPN48 pinout

Table 11. Terms and symbols used in the pin assignment table

ColumnDefinition to its by-default function at reset, unless otherwise pin name.Symbol Pin name Terminal name corresponds parenthesis under the
Supply pinSupply pin
IInput only pin
pin
FT 5 V tolerant I/O
Pin type
Reset pin with embedded weak pull-up resistor
Options for FT I/Os
RST
_a_a
Note set as analog inputs, unless otherwise specified.Upon reset, all I/Os are Pin functions
Alternate functionsFunctions selected through GPIOx_AFR registers
Additional functionsFunctions directly selected/enabled through peripheral registersFunctions directly selected/enabled through peripheral registers

Table 12. Pin assignment and description

Pin - TSSOP20Pin - UFQFPN28Pin - LQFP32Pin - UFQFPN32Pin - LQFP48Pin - UFQFPN48Pin name (function upon reset)Pin typeI/O structureNoteAlternate functionsAdditional functions
----11PC13I/OFT-TIM1_ETR, TIM1_BKINRTC_TS, RTC_OUT1, WKUP2
----22PC14- OSCX_IN (PC14)I/OFT_f-USART1_TX, TIM1_ETR, TIM1_BKIN2, IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2, I2C1_SDA, EVENTOUTOSCX_IN
2122--PC14- OSCX_IN (PC14)I/OFT_f-USART1_TX, TIM1_ETR, TIM1_BKIN2, IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2, I2C1_SDA, EVENTOUTOSCX_IN
323333PC15- OSCX_OUT (PC15)I/OFT-OSC32_EN, OSC_EN, TIM1_ETR, TIM3_CH3OSCX_OUT
----44PF3I/OFT---

Table 12. Pin assignment and description

34

Table 12. Pin assignment and description (continued)

Pin - TSSOP20Pin - UFQFPN28Pin - LQFP32Pin - UFQFPN32Pin - LQFP48Pin - UFQFPN48Pin name (function upon reset)Pin typeI/O structureNoteAlternate functionsAdditional functions
----55VREF+S----
434466VDD/VDDAS----
545577VSS/VSSAS----
----88PF0-OSC_IN (PF0)I/OFT-TIM14_CH1OSC_IN
----99PF1- OSC_OUT (PF1)I/OFT-OSC_ENOSC_OUT
65661010PF2-NRSTI/ORST, FT(1)MCO, TIM1_CH4NRST
76771111PA0I/OFT_a-USART2_CTS, TIM16_CH1, USART1_TX, TIM1_CH1ADC_IN0, WKUP1
87881212PA1I/OFT_a-SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM17_CH1, USART1_RX, TIM1_CH2, I2C1_SMBA, EVENTOUTADC_IN1
98991313PA2I/OFT_a-SPI1_MOSI/I2S1_SD, USART2_TX, TIM16_CH1N, TIM3_ETR, TIM1_CH3ADC_IN2, WKUP4, LSCO
10910101414PA3I/OFT_a-USART2_RX, TIM1_CH1N, TIM1_CH4, EVENTOUTADC_IN3
----1515PA4I/OFT_a-SPI1_NSS/I2S1_WS, USART2_TX, TIM1_CH2N, TIM14_CH1, TIM17_CH1N, EVENTOUTADC_IN4, RTC_OUT2
11101111--PA4I/OFT_a-SPI1_NSS/I2S1_WS, USART2_TX, TIM1_CH2N, TIM14_CH1, TIM17_CH1N, EVENTOUTADC_IN4, RTC_TS, RTC_OUT1, WKUP2
121112121616PA5I/OFT_a-SPI1_SCK/I2S1_CK, USART2_RX, TIM1_CH3N, TIM1_CH1, EVENTOUTADC_IN5
131213131717PA6I/OFT_a-SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1ADC_IN6
141314141818PA7I/OFT_a-SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1ADC_IN7
-1415151919PB0I/OFT_a-SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2NADC_IN17
-1516162020PB1I/OFT_a-TIM14_CH1, TIM3_CH4, TIM1_CH3N, TIM1_CH2N, EVENTOUTADC_IN18
--17172121PB2I/OFT_a-USART1_RX, MCO2, EVENTOUTADC_IN19
----2222PB10I/OFT_a--ADC_IN20

Table 12. Pin assignment and description (continued)

STM32C031G6U6 Electrical Characteristics

The definition and values of input/output AC characteristics are given in Figure 20 and Table 52 , respectively.

Unless otherwise specified, the parameters given are derived from tests performed under the ambient temperature and supply voltage conditions summarized in Table 24: General operating conditions .

Table 52. I/O AC characteristics (1)(2)

SpeedSymbolParameterConditionsMinMaxUnit
00FmaxMaximum frequencyC=50 pF, 2.7 V ≤ V DD ≤ 3.6 V-2MHz
00FmaxMaximum frequencyC=50 pF, 2 V ≤ V DD ≤ 2.7 V-0.35MHz
00FmaxMaximum frequencyC=10 pF, 2.7 V ≤ V DD ≤ 3.6 V-3.00MHz
00FmaxMaximum frequencyC=10 pF, 2 V ≤ V DD ≤ 2.7 V-0.45MHz
00Tr/TfOutput rise and fall time (3)C=50 pF,2.7 V ≤ V DD ≤ 3.6 V-100.00ns
00Tr/TfOutput rise and fall time (3)C=50 pF, 2 V ≤ V DD ≤ 2.7 V-225.00ns
00Tr/TfOutput rise and fall time (3)C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V-75.00ns
00Tr/TfOutput rise and fall time (3)C=10 pF, 2 V ≤ V DD ≤ 2.7 V-150.00ns

Table 52. I/O AC characteristics (1)(2)

83

Table 52. I/O AC characteristics (1)(2) (continued)

SpeedSymbolParameterConditionsMinMaxUnit
01C=50 pF, 2.7 V ≤ V DD ≤ 3.6 V-10.00MHz
01FmaxMaximum frequencyC=50 pF, 2 V ≤ V DD ≤ 2.7 V-2.00MHz
01C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V-15.00MHz
01C=10 pF, 2 V ≤ V DD ≤ 2.7 V-2.50MHz
Tr/Tfrise and fall time (3)C=50 pF, 2.7 V ≤ V DD ≤ 3.6 V-30.00ns
Tr/Tfrise and fall time (3)C=50 pF, 2 V ≤ V DD ≤ 2.7 V-60.00ns
Tr/Tfrise and fall time (3)C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V-15.00ns
Tr/Tfrise and fall time (3)C=10 pF, 2 V ≤ V DD ≤ 2.7 V-30.00ns
10FmaxMaximum frequency C=50 C=50pF, 2.7 V ≤ V DD ≤ 3.6 V-30.00MHz
10FmaxMaximum frequency C=50 C=50pF, 2 V ≤ V DD ≤ 2.7 V-15.00MHz
10FmaxMaximum frequency C=50 C=50C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V-60.00 (4)MHz
10FmaxMaximum frequency C=50 C=50C=10 pF, 2 V ≤ V DD ≤ 2.7 V-30.00MHz
10Tr/Tfrise and fall time (3)C=50 pF, 2.7 V ≤ V DD ≤ 3.6 V-11.00ns
10Tr/Tfrise and fall time (3)C=50 pF, 2 V ≤ V DD ≤ 2.7 V-22.00ns
10Tr/Tfrise and fall time (3)C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V-4.00ns
10Tr/Tfrise and fall time (3)C=10 pF, 2 V ≤ V DD ≤ 2.7 V-8.00ns
11FmaxMaximum frequencyC=30 pF, 2.7 V ≤ V DD ≤ 3.6 V-60.00 (4)MHz
11FmaxMaximum frequencyC=30 pF, 2 V ≤ V DD ≤ 2.7 V-30.00MHz
11FmaxMaximum frequencyC=10 pF, 2.7 V ≤ V DD ≤ 3.6 V-80.00 (4)MHz
11FmaxMaximum frequencyC=10 pF, 2 V ≤ V DD ≤ 2.7 V-40.00MHz
rise and fall time (3) C=30 C=30pF, 2.7 V ≤ V DD ≤ 3.6 V-5.50ns
Tr/Tfrise and fall time (3) C=30 C=30pF, 2 V ≤ V DD ≤ 2.7 V-11.00ns
rise and fall time (3) C=30 C=30C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V-2.50ns
rise and fall time (3) C=30 C=30C=10 pF, 2 V ≤ V DD ≤ 2.7 V-5.00ns
  1. The fall time is defined between 70% and 30% of the output waveform, according to I 2 C specification.
  2. This value represents the I/O capability but the maximum system frequency is limited to 48 MHz.

Figure 20. I/O AC characteristics definition (1)

  1. Refer to Table 52: I/O AC characteristics .

STM32C031G6U6 Absolute Maximum Ratings

Stresses above the absolute maximum ratings listed in Table 21 , Table 22 and Table 23 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 21. Voltage characteristics

SymbolRatingsMinMaxUnit
V DD - V SSExternal supply voltage- 0.34.0V
V REF+External voltage on VREF+ pin- 0.3Min(V DD + 0.4, 4.0)V
V IN (1)Input voltage on pin- 0.3V DD + 4.0 (2)(3)V

Table 22. Current characteristics

SymbolRatingsMaxUnit
I VDD/VDDACurrent into VDD/VDDA power pin (source)100mA
I VSS/VSSACurrent out of VSS/VSSA ground pin (sink)100mA
I IO(PIN)Output current sunk by any I/O and control pin20mA
I IO(PIN)Output current sourced by any I/O and control pin20mA
∑ I (PIN)Total output current sunk by sum of all I/Os and control pins (1)80mA
∑ I (PIN)Total output current sourced by sum of all I/Os and control pins (1)80mA
I INJ(PIN) (1)(2)Injected current on a FT_xx pin-5 / 0mA
∑ I INJ(PIN)Total injected current (sum of all I/Os and control pins) (3)-25mA

Table 23. Thermal characteristics

SymbolRatingsValueUnit
T STGStorage temperature range-65 to +150°C
T JMaximum junction temperature130°C

Table 23. Thermal characteristics

83

STM32C031G6U6 Thermal Information

The operating junction temperature T J must never exceed the maximum given in Table 24: General operating conditions .

The maximum junction temperature in °C that the device can reach if respecting the operating conditions, is:

$$T_J(max) = T_A(max) + P_D(max) \times \Theta_{JA}$$

STM32C031G6U6 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.

Variants on the same datasheet

These parts have exact links to the same datasheet. They are candidates to compare, not verified drop-in replacements; check package, pinout and electrical limits.

Part NumberManufacturerPackage
STM32C031C4STMicroelectronics—
STM32C031C6STMicroelectronics—
STM32C031F4STMicroelectronicsTSSOP-20
STM32C031F6STMicroelectronicsTSSOP-20
STM32C031G4STMicroelectronicsUFQFPN28
STM32C031G6STMicroelectronicsUFQFPN28
STM32C031K4STMicroelectronics—
STM32C031K6STMicroelectronics—
STM32C031X4/X6STMicroelectronics—

Other Microcontrollers (MCU)

All Microcontrollers (MCU) datasheetsAll STMicroelectronics datasheets (808)

Data on this page is extracted from publicly available manufacturer datasheets using automated tools including AI. It may contain errors or omissions. Always verify specifications against the official manufacturer datasheet before making design or purchasing decisions. See our Terms of Service. Rights holders can submit a takedown request.

Ask your AI agent about the STM32C031G6U6

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 STM32C031G6U6 run from my 12 V rail? Check it against the datasheet limits."

Create a free account $2 of usage every month, no card needed.