STM32C031C4
ARM Cortex-M0+ 32-bit MCUThe STM32C031C4 is a arm cortex-m0+ 32-bit mcu from STMicroelectronics. View the full STM32C031C4 datasheet below including key specifications, electrical characteristics, absolute maximum ratings.
STM32C031C4 shares its datasheet with STM32C031G6U6, whose page lists every part number it covers.
Official STM32C031C4 datasheet (PDF) — the source this page was extracted from.
Manufacturer
STMicroelectronicsCategory
Integrated CircuitsSTM32C031C4 Key Specifications
| Parameter | Value |
|---|---|
| Connectivity | I2C, IrDA, LINbus, SPI, UART/USART |
| Core Processor | ARM® Cortex®-M0+ |
| Core Size | 32-Bit |
| Data Converters | A/D 17x12b SAR |
| DigiKey Programmable | Not Verified |
| Mounting Type | Surface Mount |
| Number of I/O | 26 |
| Operating Temperature | -40°C ~ 85°C (TA) |
| Oscillator Type | External, Internal |
| Package / Case | 28-UFQFN |
| Peripherals | Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT |
| Flash Memory Size | 32KB (32K x 8) |
| Program Memory Type | FLASH |
| RAM Size | 12K x 8 B |
| Clock Speed | 48MHz |
| Supplier Device Package | 28-UFQFPN (4x4) |
| Supply Voltage | 2V ~ 3.6V |
STM32C031C4 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)
STM32C031C4 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
STM32C031C4 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
| Column | Definition to its by-default function at reset, unless otherwise pin name. | Symbol Pin name Terminal name corresponds parenthesis under the |
|---|---|---|
| Supply pin | Supply pin | |
| I | Input 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 functions | Functions selected through GPIOx_AFR registers | |
| Additional functions | Functions directly selected/enabled through peripheral registers | Functions directly selected/enabled through peripheral registers |
Table 12. Pin assignment and description
| Pin - TSSOP20 | Pin - UFQFPN28 | Pin - LQFP32 | Pin - UFQFPN32 | Pin - LQFP48 | Pin - UFQFPN48 | Pin name (function upon reset) | Pin type | I/O structure | Note | Alternate functions | Additional functions |
|---|---|---|---|---|---|---|---|---|---|---|---|
| - | - | - | - | 1 | 1 | PC13 | I/O | FT | - | TIM1_ETR, TIM1_BKIN | RTC_TS, RTC_OUT1, WKUP2 |
| - | - | - | - | 2 | 2 | PC14- OSCX_IN (PC14) | I/O | FT_f | - | USART1_TX, TIM1_ETR, TIM1_BKIN2, IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2, I2C1_SDA, EVENTOUT | OSCX_IN |
| 2 | 1 | 2 | 2 | - | - | PC14- OSCX_IN (PC14) | I/O | FT_f | - | USART1_TX, TIM1_ETR, TIM1_BKIN2, IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2, I2C1_SDA, EVENTOUT | OSCX_IN |
| 3 | 2 | 3 | 3 | 3 | 3 | PC15- OSCX_OUT (PC15) | I/O | FT | - | OSC32_EN, OSC_EN, TIM1_ETR, TIM3_CH3 | OSCX_OUT |
| - | - | - | - | 4 | 4 | PF3 | I/O | FT | - | - | - |
Table 12. Pin assignment and description
34
Table 12. Pin assignment and description (continued)
| Pin - TSSOP20 | Pin - UFQFPN28 | Pin - LQFP32 | Pin - UFQFPN32 | Pin - LQFP48 | Pin - UFQFPN48 | Pin name (function upon reset) | Pin type | I/O structure | Note | Alternate functions | Additional functions |
|---|---|---|---|---|---|---|---|---|---|---|---|
| - | - | - | - | 5 | 5 | VREF+ | S | - | - | - | - |
| 4 | 3 | 4 | 4 | 6 | 6 | VDD/VDDA | S | - | - | - | - |
| 5 | 4 | 5 | 5 | 7 | 7 | VSS/VSSA | S | - | - | - | - |
| - | - | - | - | 8 | 8 | PF0-OSC_IN (PF0) | I/O | FT | - | TIM14_CH1 | OSC_IN |
| - | - | - | - | 9 | 9 | PF1- OSC_OUT (PF1) | I/O | FT | - | OSC_EN | OSC_OUT |
| 6 | 5 | 6 | 6 | 10 | 10 | PF2-NRST | I/O | RST, FT | (1) | MCO, TIM1_CH4 | NRST |
| 7 | 6 | 7 | 7 | 11 | 11 | PA0 | I/O | FT_a | - | USART2_CTS, TIM16_CH1, USART1_TX, TIM1_CH1 | ADC_IN0, WKUP1 |
| 8 | 7 | 8 | 8 | 12 | 12 | PA1 | I/O | FT_a | - | SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM17_CH1, USART1_RX, TIM1_CH2, I2C1_SMBA, EVENTOUT | ADC_IN1 |
| 9 | 8 | 9 | 9 | 13 | 13 | PA2 | I/O | FT_a | - | SPI1_MOSI/I2S1_SD, USART2_TX, TIM16_CH1N, TIM3_ETR, TIM1_CH3 | ADC_IN2, WKUP4, LSCO |
| 10 | 9 | 10 | 10 | 14 | 14 | PA3 | I/O | FT_a | - | USART2_RX, TIM1_CH1N, TIM1_CH4, EVENTOUT | ADC_IN3 |
| - | - | - | - | 15 | 15 | PA4 | I/O | FT_a | - | SPI1_NSS/I2S1_WS, USART2_TX, TIM1_CH2N, TIM14_CH1, TIM17_CH1N, EVENTOUT | ADC_IN4, RTC_OUT2 |
| 11 | 10 | 11 | 11 | - | - | PA4 | I/O | FT_a | - | SPI1_NSS/I2S1_WS, USART2_TX, TIM1_CH2N, TIM14_CH1, TIM17_CH1N, EVENTOUT | ADC_IN4, RTC_TS, RTC_OUT1, WKUP2 |
| 12 | 11 | 12 | 12 | 16 | 16 | PA5 | I/O | FT_a | - | SPI1_SCK/I2S1_CK, USART2_RX, TIM1_CH3N, TIM1_CH1, EVENTOUT | ADC_IN5 |
| 13 | 12 | 13 | 13 | 17 | 17 | PA6 | I/O | FT_a | - | SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1 | ADC_IN6 |
| 14 | 13 | 14 | 14 | 18 | 18 | PA7 | I/O | FT_a | - | SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1 | ADC_IN7 |
| - | 14 | 15 | 15 | 19 | 19 | PB0 | I/O | FT_a | - | SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N | ADC_IN17 |
| - | 15 | 16 | 16 | 20 | 20 | PB1 | I/O | FT_a | - | TIM14_CH1, TIM3_CH4, TIM1_CH3N, TIM1_CH2N, EVENTOUT | ADC_IN18 |
| - | - | 17 | 17 | 21 | 21 | PB2 | I/O | FT_a | - | USART1_RX, MCO2, EVENTOUT | ADC_IN19 |
| - | - | - | - | 22 | 22 | PB10 | I/O | FT_a | - | - | ADC_IN20 |
Table 12. Pin assignment and description (continued)
STM32C031C4 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)
| Speed | Symbol | Parameter | Conditions | Min | Max | Unit |
|---|---|---|---|---|---|---|
| 00 | Fmax | Maximum frequency | C=50 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 2 | MHz |
| 00 | Fmax | Maximum frequency | C=50 pF, 2 V ≤ V DD ≤ 2.7 V | - | 0.35 | MHz |
| 00 | Fmax | Maximum frequency | C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 3.00 | MHz |
| 00 | Fmax | Maximum frequency | C=10 pF, 2 V ≤ V DD ≤ 2.7 V | - | 0.45 | MHz |
| 00 | Tr/Tf | Output rise and fall time (3) | C=50 pF,2.7 V ≤ V DD ≤ 3.6 V | - | 100.00 | ns |
| 00 | Tr/Tf | Output rise and fall time (3) | C=50 pF, 2 V ≤ V DD ≤ 2.7 V | - | 225.00 | ns |
| 00 | Tr/Tf | Output rise and fall time (3) | C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 75.00 | ns |
| 00 | Tr/Tf | Output rise and fall time (3) | C=10 pF, 2 V ≤ V DD ≤ 2.7 V | - | 150.00 | ns |
Table 52. I/O AC characteristics (1)(2)
83
Table 52. I/O AC characteristics (1)(2) (continued)
| Speed | Symbol | Parameter | Conditions | Min | Max | Unit |
|---|---|---|---|---|---|---|
| 01 | C=50 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 10.00 | MHz | ||
| 01 | Fmax | Maximum frequency | C=50 pF, 2 V ≤ V DD ≤ 2.7 V | - | 2.00 | MHz |
| 01 | C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 15.00 | MHz | ||
| 01 | C=10 pF, 2 V ≤ V DD ≤ 2.7 V | - | 2.50 | MHz | ||
| Tr/Tf | rise and fall time (3) | C=50 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 30.00 | ns | |
| Tr/Tf | rise and fall time (3) | C=50 pF, 2 V ≤ V DD ≤ 2.7 V | - | 60.00 | ns | |
| Tr/Tf | rise and fall time (3) | C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 15.00 | ns | |
| Tr/Tf | rise and fall time (3) | C=10 pF, 2 V ≤ V DD ≤ 2.7 V | - | 30.00 | ns | |
| 10 | Fmax | Maximum frequency C=50 C=50 | pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 30.00 | MHz |
| 10 | Fmax | Maximum frequency C=50 C=50 | pF, 2 V ≤ V DD ≤ 2.7 V | - | 15.00 | MHz |
| 10 | Fmax | Maximum frequency C=50 C=50 | C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 60.00 (4) | MHz |
| 10 | Fmax | Maximum frequency C=50 C=50 | C=10 pF, 2 V ≤ V DD ≤ 2.7 V | - | 30.00 | MHz |
| 10 | Tr/Tf | rise and fall time (3) | C=50 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 11.00 | ns |
| 10 | Tr/Tf | rise and fall time (3) | C=50 pF, 2 V ≤ V DD ≤ 2.7 V | - | 22.00 | ns |
| 10 | Tr/Tf | rise and fall time (3) | C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 4.00 | ns |
| 10 | Tr/Tf | rise and fall time (3) | C=10 pF, 2 V ≤ V DD ≤ 2.7 V | - | 8.00 | ns |
| 11 | Fmax | Maximum frequency | C=30 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 60.00 (4) | MHz |
| 11 | Fmax | Maximum frequency | C=30 pF, 2 V ≤ V DD ≤ 2.7 V | - | 30.00 | MHz |
| 11 | Fmax | Maximum frequency | C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 80.00 (4) | MHz |
| 11 | Fmax | Maximum frequency | C=10 pF, 2 V ≤ V DD ≤ 2.7 V | - | 40.00 | MHz |
| rise and fall time (3) C=30 C=30 | pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 5.50 | ns | ||
| Tr/Tf | rise and fall time (3) C=30 C=30 | pF, 2 V ≤ V DD ≤ 2.7 V | - | 11.00 | ns | |
| rise and fall time (3) C=30 C=30 | C=10 pF, 2.7 V ≤ V DD ≤ 3.6 V | - | 2.50 | ns | ||
| rise and fall time (3) C=30 C=30 | C=10 pF, 2 V ≤ V DD ≤ 2.7 V | - | 5.00 | ns |
- The fall time is defined between 70% and 30% of the output waveform, according to I 2 C specification.
- 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)
- Refer to Table 52: I/O AC characteristics .
STM32C031C4 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
| Symbol | Ratings | Min | Max | Unit |
|---|---|---|---|---|
| V DD - V SS | External supply voltage | - 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 pin | - 0.3 | V DD + 4.0 (2)(3) | V |
Table 22. Current characteristics
| Symbol | Ratings | Max | Unit |
|---|---|---|---|
| I VDD/VDDA | Current into VDD/VDDA power pin (source) | 100 | mA |
| I VSS/VSSA | Current out of VSS/VSSA ground pin (sink) | 100 | mA |
| I IO(PIN) | Output current sunk by any I/O and control pin | 20 | mA |
| I IO(PIN) | Output current sourced by any I/O and control pin | 20 | mA |
| ∑ I (PIN) | Total output current sunk by sum of all I/Os and control pins (1) | 80 | mA |
| ∑ I (PIN) | Total output current sourced by sum of all I/Os and control pins (1) | 80 | mA |
| I INJ(PIN) (1)(2) | Injected current on a FT_xx pin | -5 / 0 | mA |
| ∑ I INJ(PIN) | Total injected current (sum of all I/Os and control pins) (3) | -25 | mA |
Table 23. Thermal characteristics
| Symbol | Ratings | Value | Unit |
|---|---|---|---|
| T STG | Storage temperature range | -65 to +150 | °C |
| T J | Maximum junction temperature | 130 | °C |
Table 23. Thermal characteristics
83
STM32C031C4 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}$$
STM32C031C4 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 Number | Manufacturer | Package |
|---|---|---|
| STM32C031C6 | STMicroelectronics | — |
| STM32C031F4 | STMicroelectronics | TSSOP-20 |
| STM32C031F6 | STMicroelectronics | TSSOP-20 |
| STM32C031G4 | STMicroelectronics | UFQFPN28 |
| STM32C031G6 | STMicroelectronics | UFQFPN28 |
| STM32C031G6U6 | STMicroelectronics | 28-UFQFN |
| STM32C031K4 | STMicroelectronics | — |
| STM32C031K6 | STMicroelectronics | — |
| STM32C031X4/X6 | STMicroelectronics | — |
Other Integrated Circuits
- STM32F103C8T6 – STMicroelectronics, Microcontroller
- STM32F405RGT6 – STMicroelectronics, ARM Cortex-M4 MCU
- SN74AVC4T245PWR – Texas Instruments, Dual-Supply Bus Transceiver Level Translator
- STM32F446RCT6 – STMicroelectronics, ARM Cortex-M4 MCU
- STM32G070RBT6 – STMicroelectronics, Arm Cortex-M0+ 32-bit MCU
- ADS131M08IPBSR – Texas Instruments, Delta-Sigma ADC
- ISO1540DR – Texas Instruments, Bidirectional I²C Isolator
- ISO7740DBQR – Texas Instruments, Digital Isolator
All Integrated Circuits datasheetsAll STMicroelectronics datasheets (808)
Ask your AI agent about the STM32C031C4
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 STM32C031C4 run from my 12 V rail? Check it against the datasheet limits."
Create a free account $2 of usage every month, no card needed.