STMicroelectronics STM32F031C4T6
- Part No.:
- STM32F031C4T6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 48-LQFP
- Datasheet:
-
STM32F031C4T6.pdf
- Description:
- IC MCU 32BIT 16KB FLASH 48LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:1,490
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32F031C4T6 from STMicroelectronics is a 32-bit ARM® Cortex®-M0 microcontroller with 16 KB Flash, 4 KB SRAM (with hardware parity), and operating voltage range of 2.0–3.6 V. It integrates a 12-bit 1.0 µs ADC (10-channel), up to 9 timers including advanced-control TIM1 with deadtime generation, and communication interfaces: I²C (Fast Mode Plus), USART (LIN/IrDA/ISO7816), and SPI (18 Mbit/s). It targets cost-sensitive industrial control and sensor node applications requiring low-power operation and robust peripheral integration.
For engineers reviewing the STM32F031C4T6 datasheet, STM32F031C4T6 pinout, STM32F031C4T6 application, or STM32F031C4T6 equivalent, key selection criteria include Flash/SRAM size, 5 V-tolerant I/O count (up to 26), RTC with alarm/wakeup, SWD debug support, and extended temperature range (–40 to +105°C) for harsh environments.
Technical Context
The device implements an ARM Cortex-M0 core running at up to 48 MHz, supported by a flexible clock tree with multiple sources: 4–32 MHz HSE crystal, 32 kHz LSE for RTC, 8 MHz HSI with x6 PLL, and 40 kHz LSI. Power management includes POR/PDR, programmable voltage detector (PVD), and three low-power modes (Sleep, Stop, Standby) with VBAT backup for RTC and registers.
Peripheral architecture features a 5-channel DMA controller, nested vectored interrupt controller (NVIC), and extended interrupt/event controller (EXTI). The 12-bit ADC supports conversion ranges from 0 to 3.6 V with separate analog supply (VDDA = 2.4–3.6 V), while all timers-especially TIM1 and TIM3-support complementary PWM outputs with configurable deadtime and emergency stop for motor control.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | ARM Cortex-M0, 48 MHz max - enables real-time deterministic execution for control loops and protocol stacks. |
| Flash Memory | 16 KB - sufficient for compact firmware with bootloader, sensor fusion, and basic communication stacks. |
| SRAM | 4 KB with hardware parity - ensures data integrity in safety-critical variables and stack operations. |
| ADC | 12-bit, 1.0 µs conversion time, 10 channels - supports fast sampling of analog sensors (e.g., temperature, current) without external oversampling. |
| I/O Pins | Up to 39 fast I/Os, 26 with 5 V tolerance - allows direct interfacing with legacy 5 V logic and industrial sensors without level shifters. |
| Timers | 9 timers including 1x advanced-control (TIM1), 2x general-purpose 16-bit, 1x 32-bit - enables multi-channel PWM, IR decoding, encoder counting, and precise timing for motor drives. |
| Communication | I²C (1 Mbit/s Fast Mode Plus), USART (LIN/IrDA/ISO7816), SPI (18 Mbit/s) - supports automotive diagnostics, remote sensing, and high-speed peripheral bridging. |
Pinout & Package
LQFP32 package (7 × 7 mm, 0.8 mm pitch), RoHS-compliant and ECOPACK®2 certified. Pinout validated per STMicroelectronics DocID025743 Rev 6, Section 4 (Pinouts and pin description), Figure 4.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Digital power supply | 2.0–3.6 V main supply; decoupling required near pin for noise immunity in mixed-signal operation. |
| VSS | Digital ground | Reference return path for digital logic and I/O; must be connected to PCB ground plane with low impedance. |
| VDDA | Analog power supply | 2.4–3.6 V dedicated supply for ADC, reset circuitry, and internal reference; requires separate filtering from VDD. |
| PA0–PA15 | General-purpose I/O port A | Configurable as GPIO, alternate functions (e.g., USART2_TX, TIM2_CH1); PA0–PA7 support external interrupts. |
| PB0–PB1 | General-purpose I/O port B | Supports TIM3_CH3/CH4, I²C1_SCL/SDA; PB0 also serves as BOOT0 for system boot mode selection. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic levels; debounced externally for reliable startup. |
| SWDIO / SWCLK | Serial Wire Debug interface | Two-pin debug interface supporting programming and real-time trace; no JTAG pins required, saving board space. |
Key Features
| Feature | Design Value |
|---|---|
| CRC calculation unit | Hardware-accelerated CRC-32 computation for firmware integrity checks and communication frame validation. |
| Programmable voltage detector (PVD) | Configurable threshold (2.2–2.9 V) with interrupt capability - enables early warning of brown-out conditions before system reset. |
| Calendar RTC with alarm | Real-time clock with calendar, alarm, and periodic wakeup from Stop/Standby - supports time-stamped logging and scheduled wakeups without external components. |
| Temperature sensor & VREFINT | On-die temperature sensor (±1.5°C accuracy) and internal 1.2 V reference - enables self-calibration and ambient monitoring without external ICs. |
| Extended temperature range | –40 to +105°C operation - qualified for industrial automation, motor drives, and outdoor sensor enclosures without derating. |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Brushless DC (BLDC) motor commutation in HVAC blowers and small pumps. IC Role / Device Role / Timing Role: MCU executing FOC algorithm, generating 6-channel complementary PWM via TIM1 with deadtime, and reading current feedback via ADC. Use Value: Integrated advanced timer and 5 V-tolerant I/O eliminate external gate drivers and level shifters, reducing BOM cost and PCB area. |
Use Scenario: Battery-powered environmental monitor measuring temperature, humidity, and CO₂ over LoRaWAN. IC Role / Device Role / Timing Role: System controller managing sensor acquisition, low-power scheduling, RTC-based wakeup, and UART-to-SPI bridge for transceiver interface. Use Value: Standby current <1 µA with RTC active and 16 KB Flash enable firmware updates in field without battery replacement. |
| Home Appliance UI | Automotive Body Control |
Use Scenario: Touch-enabled control panel for washing machines with LED indicators and buzzer feedback. IC Role / Device Role / Timing Role: Managing capacitive touch sensing (via ADC), driving LEDs via PWM, and decoding button presses using EXTI on GPIO. Use Value: Hardware parity on SRAM and PVD ensure reliability during voltage fluctuations common in AC-powered appliances. |
Use Scenario: LIN bus node for interior lighting dimming and status reporting in vehicle door modules. IC Role / Device Role / Timing Role: LIN physical layer interface via USART with auto-baud detection and slave node timing synchronized to master. Use Value: Integrated LIN support eliminates external transceiver; –40 to +105°C rating meets automotive cabin temperature requirements. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32F030F4P6 | 16 KB Flash, 4 KB SRAM, but only 20-pin TSSOP package and no advanced-control timer (TIM1) or RTC calibration. | Lacks deadtime generation and calendar RTC - unsuitable for motor control or time-stamped logging. | Select when cost and footprint are critical, and advanced PWM or RTC features are unnecessary. |
| STM32F042F4P6 | Same LQFP32 package, adds USB 2.0 FS device interface and higher ADC resolution (12-bit with hardware oversampling). | USB connectivity enables firmware updates and PC-side diagnostics - adds complexity if not required. | Choose when USB device functionality or enhanced ADC accuracy justifies $0.15–$0.20 higher unit cost. |
Compared with STM32F031C4T6, the STM32F030F4P6 sacrifices timer capability and RTC precision for lower cost and smaller footprint, while the STM32F042F4P6 adds USB and ADC enhancements at modest cost premium - making STM32F031C4T6 optimal for balanced feature set in industrial edge nodes.
Availability
STM32F031C4T6 is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, home appliance UIs, and automotive body control modules requiring stable component supply across long production lifecycles.
Supply support for STM32F031C4T6 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 devices, sensors, and analog ICs for industrial, automotive, and consumer markets.
The STM32F0 series targets cost-sensitive, resource-constrained embedded applications requiring ARM Cortex-M0 performance, low power, and rich peripheral integration - optimized for rapid development and high-volume manufacturability.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM32F031C4T6 achieves a maximum CPU frequency of 48 MHz using its internal 8 MHz HSI oscillator with a 6× PLL multiplier. Alternatively, an external 4–32 MHz crystal (HSE) can be used directly or with PLL scaling. All timing specifications in the datasheet - including ADC conversion time and SPI throughput - are guaranteed at this 48 MHz rate under specified voltage and temperature conditions.
Does this MCU support hardware CRC and why does it matter?
Yes, it includes a dedicated CRC calculation unit supporting CRC-32 (IEEE 802.3) with programmable polynomial and data width. This enables real-time firmware image verification during boot or OTA updates, and frame-level error detection in I²C/SPI communications - eliminating software CRC overhead and improving system security and reliability without CPU intervention.
How many I/O pins are 5 V tolerant and which ones?
Up to 26 I/O pins are 5 V tolerant, specifically PA0–PA15, PB0–PB1, and PB10–PB15 as defined in Table 11 (Pin definitions) of the datasheet. These pins tolerate 5.5 V regardless of VDD level (2.0–3.6 V), enabling direct connection to 5 V sensors, displays, or legacy logic without external level-shifting circuitry - verified per electrical characteristics section 6.3.14.
Can the RTC retain time during power loss, and what's required?
Yes, the RTC retains calendar time and alarm settings during main power loss when a VBAT supply (1.8–3.6 V) is connected to the VBAT pin and backed by a coin cell or supercapacitor. The RTC continues running in Standby mode with typical current draw of 0.8 µA, and supports periodic wakeup events - confirmed in Section 3.12 and electrical characteristics Table 26.
STM32F031C4T6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-LQFP
- Series:
- STM32F0
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M0
- Core Size:
- 32-Bit Single-Core
- Speed:
- 48MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 39
- Program Memory Size:
- 16KB (16K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 4K x 8
- Voltage - Supply (Vcc/Vdd):
- 2V ~ 3.6V
- Data Converters:
- A/D 13x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32F031C4T6 FAQ
1.How can I place an order for STM32F031C4T6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32F031C4T6 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 STM32F031C4T6 reliable?
The price and inventory of STM32F031C4T6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F031C4T6 is usually 5 days.
3.What payment methods are accepted for STM32F031C4T6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F031C4T6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32F031C4T6?
STM32F031C4T6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32F031C4T6 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 STM32F031C4T6?
For technical support, including STM32F031C4T6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F031C4T6 requirements.
6.How does Aetrix verify that STM32F031C4T6 is sourced from the original manufacturer or authorized distributors?
All STM32F031C4T6 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 STM32F031C4T6 meets industry standards.
7.What is the process for return or replacement of STM32F031C4T6?
All STM32F031C4T6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32F031C4T6, 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 STM32F031C4T6 part is unused and in its original packaging.
Return procedure for STM32F031C4T6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32F031C4T6 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…

