STMicroelectronics STM32C031K4U6
- Part No.:
- STM32C031K4U6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 32-UFQFN Exposed Pad
- Datasheet:
-
STM32C031K4U6.pdf
- Description:
- IC MCU 32BIT 16KB FLASH 32UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:5,907
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32C031K4U6 from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in UFQFPN32 (5 × 5 mm) package, featuring 32 KB flash, 12 KB SRAM with hardware parity, 48 MHz max CPU frequency, 12-bit 0.4 µs ADC (up to 19 channels), and dual USARTs with LIN/IrDA/ISO7816 support - deployed in industrial sensor nodes and smart metering front-ends.
For engineers reviewing the STM32C031K4U6 datasheet, STM32C031K4U6 pinout, STM32C031K4U6 application, or STM32C031K4U6 equivalent, key selection criteria include 5 V-tolerant I/O count (up to 45), low-power Stop/Standby modes (down to 120 nA), integrated CRC unit, hardware memory protection (MPU), and dual clock sources (48 MHz HSI ±1 %, 32 kHz LSE with calibration).
Technical Context
The STM32C031K4U6 integrates an Arm Cortex-M0+ core with Memory Protection Unit (MPU) for deterministic real-time execution and secure peripheral access control. It supports boot from system memory, main flash, or SRAM, with configurable reset vector mapping and readout protection (RDP) levels.
Clock architecture includes four independent sources: 4–48 MHz HSE crystal oscillator, 32 kHz LSE with factory calibration, 48 MHz HSI (±1 %), and 32 kHz LSI (±5 %), all managed by a flexible clock controller supporting dynamic switching and prescaler configuration for peripherals including timers, ADC, and communication interfaces.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 48 MHz max - enables deterministic real-time control with <10 ns interrupt latency and MPU-enforced memory isolation. |
| Flash / RAM | 32 KB flash with write protection; 12 KB SRAM with hardware parity - ensures firmware integrity and runtime data reliability in noisy environments. |
| ADC | 12-bit, 0.4 µs conversion time, 19 external channels - supports high-speed analog sensing (e.g., current/voltage monitoring in power supplies). |
| I/O Pins | Up to 45 fast GPIOs, all 5 V-tolerant - simplifies interface with legacy 5 V logic and industrial sensors without level shifters. |
| Low-Power Modes | Stop mode @ 120 nA, Standby @ 200 nA - extends battery life in wireless sensor transmitters and portable diagnostic tools. |
| Communication | 2× USART (1 with LIN/IrDA/ISO7816), 1× I²C (Fast-mode Plus, 1 Mbit/s), 1× SPI (24 Mbit/s) - enables multi-protocol connectivity in building automation gateways. |
| Clock Sources | 48 MHz HSI (±1 %), 32 kHz LSE (calibrated), HSE up to 48 MHz - eliminates need for external crystals in cost-sensitive designs while maintaining RTC accuracy. |
Pinout & Package
STM32C031K4U6 uses the UFQFPN32 (5 × 5 mm, 0.5 mm pitch) package with 32 pins, compliant with ECOPACK2 environmental standards. Pin functions are fully defined per ST's DS13867 Rev 4, Section 4 (Pin assignment and description), Figure 6.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply / ground | Dual 2.0–3.6 V supply domain; separate analog/digital ground pins enable noise-isolated ADC operation. |
| PA0–PA15, PB0–PB15, PC13–PC15 | General-purpose I/O | All 5 V-tolerant; PA0–PA3 support ADC1_IN0–IN3; PC13–PC15 reserved for RTC/LSE functions. |
| NRST | Active-low reset input | Internal pull-up; accepts 1.65–5.5 V logic; supports external reset assertion and SWD debug reset synchronization. |
| BOOT0 | Boot mode selection | High at power-up selects system memory boot; used for factory bootloader entry or recovery via UART. |
| SWDIO / SWCLK | Serial Wire Debug interface | Two-pin debug port enabling full SWD functionality (flash programming, real-time trace, breakpoints) without JTAG overhead. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates checksum computation for firmware OTA updates and communication frame validation (polynomial configurable). |
| Programmable BOR | Four voltage thresholds (1.6–2.5 V) allow precise brownout detection aligned with battery discharge curves in portable devices. |
| Calendar RTC with alarm | Independent 32 kHz LSE-driven calendar (YY-MM-DD hh:mm:ss) with wake-up alarm - enables scheduled sensor sampling without MCU active time. |
| Advanced timer (TIM1) | 16-bit PWM timer with dead-time insertion and complementary outputs - supports brushless DC motor control in compact drives. |
| Flexible DMA controller | 3-channel DMA with configurable priority and peripheral-to-memory/memory-to-peripheral transfers - offloads ADC and USART data movement from CPU. |
Applications
| Industrial Sensor Node | Smart Energy Meter |
|---|---|
Use Scenario: Battery-powered temperature/humidity/pressure node transmitting data via LoRaWAN every 15 minutes. IC Role / Device Role / Timing Role: Main controller managing sensor acquisition, CRC-secured packet assembly, low-power radio interface, and RTC-triggered wake-up. Use Value: 120 nA Stop mode + calibrated 32 kHz LSE enables accurate 15-minute intervals with ±1 ppm drift, extending 10-year battery life. |
Use Scenario: DIN-rail mounted electricity meter with pulse counting, tariff switching, and RS-485 communication. IC Role / Device Role / Timing Role: System-on-chip handling metrology ADC sampling, tariff calendar management, tamper detection, and isolated RS-485 PHY control. Use Value: Hardware parity on 12 KB SRAM prevents corruption of tariff tables during ESD events; 5 V-tolerant I/O directly interfaces with optocoupled RS-485 transceivers. |
| Home Appliance Control | Medical Diagnostic Tool |
Use Scenario: Washing machine main board controlling motor drive, water valves, display, and user interface. IC Role / Device Role / Timing Role: Real-time motor commutation via TIM1 PWM, safety-critical door lock monitoring, and touch button scanning. Use Value: MPU-enforced memory partitioning isolates motor control code from UI stack, preventing fault propagation during firmware updates. |
Use Scenario: Portable blood glucose monitor with electrochemical sensor, LCD, and Bluetooth LE connectivity. IC Role / Device Role / Timing Role: Analog front-end controller performing 12-bit sensor signal digitization, battery voltage monitoring, and BLE advertising interval timing. Use Value: Integrated 12-bit ADC with internal VREFINT reference eliminates external voltage reference IC, reducing BOM count and layout area. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G031F8P6 | Same 32 KB flash/12 KB RAM, but 64 MHz Cortex-M0+, no RTC calendar, only 16 GPIOs in TSSOP20. | Lacks calendar RTC and has fewer I/Os - suitable for simpler control tasks without time-stamped logging. | Select when higher CPU throughput is needed and RTC/calendar is not required; verify pin compatibility for existing TSSOP20 layouts. |
| RP2040 | Dual-core Arm Cortex-M0+, 2 MB flash, no hardware MPU, no analog peripherals (ADC requires external IC), 3.3 V only. | No integrated ADC, no RTC, no 5 V-tolerant I/O - requires additional components for sensor interfacing and power domain translation. | Choose only if dual-core parallelism outweighs added BOM complexity and analog integration loss; unsuitable for direct replacement in analog-sensing designs. |
Compared with STM32C031K4U6, STM32G031F8P6 trades calendar RTC and I/O count for higher clock speed in smaller package, while RP2040 sacrifices analog integration and 5 V tolerance for raw compute density - making STM32C031K4U6 optimal for cost-constrained, analog-rich, battery-operated industrial endpoints.
Availability
STM32C031K4U6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart energy meters, home appliance controllers, and portable medical diagnostics requiring stable component supply across multi-year production cycles.
Supply support for STM32C031K4U6 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, designing and manufacturing microcontrollers, power management ICs, MEMS, and automotive semiconductors since 1987.
The STM32C0 series targets cost-sensitive, high-volume industrial and consumer applications demanding robust analog integration, ultra-low-power operation, and simplified certification - delivering Cortex-M0+ performance in minimal footprint packages.
FAQ
What is the maximum operating temperature range for STM32C031K4U6?
The STM32C031K4U6 is qualified for industrial operation from –40 °C to +85 °C ambient temperature, with extended variants rated to +105 °C and +125 °C. This rating is validated per JEDEC JESD47 and applies to all electrical characteristics in DS13867 Rev 4, Table 24.
Does STM32C031K4U6 support USB device functionality?
No, STM32C031K4U6 does not include a USB peripheral. It provides USARTs (one with ISO7816/LIN/IrDA), I²C, SPI, and SWD debug - but no USB PHY or controller. For USB connectivity, designers must use external USB-to-UART bridges or select STM32G0/G4 series parts with integrated USB FS.
How many USARTs support LIN physical layer compliance?
One USART (USART1) supports LIN 2.2 physical layer compliance via dedicated LIN break detection, auto-baud rate synchronization, and wakeup-from-Stop capability - confirmed in DS13867 Rev 4, Section 3.18 and Table 9.
Is the 32 kHz LSE oscillator calibrated at factory?
Yes, the 32 kHz LSE oscillator is factory-calibrated with trim values stored in system memory (address 0x1FFF_75A0), enabling ±20 ppm accuracy over –40 °C to +85 °C without external trimming capacitors - documented in DS13867 Rev 4, Section 3.9 and Table 40.
STM32C031K4U6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 32-UFQFN Exposed Pad
- Series:
- STM32C0
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M0+
- Core Size:
- 32-Bit
- Speed:
- 48MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
- Number of I/O:
- 30
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 12K x 8
- Voltage - Supply (Vcc/Vdd):
- 2V ~ 3.6V
- Data Converters:
- A/D 18x12b SAR
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32C031K4U6 FAQ
1.How can I place an order for STM32C031K4U6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32C031K4U6 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for STM32C031K4U6 reliable?
The price and inventory of STM32C031K4U6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32C031K4U6 is usually 5 days.
3.What payment methods are accepted for STM32C031K4U6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32C031K4U6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32C031K4U6?
STM32C031K4U6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32C031K4U6 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for STM32C031K4U6?
For technical support, including STM32C031K4U6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32C031K4U6 requirements.
6.How does Aetrix verify that STM32C031K4U6 is sourced from the original manufacturer or authorized distributors?
All STM32C031K4U6 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that STM32C031K4U6 meets industry standards.
7.What is the process for return or replacement of STM32C031K4U6?
All STM32C031K4U6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32C031K4U6, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The STM32C031K4U6 part is unused and in its original packaging.
Return procedure for STM32C031K4U6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32C031K4U6 Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

