Mainstream ARM Cortex-M0 Access line MCU with 32 Kbytes Flash, 48 MHz CPU, motor control

The STM32F031x4/x6 microcontrollers incorporate the high-performance ARM®Cortex®-M0 32-bit RISC core operating at up to 48 MHz frequency, high-speed embedded memories (up to 32 Kbytes of Flash memory and 4 Kbytes of SRAM), and an extensive range of enhanced peripherals and I/Os. All devices offer standard communication interfaces (one I2C, one SPI/ I2S and one USART), one 12-bit ADC, five 16-bit timers, one 32-bit timer and an advanced-control PWM timer.

The STM32F031x4/x6 microcontrollers operate in the -40 to +85 °C and -40 to +105 °C temperature ranges, from a 2.0 to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.

The STM32F031x4/x6 microcontrollers include devices in six different packages ranging from 20 pins to 48 pins with a die form also available upon request. Depending on the device chosen, different sets of peripherals are included.

These features make the STM32F031x4/x6 microcontrollers suitable for a wide range of applications such as application control and user interfaces, hand-held equipment, A/V receivers and digital TV, PC peripherals, gaming and GPS platforms, industrial applications, PLCs, inverters, printers, scanners, alarm systems, video intercoms and HVACs.

Key Features

  • Core: ARM® 32-bit Cortex® -M0 CPU, frequency up to 48 MHz
  • Memories
    • 16 to 32 Kbytes of Flash memory
    • 4 Kbytes of SRAM with HW parity
  • CRC calculation unit
  • Reset and power management
    • Digital and I/Os supply: 2.0 to 3.6 V
    • Analog supply: VDDA = from VDD to 3.6 V
    • Power-on/Power-down reset (POR/PDR)
    • Programmable voltage detector (PVD)
    • Low power modes: Sleep, Stop and Standby
    • VBAT supply for RTC and backup registers
  • Clock management
    • 4 to 32 MHz crystal oscillator
    • 32 kHz oscillator for RTC with calibration
    • Internal 8 MHz RC with x6 PLL option
    • Internal 40 kHz RC oscillator
  • Up to 39 fast I/Os
    • All mappable on external interrupt vectors
    • Up to 26 I/Os with 5 V tolerant capability
  • 5-channel DMA controller
  • 1 × 12-bit, 1.0 μs ADC (up to 10 channels)
    • Conversion range: 0 to 3.6V
    • Separate analog supply from 2.4 up to 3.6 V
  • Up to 9 timers
    • 1 x 16-bit 7-channel advanced-control timer for 6 channels PWM output, with deadtime generation and emergency stop
    • 1 x 32-bit and 1 x 16-bit timer, with up to 4 IC/OC, usable for IR control decoding
    • 1 x 16-bit timer, with 2 IC/OC, 1 OCN, deadtime generation and emergency stop
    • 1 x 16-bit timer, with IC/OC and OCN, deadtime generation, emergency stop and modulator gate for IR control
    • 1 x 16-bit timer with 1 IC/OC
    • Independent and system watchdog timers
    • SysTick timer: 24-bit downcounter
  • Calendar RTC with alarm and periodic wakeup from Stop/Standby
  • Communication interfaces
    • 1 x I2 C interface, supporting Fast Mode Plus (1 Mbit/s) with 20 mA current sink, SMBus/PMBus, and wakeup from Stop mode
    • 1 x USART supporting master synchronous SPI and modem control, ISO7816 interface, LIN, IrDA capability, auto baud rate detection and wakeup feature
    • 1 x SPI (18 Mbit/s) with 4 to 16 programmable bit frames, with I2S interface multiplexed
  • Serial wire debug (SWD)
  • 96-bit unique ID
  • Extended temperature range: -40 to +105°C
  • All packages ECOPACK® 2

Circuit Diagram

Resources

Technical Documentation

Product Specifications
Description Version Size
ARM®-based 32-bit MCU with up to 32 Kbyte Flash, 9 timers, ADC and communication interfaces, 2.0 - 3.6 V 6.0 1 MB
Application Notes
Description Version Size
Audio and waveform generation using the DAC in STM32 microcontrollers 3.0 816 KB
Basics and low-cost solution proposals to move from legacy USB2.0 connector to USB Type-C™ connector with STM32 devices 1.0 443 KB
Calibrating STM32F0x1, STM32F0x2 and STM32F0x8 lines internal RC oscillators 2.0 511 KB
EMC design guide for ST microcontrollers 2.0 843 KB
ESD considerations for touch sensing applications on MCUs 2.0 353 KB
Electrostatic discharge sensitivity measurement 1.6 49 KB
Extending the DAC performance of STM32 microcontrollers 2.0 365 KB
General-purpose timer cookbook 2.0 1 MB
Getting started with STM32F0x1/x2/x8 hardware development 4.0 568 KB
Guidelines for designing touch sensing applications with surface sensors 3.0 1 MB
Guidelines to improve conducted noise robustness on STM32F0/F3, STM32L0/L4 series touch sensing applications 3.0 613 KB
Guidelines to increase the number of touch sensing touchkeys 4.0 300 KB
Handling of soft errors in STM32 applications 2.1 410 KB
High-speed SI simulations using IBIS and board-level simulations using HyperLynx SI on STM32 32-bit ARM® Cortex® MCUs 1.1 2 MB
How to get the best ADC accuracy in STM32 microcontrollers 3.1 1 MB
How to implement a vocoder solution using STM32 microcontrollers 1.1 466 KB
How to wake up an STM32F0/F3/L0/L4 microcontroller from low-power mode with the USART or the LPUART 1.0 317 KB
Implementation of transmitters and receivers for infrared remote control protocols with MCUs of the STM32F0 and STM32F3 Series 3.0 750 KB
Managing the Driver Enable signal for RS-485 and IO-Link communications with the STM32™’s USART 1.3 191 KB
Migrating between STM32F0 and STM32L0 microcontrollers 1.0 461 KB
Migrating between STM32F1 and STM32F0 series microcontrollers 3.0 1 MB
Migration and compatibility guidelines for STM32 microcontroller applications 3.1 127 KB
Migration guidelines from PIC18 to STM32F0 Series with software expansion for STM32Cube 2.0 1 MB
Oscillator design guide for STM8AF/AL/S and STM32 microcontrollers 11.0 2 MB
STM32 USART automatic baud rate detection 1.0 268 KB
STM32 cross-series timer overview 6.0 555 KB
STM32 microcontroller debug toolbox 2.0 5 MB
STM32 microcontroller system memory boot mode 31.0 3 MB
STM32Cube firmware examples for STM32F0 Series 6.0 421 KB
STM32F0DISCOVERY peripheral firmware examples 3.1 511 KB
STM8S and STM32™ MCUs: a consistent 8/32-bit product line for painless migration 1.3 212 KB
Sampling capacitor selection guide for MCU based touch sensing applications 3.0 208 KB
Tuning a STMTouch-based application 3.0 783 KB
USART protocol used in the STM32 bootloader 7.0 617 KB
Using STM32 device PWM shut-down features for motor control and digital power conversion 4.0 834 KB
Using the STM32F0xx DMA controller 1.1 89 KB
Using the hardware real-time clock (RTC) in STM32 F0, F2, F3, F4 and L1 series of MCUs 5.1 421 KB
Using the hardware real-time clock (RTC) in low-power modes with STM32 microcontrollers 3.0 1 MB
Virtually increasing the number of serial communication peripherals in STM32 applications 1.1 338 KB
Technical Notes & Articles
Description Version Size
Description of WLCSP for microcontrollers and recommendations for its use 4.0 1 MB
How to use EWARM 6.2x with projects built with EWARM 6.1 and previous versions 1.2 97 KB
Tape and reel shipping media for STM32 microcontrollers in BGA packages 2.1 745 KB
Tape and reel shipping media for STM8 and STM32 microcontrollers in FPN packages 3.0 753 KB
Tape and reel shipping media for STM8 and STM32 microcontrollers in QFP packages 3.0 830 KB
Tape and reel shipping media for STM8 and STM32 microcontrollers in SO packages 1.0 755 KB
Tape and reel shipping media for STM8 and STM32 microcontrollers in TSSOP and SSOP packages 1.0 743 KB
Reference Manuals
Description Version Size
STM32F0x1/STM32F0x2/STM32F0x8 advanced ARM®-based 32-bit MCUs 9.0 13 MB
Programming Manuals
Description Version Size
STM32F0xxx Cortex-M0 programming manual 1.1 822 KB
Errata Sheets
Description Version Size
STM32F031x4/x6 device limitations 3.0 423 KB
Device Option Lists
Description Version Size
STM32F031 option list - 32 Kbytes 1.0 1 KB
Design Notes & Tips
Description Version Size
Coordinate rotation digital computer algorithm (CORDIC) test and performance verification 1.0 624 KB
Coordinate rotation digital computer algorithm (CORDIC) to compute trigonometric and hyperbolic functions 1.0 428 KB
The Goertzel algorithm to compute individual terms of the discrete Fourier transform (DFT) 1.0 518 KB

HW Model, CAD Libraries & SVD

HW Model, CAD Libraries & SVD
Description Version Size
STM32F0 CAD Symbol and Footprint files 1.1 2 MB
STM32F0 IBIS models 1.0 8 MB
STM32F0 System View Description 1.3 211 KB

Presentations & Training Material

Presentations
Description Version Size
Discover the STM32 with a free 32-bit Cortex-M0/0+ MCU Professional Developer’s Package: FAQ 1.0 290 KB
Discover the STM32 with a free 32-bit Cortex-M0/0+ MCU Professional Developer’s Package: Webinar Presentation 1.0 4 MB
Getting started with STM32F0 or STM32L0 series 1.0.0 606 KB
STM32 - 32-bit ARM Cortex-M MCUs 3.0 1 MB
STM32 and STM8 Functional Safety Packages 2 1 MB

Publications and Collaterals

Flyers
Description Version Size
Get ready for the largest IoT development ecosystem 17.02 741 KB
STM32 Nucleo boards - Unified scalable offering 17.11 1 MB
STM32 for makers - Releasing your creativity 17.06 2 MB
Brochures
Description Version Size
STM32 32-bit MCU family - Leading supplier of ARM® Cortex®-M microcontrollers 17.10 2 MB
STM32F0 Series - Mainstream 32-bit MCUs 17.07 1 MB
STM32F3 series - Mainstream 32-bit MCUs 17.09 2 MB

Quality & Reliability

Product Certifications
Description Version Size
STM32 CAN conformance test authentication sheet 1.0 182 KB

Tools and Software

Development Tools
Hardware Development Tools
Software Development Tools
Embedded Software
MCUs Embedded Software
Evaluation Tools
Product Evaluation Tools
Support & Community


Sample & Buy

Part Number Package Packing Type Operating Temperature (°C) (min) Operating Temperature (°C) (max) Marketing Status Unit Price (US$) * Quantity ECCN (EU) ECCN (US) Country of Origin More info Order from ST Order from Distributors
STM32F031F6P7 TSSOP 20 Tube -40 105 Active 0.809 10000 NEC 3A991A2 PHILIPPINES MORE INFO DISTRIBUTOR AVAILABILITY
STM32F031F6P6 TSSOP 20 Tube -40 85 Active 0.756 10000 NEC 3A991A2 PHILIPPINES MORE INFO DISTRIBUTOR AVAILABILITY
STM32F031F6P6TR TSSOP 20 Tape And Reel -40 85 Active 0.756 10000 NEC 3A991A2 PHILIPPINES MORE INFO DISTRIBUTOR AVAILABILITY
STM32F031F6P7TR TSSOP 20 Tape And Reel -40 105 Active 0.809 10000 NEC 3A991A2 PHILIPPINES MORE INFO No availability reported, please contact our Sales office
test

(*) Suggested Resale Price per unit (USD) for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office  or our Distributors

Quality & Reliability

Part Number Marketing Status Package Grade RoHS Compliance Grade Material Declaration**
STM32F031F6P7 ActiveTSSOP 20IndustrialEcopack2 0 0
STM32F031F6P6 ActiveTSSOP 20IndustrialEcopack2 0 0
STM32F031F6P6TR ActiveTSSOP 20IndustrialEcopack2 0 0
STM32F031F6P7TR ActiveTSSOP 20IndustrialEcopack2 0 0
test

(**) The Material Declaration forms available on st.com may be generic documents based on the most commonly used package within a package family. For this reason, they may not be 100% accurate for a specific device. Please contact our sales support for information on specific devices.

×