Product overview
Description
The STM32G031x4/x6/x8 mainstream microcontrollers are based on high-performance Arm® Cortex®-M0+ 32-bit RISC core operating at up to 64 MHz frequency. Offering a high level of integration, they are suitable for a wide range of applications in consumer, industrial and appliance domains and ready for the Internet of Things (IoT) solutions.
The devices incorporate a memory protection unit (MPU), high-speed embedded memories (8 Kbytes of SRAM and up to 64 Kbytes of Flash program memory with read protection, write protection, proprietary code protection, and securable area), DMA, an extensive range of system functions, enhanced I/Os, and peripherals. The devices offer standard communication interfaces (two I2Cs, two SPIs / one I2S, and two USARTs), one 12-bit ADC (2.5 MSps) with up to 19 channels, an internal voltage reference buffer, a low-power RTC, an advanced control PWM timer running at up to double the CPU frequency, four general-purpose 16-bit timers, a 32-bit general-purpose timer, two low-power 16-bit timers, two watchdog timers, and a SysTick timer.
The devices operate within ambient temperatures from -40 to 125°C and with supply voltages from 1.7 V to 3.6 V. Optimized dynamic consumption combined with a comprehensive set of power-saving modes, low-power timers and low-power UART, allows the design of low-power applications.
VBAT direct battery input allows keeping RTC and backup registers powered.
The devices come in packages with 8 to 48 pins.
-
All features
- Core: Arm® 32-bit Cortex®-M0+ CPU, frequency up to 64 MHz
- -40°C to 85°C/105°C/125°C operating temperature
- Memories
- Up to 64 Kbytes of Flash memory with protection and securable area
- 8 Kbytes of SRAM with HW parity check
- CRC calculation unit
- Reset and power management
- Voltage range: 1.7 V to 3.6 V
- Power-on/Power-down reset (POR/PDR)
- Programmable Brownout reset (BOR)
- Programmable voltage detector (PVD)
- Low-power modes:Sleep, Stop, Standby, Shutdown
- VBAT supply for RTC and backup registers
- Clock management
- 4 to 48 MHz crystal oscillator
- 32 kHz crystal oscillator with calibration
- Internal 16 MHz RC with PLL option (±1 %)
- Internal 32 kHz RC oscillator (±5 %)
- Up to 44 fast I/Os
- All mappable on external interrupt vectors
- Multiple 5 V-tolerant I/Os
- 5-channel DMA controller with flexible mapping
- 12-bit, 0.4 µs ADC (up to 16 ext. channels)
- Up to 16-bit with hardware oversampling
- Conversion range: 0 to 3.6V
- 11 timers (one 128 MHz capable): 16-bit for advanced motor control, one 32-bit and four 16-bit general-purpose, two low-power 16-bit, two watchdogs, SysTick timer
- Calendar RTC with alarm and periodic wakeup from Stop/Standby/Shutdown
- Communication interfaces
- Two I2C-bus interfaces supporting Fast-mode Plus (1 Mbit/s) with extra current sink, one supporting SMBus/PMBus and wakeup from Stop mode
- Two USARTs with master/slave synchronous SPI; one supporting ISO7816 interface, LIN, IrDA capability, auto baud rate detection and wakeup feature
- One low-power UART
- Two SPIs (32 Mbit/s) with 4- to 16-bit programmable bitframe, one multiplexed with I2S interface
- Development support: serial wire debug (SWD)
- 96-bit unique ID
- All packages ECOPACK 2 compliant
Circuit Diagram
More from the product line

Recommended for you
Recommended Tools & Software
All resources
Resource title | Version | Latest update |
---|
Product Specifications (1)
Resource title | Version | Latest update | ||
---|---|---|---|---|
3.0 | 05 Oct 2021 | 05 Oct 2021 |
Application Notes (5 of 43)
Resource title | Version | Latest update | ||
---|---|---|---|---|
4.0 | 08 Jul 2020 | 08 Jul 2020 | ||
4.0 | 06 Jul 2022 | 06 Jul 2022 | ||
1.1 | 16 Jan 2024 | 16 Jan 2024 | ||
3.0 | 16 Jul 2019 | 16 Jul 2019 | ||
3.0 | 05 Feb 2021 | 05 Feb 2021 | ||
8.0 | 27 Feb 2025 | 27 Feb 2025 | ||
4.0 | 04 Oct 2024 | 04 Oct 2024 | ||
7.0 | 09 Dec 2024 | 09 Dec 2024 | ||
2.1 | 11 Jul 2017 | 11 Jul 2017 | ||
3.0 | 17 Aug 2022 | 17 Aug 2022 | ||
5.0 | 27 Feb 2025 | 27 Feb 2025 | ||
9.0 | 22 Oct 2024 | 22 Oct 2024 | ||
5.0 | 25 Jan 2024 | 25 Jan 2024 | ||
10.0 | 29 Oct 2024 | 29 Oct 2024 | ||
1.0 | 25 Sep 2023 | 25 Sep 2023 | ||
11.0 | 24 Mar 2025 | 24 Mar 2025 | ||
6.0 | 14 Mar 2024 | 14 Mar 2024 | ||
8.0 | 27 Feb 2025 | 27 Feb 2025 | ||
5.0 | 27 Feb 2025 | 27 Feb 2025 | ||
7.0 | 27 Feb 2025 | 27 Feb 2025 | ||
14.0 | 18 Feb 2025 | 18 Feb 2025 | ||
2.0 | 17 Jul 2019 | 17 Jul 2019 | ||
9.0 | 14 Mar 2024 | 14 Mar 2024 | ||
6.0 | 14 Mar 2024 | 14 Mar 2024 | ||
5.0 | 09 Dec 2024 | 09 Dec 2024 | ||
7.0 | 27 Jun 2023 | 27 Jun 2023 | ||
10.0 | 27 Feb 2025 | 27 Feb 2025 | ||
12.0 | 27 Feb 2025 | 27 Feb 2025 | ||
11.0 | 27 Feb 2025 | 27 Feb 2025 | ||
13.0 | 27 Feb 2025 | 27 Feb 2025 | ||
10.0 | 27 Feb 2025 | 27 Feb 2025 | ||
1.0 | 29 Oct 2024 | 29 Oct 2024 | ||
1.0 | 23 Jan 2025 | 23 Jan 2025 | ||
2.0 | 04 Feb 2022 | 04 Feb 2022 | ||
15.0 | 06 Feb 2025 | 06 Feb 2025 | ||
3.0 | 29 Mar 2022 | 29 Mar 2022 | ||
3.0 | 28 Jan 2021 | 28 Jan 2021 | ||
65.0 | 17 Feb 2025 | 17 Feb 2025 | ||
5.0 | 12 Nov 2020 | 12 Nov 2020 | ||
8.0 | 07 Nov 2024 | 07 Nov 2024 | ||
19.0 | 05 Feb 2025 | 05 Feb 2025 | ||
17.0 | 17 Feb 2025 | 17 Feb 2025 | ||
1.1 | 11 Jul 2017 | 11 Jul 2017 |
Technical Notes & Articles (5 of 7)
Resource title | Version | Latest update | ||
---|---|---|---|---|
4.0 | 11 Jul 2017 | 11 Jul 2017 | ||
5.0 | 17 Jul 2024 | 17 Jul 2024 | ||
2.1 | 11 Jul 2017 | 11 Jul 2017 | ||
3.0 | 11 Jul 2017 | 11 Jul 2017 | ||
3.0 | 11 Jul 2017 | 11 Jul 2017 | ||
1.0 | 11 Jul 2017 | 11 Jul 2017 | ||
1.0 | 11 Jul 2017 | 11 Jul 2017 |
User Manuals (1)
Resource title | Version | Latest update | ||
---|---|---|---|---|
1.1 | 09 Mar 2023 | 09 Mar 2023 |
Reference Manuals (1)
Resource title | Version | Latest update | ||
---|---|---|---|---|
6.0 | 10 Dec 2024 | 10 Dec 2024 |
Programming Manuals (1)
Resource title | Version | Latest update | ||
---|---|---|---|---|
9.0 | 20 Jun 2024 | 20 Jun 2024 |
Errata Sheets (1)
Resource title | Version | Latest update | ||
---|---|---|---|---|
6.0 | 12 Sep 2023 | 12 Sep 2023 |
Application Notes for related Tools & Software (5 of 18)
Resource title | Version | Latest update | ||
---|---|---|---|---|
2.0 | 15 Mar 2024 | 15 Mar 2024 | ||
2.0 | 23 Feb 2018 | 23 Feb 2018 | ||
1.0 | 28 Feb 2025 | 28 Feb 2025 | ||
4.0 | 10 Feb 2022 | 10 Feb 2022 | ||
2.0 | 14 Dec 2020 | 14 Dec 2020 | ||
3.0 | 24 Jul 2020 | 24 Jul 2020 | ||
1.0 | 29 Oct 2019 | 29 Oct 2019 | ||
5.0 | 05 Oct 2021 | 05 Oct 2021 | ||
1.0 | 28 Nov 2024 | 28 Nov 2024 | ||
18.0 | 11 Mar 2025 | 11 Mar 2025 | ||
2.0 | 28 Feb 2025 | 28 Feb 2025 | ||
8.0 | 20 Dec 2021 | 20 Dec 2021 | ||
7.0 | 27 Sep 2021 | 27 Sep 2021 | ||
1.0 | 14 Jan 2020 | 14 Jan 2020 | ||
4.0 | 09 Mar 2023 | 09 Mar 2023 | ||
3.0 | 28 Feb 2023 | 28 Feb 2023 | ||
5.0 | 12 Nov 2020 | 12 Nov 2020 | ||
1.0 | 30 Nov 2021 | 30 Nov 2021 |
Presentations (5 of 8)
Resource title | Version | Latest update | ||
---|---|---|---|---|
1.0 | 16 Sep 2024 | 16 Sep 2024 | ||
1.0 | 19 Feb 2025 | 19 Feb 2025 | ||
1.0 | 07 Jun 2024 | 07 Jun 2024 | ||
1.0 | 20 Jun 2023 | 20 Jun 2023 | ||
1.0 | 21 Mar 2024 | 21 Mar 2024 | ||
1.1 | 02 Dec 2024 | 02 Dec 2024 | ||
2.0 | 05 Jul 2024 | 05 Jul 2024 | ||
1.0 | 21 Aug 2024 | 21 Aug 2024 |
Flyers (5)
Resource title | Version | Latest update | ||
---|---|---|---|---|
1.0 | 18 Nov 2020 | 18 Nov 2020 | ||
20.0 | 21 Dec 2020 | 21 Dec 2020 | ||
1.0 | 09 Jul 2024 | 09 Jul 2024 | ||
21.5 | 15 Jul 2021 | 15 Jul 2021 | ||
1.0 | 22 Aug 2023 | 22 Aug 2023 |
Brochures (1)
Resource title | Version | Latest update | ||
---|---|---|---|---|
1.0 | 06 Mar 2023 | 06 Mar 2023 |
Security Bulletin (1)
Resource title | Version | Latest update | ||
---|---|---|---|---|
1.0 | 28 Jan 2025 | 28 Jan 2025 |
EDA Symbols, Footprints and 3D Models
All resources
Resource title | Version | Latest update |
---|
System View Description (1)
Resource title | Version | Latest update | ||
---|---|---|---|---|
ZIP | 1.6 | 12 Feb 2024 | 12 Feb 2024 |
IBIS models (1)
Resource title | Version | Latest update | ||
---|---|---|---|---|
ZIP | 3.0 | 18 May 2022 | 18 May 2022 |
Quality and Reliability
Part Number | Marketing Status | Package | Grade | RoHS Compliance Grade | Material Declaration** |
---|---|---|---|---|---|
STM32G031J6M3 | Preview | SO-8 | Industrial | Ecopack2 | |
STM32G031J6M6 | Active | SO-8 | Industrial | Ecopack2 | |
STM32G031J6M6TR | Active | SO-8 | Industrial | Ecopack2 |
(**) 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.
Sample & Buy
Part Number | Marketing Status | Budgetary Price (US$)*/Qty | Order from ST | Order from distributors | Package | Packing Type | RoHS | Country of Origin | ECCN (US) | ECCN (EU) | Operating temperature (°C) | Operating Temperature (°C) (max) | D/A Converters (typ) (12-bit) | Timers (typ) (16-bit) | Timers (typ) (32-bit) | Number of Channels (typ) | SMPS | Number of Channels (typ) | UART (typ) | I/Os (High Current) | Integrated op-amps | Comparator | SPI (typ) | USART (typ) | Number of Channels (typ) | I2S (typ) | Advanced Motor Control Timers | CAN (2.0) | CAN (FD) | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
min | max | ||||||||||||||||||||||||||||||
STM32G031J6M6TR | Active | 0.5074 / 10k | distributors No availability of distributors reported, please contact our sales office | SO-8 | Tape and Reel | CHINA | 3A991.a.2 | NEC | -40 | 85 |
| 5 | 1 |
|
|
|
| 17 |
|
| 2 | 1 | 6 | 1 |
|
|
| ||||
STM32G031J6M6 | Active | 0.5074 / 10k | 4 distributors | SO-8 | Tube | CHINA | 3A991.a.2 | NEC | -40 | 85 |
| 5 | 1 |
|
|
|
| 17 |
|
| 2 | 1 | 6 | 1 |
|
|
| ||||
STM32G031J6M3 | Preview | | distributors No availability of distributors reported, please contact our sales office | SO-8 | Tube | CHINA | 3A991.a.2 | NEC | -40 | 125 |
| 5 | 1 |
|
|
|
| 17 |
|
| 2 | 1 | 6 | 1 |
|
|
|
STM32G031J6M6TR Active
STM32G031J6M6 Active
STM32G031J6M3 Preview
(*) Suggested Resale Price (USD) per defined quantity for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office or our Distributors