STMicroelectronics STM32G050F6P6
- Part No.:
- STM32G050F6P6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 20-TSSOP (0.173", 4.40mm Width)
- Datasheet:
-
STM32G050F6P6.pdf
- Description:
- IC MCU 32BIT 32KB FLASH 20TSSOP
- Quantity:
- Payment:

- Shipping:

Inventory:1,240
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G050F6P6 from STMicroelectronics is an Arm® Cortex®-M0+ 32-bit microcontroller in TSSOP20 package, operating at up to 64 MHz with 32 KB Flash and 8 KB SRAM. It integrates dual USARTs (one with LIN/ISO7816), two I²C interfaces (Fast-mode Plus), two SPIs, a 12-bit ADC (0.4 µs conversion), RTC with alarm, and supports 2.0–3.6 V supply. It targets cost-sensitive industrial control and smart sensor nodes requiring compact footprint and low-power operation.
For engineers reviewing the STM32G050F6P6 datasheet, STM32G050F6P6 pinout, STM32G050F6P6 application, or STM32G050F6P6 equivalent, key selection considerations include its TSSOP20 packaging, 20-pin I/O count with 5 V-tolerant capability, integrated hardware CRC, SWD debug support, and low-power Stop/Standby modes with RTC wakeup-critical for battery-backed embedded systems.
Technical Context
The device implements an Arm Cortex-M0+ core with MPU, supporting Thumb-2 instruction set and single-cycle multiplication. Its memory subsystem includes 32 KB of flash (with readout protection and ECC on SRAM) and 8 KB of SRAM (6 KB with parity). The clock system combines internal RC oscillators (16 MHz HSI, 32 kHz LSI), external crystal options (4–48 MHz HSE, 32.768 kHz LSE), and a PLL for precise frequency synthesis.
Peripheral interconnect uses AHB/APB buses with DMA controller (7 channels) and flexible remapping. Analog functions include temperature sensor, VREFINT, and VBAT monitoring. Power management enables Sleep, Stop (with RTC/backup register retention), and Standby modes, with POR/PDR and VBAT supply for RTC backup.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - delivers deterministic real-time response for motor control and protocol stacks. |
| Flash Memory | 32 KB - sufficient for bootloader + application firmware with field-upgrade capability. |
| SRAM | 8 KB (6 KB with hardware parity) - supports robust data buffering and stack safety in safety-critical tasks. |
| ADC Resolution | 12-bit, 0.4 µs conversion time - enables high-speed analog sensing (e.g., current monitoring in power supplies). |
| I/O Count | 17 general-purpose I/Os (15 5 V-tolerant) - allows direct interfacing with legacy 5 V logic without level shifters. |
| Operating Voltage | 2.0–3.6 V - compatible with single-cell Li-ion, coin-cell, or regulated 3.3 V rails. |
| Low-Power Modes | Stop mode current ≤ 0.34 µA (typ.) - extends battery life in always-on sensor endpoints. |
Pinout & Package
TSSOP20 (6.4 × 4.4 mm, 0.65 mm pitch), ECOPACK2-compliant, surface-mount package optimized for space-constrained PCB layouts and automated assembly.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Main power supply | 2.0–3.6 V input; powers digital core and I/Os; requires local 100 nF decoupling. |
| VSS | GND reference | Digital ground return path; must be low-impedance and connected to PCB ground plane. |
| NRST | Active-low reset input | Asynchronous reset trigger; internal pull-up; accepts 1.65–5.5 V logic levels. |
| PA0–PA9 | General-purpose I/Os | Configurable as GPIO, USART2_TX/RX, SPI1_SCK/MOSI/MISO, I²C1_SCL/SDA, ADC_IN0–IN9. |
| PA13/PA14 | SWD debug interface | SWDIO and SWCLK pins - enable programming and real-time debugging via serial wire interface. |
| VBAT | RTC backup supply | Connects to coin cell or supercapacitor to retain RTC/calendar and backup registers during main power loss. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Accelerates firmware integrity checks and communication frame validation without CPU overhead. |
| 5 V-tolerant I/Os | 15 pins tolerate 5 V inputs while powered from 3.3 V - simplifies mixed-voltage system integration. |
| RTC with calendar and alarm | Full binary-coded decimal (BCD) calendar, alarm interrupt, and periodic wakeup from Stop/Standby - enables time-triggered scheduling. |
| Two I²C Fast-mode Plus | 1 Mbit/s operation with extra current sink - drives higher bus capacitance and longer traces in industrial networks. |
| USART with LIN support | Hardware LIN break detection and sync field generation - eliminates software bit-banging for automotive body electronics. |
Applications
| Industrial Sensor Node | Smart Home Actuator |
|---|---|
Use Scenario: Battery-powered temperature/humidity sensor transmitting data via UART to gateway. IC Role / Device Role / Timing Role: Main controller executing sensor acquisition, data processing, and low-power UART transmission scheduling. Use Value: Stop mode current < 0.34 µA and RTC wakeup enable multi-hour sleep intervals between readings, extending 2× AA battery life to >2 years. | Use Scenario: Zigbee/Z-Wave relay module controlling lighting or HVAC via 3.3 V logic-level signals. IC Role / Device Role / Timing Role: Protocol bridge and timing coordinator managing RF transceiver handshaking and load switching timing. Use Value: Dual USARTs allow simultaneous RF interface and wired debug/UART command channel; 5 V-tolerant I/Os directly drive optocouplers or triac drivers. |
| POS Peripheral Controller | Energy Meter Front-End |
Use Scenario: Barcode scanner or receipt printer controller interfacing with USB-to-UART bridge and button matrix. IC Role / Device Role / Timing Role: Real-time peripheral manager handling button debouncing, LED control, and buffered serial printing. Use Value: 17 fast I/Os with interrupt mapping support concurrent input scanning and output driving; hardware CRC ensures reliable firmware updates over UART. | Use Scenario: AC mains monitoring unit sampling voltage/current via shunt/CT and communicating via isolated RS-485. IC Role / Device Role / Timing Role: Analog front-end processor performing ADC oversampling, RMS calculation, and Modbus RTU framing. Use Value: 12-bit ADC with hardware oversampling achieves 16-bit effective resolution; dual SPI supports isolated RS-485 transceiver and external flash storage. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G030F6P6 | Same TSSOP20 package, but only 16 KB Flash and 4 KB SRAM; no VREFINT or temperature sensor. | Suitable for simpler firmware with no analog calibration or thermal compensation needs. | Select when BOM cost reduction is critical and feature set can be reduced by ~30%. |
| NXP LPC802M011JDH20 | ARM Cortex-M0+, 30 MHz max, 16 KB Flash, 4 KB SRAM, no RTC calendar or hardware CRC. | Limited to basic control tasks without timekeeping or firmware integrity verification. | Choose only if existing NXP toolchain and ecosystem alignment outweighs STM32's peripheral richness. |
Compared with STM32G030F6P6, the G050F6P6 adds 16 KB Flash, 4 KB SRAM, VREFINT, temperature sensor, and enhanced I²C/USART features-justifying its use in applications requiring field calibration, secure updates, or richer communication protocols. Versus LPC802, it offers higher clock speed, integrated RTC calendar, and broader analog capability for sensor fusion.
Availability
STM32G050F6P6 is available at Aetrix Electronics and suitable for industrial sensor nodes, smart home actuators, POS peripherals, and energy meter front-ends requiring stable component supply and long-term manufacturability.
Supply support for STM32G050F6P6 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 STM32G0 series targets cost-sensitive, ultra-low-power embedded applications with simplified peripherals and streamlined development tools-optimized for rapid prototyping and high-volume production in resource-constrained environments.
FAQ
What is the maximum operating frequency of the STM32G050F6P6?
The STM32G050F6P6 operates at up to 64 MHz using its internal 16 MHz HSI oscillator with PLL multiplication or an external crystal source. This frequency is fully supported across the full −40°C to +85°C temperature range and 2.0–3.6 V supply voltage, enabling deterministic real-time execution for control loops and communication stacks.
Does the STM32G050F6P6 support hardware encryption or secure boot?
No, the STM32G050F6P6 does not include hardware cryptographic accelerators (AES, SHA, PKA) or secure boot ROM. It provides readout protection (RDP) Level 1 and write protection for flash sectors, but lacks dedicated security peripherals found in the STM32G07x or STM32L5 series-making it suitable for non-security-critical applications where firmware confidentiality is managed externally.
Can the STM32G050F6P6 drive a standard 5 V LCD display directly?
No, the I/Os are 5 V-tolerant on input but output only up to VDD (max 3.6 V). To drive a 5 V LCD, external level-shifting circuitry (e.g., discrete MOSFETs or dedicated level translators like TXB0108) is required for data/control lines. However, its 5 V-tolerant inputs safely accept 5 V signals from the display's status or touch interface.
Is SWD debug supported on all pins, or only specific ones?
SWD debug is supported exclusively on PA13 (SWDIO) and PA14 (SWCLK); these pins are dedicated and cannot be remapped to other functions. They require 10 kΩ pull-up resistors on SWDIO and no external loading on SWCLK for reliable programming and debugging via ST-LINK or compatible probes.
STM32G050F6P6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- STM32G0
- Packaging:
- Bulk
- Product Status:
- Active
- Programmable:
- -
- Core Processor:
- ARM® Cortex®-M0+
- Core Size:
- 32-Bit Single-Core
- Speed:
- 64MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, SmartCard, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 18
- Program Memory Size:
- 32KB (32K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 18K x 8
- Voltage - Supply (Vcc/Vdd):
- 2V ~ 3.6V
- Data Converters:
- A/D 16x12b SAR
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G050F6P6 FAQ
1.How can I place an order for STM32G050F6P6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G050F6P6 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 STM32G050F6P6 reliable?
The price and inventory of STM32G050F6P6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G050F6P6 is usually 5 days.
3.What payment methods are accepted for STM32G050F6P6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G050F6P6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G050F6P6?
STM32G050F6P6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G050F6P6 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 STM32G050F6P6?
For technical support, including STM32G050F6P6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G050F6P6 requirements.
6.How does Aetrix verify that STM32G050F6P6 is sourced from the original manufacturer or authorized distributors?
All STM32G050F6P6 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 STM32G050F6P6 meets industry standards.
7.What is the process for return or replacement of STM32G050F6P6?
All STM32G050F6P6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G050F6P6, 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 STM32G050F6P6 part is unused and in its original packaging.
Return procedure for STM32G050F6P6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G050F6P6 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…

