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

- Shipping:

Inventory:1,464
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32F031C6T6TR from STMicroelectronics is a 32-bit ARM Cortex-M0 microcontroller in LQFP32 package, operating up to 48 MHz with 32 KB Flash, 4 KB SRAM (HW parity), 12-bit ADC (1.0 µs conversion), and integrated peripherals including TIM1 advanced timer (6-channel PWM + deadtime), RTC, I²C (Fast Mode Plus), USART (LIN/IrDA), and SPI (18 Mbit/s). It targets cost-sensitive industrial control and sensor interface applications requiring extended temperature support (–40 to +105°C).
For engineers reviewing the STM32F031C6T6TR datasheet, STM32F031C6T6TR pinout, STM32F031C6T6TR application, or STM32F031C6T6TR equivalent, key selection criteria include Flash/SRAM size, 5 V-tolerant I/O count (up to 26), low-power mode behavior (Stop/Standby with RTC wakeup), ADC resolution and sampling speed, and availability of hardware CRC and SWD debug.
Technical Context
The device integrates an ARM Cortex-M0 core with tightly coupled NVIC and SysTick timer, supporting deterministic real-time execution. Its clock system combines internal RC oscillators (8 MHz HSI, 40 kHz LSI), external crystal options (4–32 MHz HSE, 32.768 kHz LSE), and a PLL for precise frequency scaling up to 48 MHz.
Peripheral interconnect uses APB1/APB2 buses with DMA channel arbitration for concurrent data movement across ADC, timers, and communication interfaces. The 12-bit ADC supports up to 10 channels with programmable sampling time and separate analog supply (VDDA = 2.4–3.6 V), while TIM1 provides hardware deadtime insertion and emergency stop for motor control.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | ARM Cortex-M0, 48 MHz max - enables deterministic real-time task scheduling with 3-stage pipeline and Thumb-2 instruction set. |
| Memory | 32 KB Flash (10k write/erase cycles), 4 KB SRAM with hardware parity - supports firmware updates and robust data storage in safety-critical contexts. |
| ADC | 12-bit, 1.0 µs conversion time, 10-channel multiplexed - delivers 1 MSPS sampling for fast sensor acquisition (e.g., current sensing, thermistor reading). |
| Timers | 9 timers including TIM1 (16-bit, 6-channel PWM + deadtime + emergency stop) - enables brushless DC motor commutation without external gate drivers. |
| I/O Voltage | 26 pins 5 V tolerant at 2.0–3.6 V supply - allows direct interfacing with legacy 5 V logic and industrial sensors without level shifters. |
| Power Modes | Sleep, Stop (0.4 µA typical), Standby (0.25 µA) with RTC wakeup - extends battery life in portable and remote monitoring devices. |
| Communication | I²C Fast Mode Plus (1 Mbit/s, 20 mA sink), USART (LIN/IrDA/auto-baud), SPI (18 Mbit/s) - supports multi-protocol fieldbus connectivity in automation nodes. |
Pinout & Package
LQFP32 package (7 × 7 mm, 0.8 mm pitch), RoHS-compliant, ECOPACK®2 certified. Thermal resistance θJA = 50 °C/W (JEDEC standard PCB).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Digital power supply and ground | Core and I/O domain supply (2.0–3.6 V); decoupling required per datasheet layout guidelines. |
| VDDA, VSSA | Analog power and ground | Separate 2.4–3.6 V analog domain for ADC/RTC; must be filtered and isolated from digital noise. |
| PA0–PA15, PB0–PB9 | General-purpose I/O | Up to 26 pins 5 V tolerant; all support external interrupt; alternate functions include USART, SPI, I²C, TIMx channels. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; accepts 1.65–5.5 V logic levels; supports external reset button or supervisor IC. |
| BOOT0 | Boot mode selection | High at power-on selects system memory bootloader; tied low via 10 kΩ resistor for normal Flash execution. |
| SWDIO / SWCLK | Serial Wire Debug interface | 2-pin debug port for programming and real-time trace; no dedicated JTAG pins - reduces PCB footprint. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Performs IEEE-802.3 CRC-32 on memory blocks or peripheral data streams - accelerates firmware integrity checks and secure boot verification. |
| Programmable voltage detector (PVD) | Configurable threshold (2.2–2.9 V) with interrupt output - enables graceful shutdown or brown-out recovery before system failure. |
| Independent watchdog (IWDG) | Free-running 12-bit counter clocked by 40 kHz LSI - ensures fail-safe reset if application hangs, independent of main clock domain. |
| Calendar RTC with alarm | Real-time clock with sub-second precision, alarm interrupt, and periodic wakeup from Stop/Standby - eliminates need for external RTC IC in time-stamped logging. |
| Temperature sensor & VREFINT | On-die temperature sensor (±1.5°C accuracy) and internal 1.2 V reference - enables self-calibrating thermal monitoring and ADC reference stability. |
Applications
| Industrial Motor Control | Smart Sensor Node |
|---|---|
Use Scenario: Brushless DC motor drive in HVAC blowers or small pumps using single-shunt current sensing and space-vector modulation. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, generating 6-channel complementary PWM with hardware deadtime and emergency stop on fault detection. Use Value: Eliminates external gate driver and protection logic; reduces BOM cost and board area while maintaining functional safety compliance. |
Use Scenario: Battery-powered environmental monitor measuring temperature, humidity, and CO₂ with wireless transmission every 5 minutes. IC Role / Device Role / Timing Role: System-on-chip managing sensor acquisition, data processing, RTC-triggered sleep/wakeup, and UART-to-LoRaWAN bridge. Use Value: Ultra-low standby current (0.25 µA) extends 2xAA battery life beyond 5 years; integrated ADC and temperature sensor reduce external components. |
| PLC Digital I/O Module | Home Appliance UI Controller |
Use Scenario: DIN-rail mounted I/O expansion module with 8-channel opto-isolated inputs and 8-channel relay outputs for factory floor control. IC Role / Device Role / Timing Role: Interface processor handling input debouncing, output sequencing, and Modbus RTU over RS-485 via USART with automatic direction control. Use Value: 5 V-tolerant GPIOs directly accept 24 V industrial logic signals; hardware CRC ensures reliable fieldbus packet integrity. |
Use Scenario: Touch-enabled front panel controller in washing machines, managing LED indicators, buzzer feedback, and rotary encoder input. IC Role / Device Role / Timing Role: Dedicated UI MCU running capacitive touch library, driving segmented LCD via COM/SEG pins, and communicating with main MCU via I²C. Use Value: Integrated 12-bit ADC supports high-resolution touch sensing; multiple low-power modes minimize energy use during idle display states. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32F042F6P6 | Same Cortex-M0 core, 32 KB Flash, but adds USB 2.0 FS device interface and 16 KB SRAM; LQFP48 package only. | Required where host-side USB enumeration or HID-class device functionality is needed (e.g., USB-CDC debug interface). | Select when USB connectivity outweighs LQFP32 footprint constraints and cost sensitivity. |
| STM32G031F8P6 | Newer G0-series with same LQFP32 package, 64 KB Flash, 8 KB SRAM, enhanced security (AES, secure boot), and higher ADC throughput (2.5 MSPS). | Better suited for firmware-over-the-air (FOTA) updates and applications needing larger code space or cryptographic acceleration. | Choose for new designs prioritizing future-proofing, security, and performance headroom over legacy toolchain compatibility. |
Compared with STM32F031C6T6TR, STM32F042F6P6 adds USB at the cost of larger package and higher BOM cost, while STM32G031F8P6 offers double Flash/SRAM and security features but requires migration to newer HAL libraries and toolchains.
Availability
STM32F031C6T6TR is available at Aetrix Electronics and suitable for industrial motor control, smart sensor nodes, PLC digital I/O modules, and home appliance UI controllers requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for STM32F031C6T6TR 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 sensors, and automotive-grade components.
This part belongs to the STM32F0 mainstream Arm Cortex-M0 microcontroller family, engineered for cost-sensitive industrial and consumer applications demanding high integration, low power, and robust peripheral sets without sacrificing development ecosystem maturity.
FAQ
What is the maximum operating frequency and how is it achieved?
The STM32F031C6T6TR achieves 48 MHz maximum CPU frequency using its internal 8 MHz HSI oscillator multiplied by a 6× PLL. This configuration avoids external crystal cost while maintaining timing accuracy within ±1% over temperature and voltage. The PLL output feeds the system clock (SYSCLK), which drives the AHB and APB buses.
Does this MCU support hardware encryption or secure boot?
No, the STM32F031C6T6TR does not include hardware cryptographic accelerators or secure boot circuitry. It lacks AES engines, TRNG, or immutable boot ROM. Security relies on software-based techniques and external secure elements. For hardware security, consider STM32G031 or STM32L5 series parts.
Can the 12-bit ADC measure signals above the VDDA supply voltage?
No. The ADC input voltage range is strictly 0 to VDDA (2.4–3.6 V). Applying signals exceeding VDDA risks damage and violates absolute maximum ratings. For higher-voltage sensing, external resistive dividers or signal conditioners must scale inputs into the valid ADC range before connection.
Is SWD debug supported with full trace capability?
SWD debug is fully supported for programming and real-time variable inspection, but the STM32F031C6T6TR lacks an Embedded Trace Macrocell (ETM) or SWO trace output. Therefore, instruction trace and high-speed data streaming are unavailable; debugging relies on breakpoints, watchpoints, and register reads via SWDIO/SWCLK pins.
STM32F031C6T6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-LQFP
- Series:
- STM32F0
- Packaging:
- Tape & Reel (TR)
- 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:
- 32KB (32K 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:
STM32F031C6T6TR FAQ
1.How can I place an order for STM32F031C6T6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32F031C6T6TR 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 STM32F031C6T6TR reliable?
The price and inventory of STM32F031C6T6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F031C6T6TR is usually 5 days.
3.What payment methods are accepted for STM32F031C6T6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F031C6T6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32F031C6T6TR?
STM32F031C6T6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32F031C6T6TR 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 STM32F031C6T6TR?
For technical support, including STM32F031C6T6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F031C6T6TR requirements.
6.How does Aetrix verify that STM32F031C6T6TR is sourced from the original manufacturer or authorized distributors?
All STM32F031C6T6TR 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 STM32F031C6T6TR meets industry standards.
7.What is the process for return or replacement of STM32F031C6T6TR?
All STM32F031C6T6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32F031C6T6TR, 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 STM32F031C6T6TR part is unused and in its original packaging.
Return procedure for STM32F031C6T6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32F031C6T6TR 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…

