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

- Shipping:

Inventory:4,371
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G051F8P3TR from STMicroelectronics is a 32-bit Arm® Cortex®-M0+ microcontroller in TSSOP20 package, operating at up to 64 MHz with 64 KB Flash, 18 KB SRAM, and integrated 12-bit ADC/DAC, dual USARTs (one with LIN/IrDA), and low-power UART. It targets compact industrial sensors and battery-powered IoT edge nodes requiring real-time control, analog signal conditioning, and serial connectivity.
For engineers reviewing the STM32G051F8P3TR datasheet, STM32G051F8P3TR pinout, STM32G051F8P3TR application, or STM32G051F8P3TR equivalent, key selection criteria include its 20-pin TSSOP footprint, 1.7–3.6 V supply range, -40°C to 105°C extended temperature grade, dual 12-bit DACs with sample-and-hold, and hardware CRC unit for firmware integrity verification.
Technical Context
The device implements an Arm Cortex-M0+ core with Memory Protection Unit (MPU), supporting TrustZone-like secure execution isolation. Its clock system integrates four oscillators: 4–48 MHz HSE, 32 kHz LSE with calibration, 16 MHz HSI with PLL, and 32 kHz LSI - enabling precise RTC operation and flexible low-power mode transitions.
Peripheral interconnect uses a hierarchical AHB/APB bus matrix with DMA request multiplexer (DMAMUX) for flexible channel mapping. Analog subsystem includes two rail-to-rail comparators with programmable hysteresis and input routing, plus temperature sensor and VREFINT reference for self-calibration of ADC/DAC.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M0+, 64 MHz max - enables deterministic real-time task scheduling in resource-constrained embedded control. |
| Memory | 64 KB Flash (with securable area), 18 KB SRAM (16 KB with HW parity) - supports secure firmware updates and ECC-protected data buffers. |
| Analog Peripherals | 12-bit ADC (16-channel, 0.4 µs conversion), two 12-bit DACs (low-power sample-and-hold) - suitable for closed-loop motor control and sensor signal generation. |
| Communication | Two USARTs (one ISO7816/LIN/IrDA capable), one LPUART, two I2C (Fast-mode Plus), two SPI (32 Mbit/s) - enables multi-protocol wired interface in space-limited designs. |
| Power & Temp | 1.7–3.6 V supply, -40°C to +105°C operating range - certified for industrial ambient conditions without external thermal management. |
| Low-Power Modes | Sleep, Stop, Standby, Shutdown - Stop 0 current ≤1.1 µA (typ.) with RTC active, enabling >10-year battery life in metering applications. |
| Debug | Serial Wire Debug (SWD) interface - allows full JTAG-equivalent debug access using only two pins (SWCLK/SWDIO). |
Pinout & Package
TSSOP20 (6.4 × 4.4 mm) package with 20-pin surface-mount footprint, optimized for automated assembly and board-level space constraints in compact industrial modules.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Core & I/O power supply | 1.7–3.6 V main supply; decoupling required per datasheet layout guidelines to ensure stable 64 MHz operation. |
| VSS | Ground reference | Dedicated analog/digital ground return; separate VSSA/VSSD pins not present in TSSOP20 variant. |
| NRST | Active-low reset input | Externally driven reset with internal pull-up; supports programmable BOR and PVD for system-level fault recovery. |
| PA0–PA9 | General-purpose I/O | Up to 10 GPIOs mappable to EXTI, timers, ADC, USART; five are 5 V-tolerant - simplifies level-shifting in mixed-voltage systems. |
| PA13/PA14 | SWD debug interface | SWDIO and SWCLK pins - enable in-circuit debugging without dedicated JTAG header, reducing PCB footprint. |
| PA15 | JTMS/SWDIO alternate function | Shared with SWDIO; configured automatically by debug probe - no manual pin remapping needed during development. |
| VBAT | RTC backup supply | Accepts 1.65–3.6 V battery input to retain RTC calendar and 32 backup registers during main power loss. |
Key Features
| Feature | Design Value |
|---|---|
| Hardware CRC unit | Performs IEEE-754-compliant CRC-32 on memory blocks in single-cycle - accelerates firmware signature validation and OTA update integrity checks. |
| Programmable voltage detector (PVD) | Configurable trip points (2.2–2.9 V in 0.1 V steps) - triggers interrupt or reset before brownout, preventing corrupted EEPROM writes or state machine faults. |
| Low-power UART (LPUART) | Operates in Stop mode with <1.5 µA current - enables wake-on-RX for always-on sensor polling without compromising battery lifetime. |
| Temperature sensor | Calibrated ±1.5°C accuracy (–40°C to 125°C) with factory-trimmed slope/offset - eliminates external sensor in thermal monitoring applications. |
| Secure boot with ROP | Readout protection (Level 1/2) prevents flash dump via SWD; securable area isolates cryptographic keys from application code - meets IEC 62443-3-3 SL1 requirements. |
Applications
| Smart Energy Metering | Industrial Sensor Node |
|---|---|
Use Scenario: Single-phase electricity meter with pulse output, LCD display, and RS-485 communication. IC Role / Device Role / Timing Role: Main controller managing energy calculation (via ADC oversampling), tamper detection (via RTC/tampers), and isolated UART interface. Use Value: Integrated 12-bit DAC drives LCD bias voltage; dual USARTs support both local IR and remote RS-485 modems without external transceivers. |
Use Scenario: Wireless vibration sensor node with MEMS accelerometer, BLE module, and lithium-thionyl chloride battery. IC Role / Device Role / Timing Role: Signal conditioner and protocol bridge - digitizes analog sensor output, applies digital filtering, and formats data for BLE transmission. Use Value: Stop mode current ≤1.1 µA extends 10-year battery life; hardware oversampling improves ADC SNR by 12 dB for low-amplitude vibration detection. |
| Home Appliance Control | Medical Diagnostic Device |
Use Scenario: Brushless DC motor driver in HVAC blower with speed feedback and overtemperature shutdown. IC Role / Device Role / Timing Role: Real-time motor commutation controller using TIM1 advanced timer with dead-time insertion and ADC-triggered PWM. Use Value: 128 MHz-capable timer delivers 15.6 ns PWM resolution; dual DACs generate precise reference voltages for current-sense amplifier offset calibration. |
Use Scenario: Portable blood glucose meter with electrochemical test strip interface and OLED display. IC Role / Device Role / Timing Role: Analog front-end controller acquiring strip current response, applying temperature compensation, and driving display via SPI. Use Value: Internal VREFINT and temperature sensor enable auto-calibration without external references; LPUART supports firmware updates via USB-to-serial adapter. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G031F8P3TR | 32 KB Flash, 8 KB SRAM, no DAC, single USART - smaller memory and reduced analog capability. | Suitable for simpler control tasks without analog output or dual serial interfaces. | Select when cost sensitivity outweighs need for DAC or extra communication channels. |
| STM32G071F8P3TR | 128 KB Flash, 36 KB SRAM, USB 2.0 FS, additional timers and I/Os - higher integration and memory headroom. | Required for USB-connected devices or applications needing larger firmware images and complex state machines. | Choose when future firmware expansion or USB host/device functionality is planned. |
Compared with STM32G051F8P3TR, the G031 offers lower BOM cost but sacrifices DAC-based analog output and dual-protocol USART flexibility; the G071 adds USB and memory scalability at higher unit cost and power consumption in active modes.
Availability
STM32G051F8P3TR is available at Aetrix Electronics and suitable for smart energy metering, industrial sensor nodes, home appliance control, and portable medical diagnostics requiring stable component supply across long production lifecycles.
Supply support for STM32G051F8P3TR 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 specializing in microcontrollers, power management, and sensing technologies for industrial, automotive, and consumer markets.
The STM32G0 series targets cost-sensitive, ultra-low-power embedded applications demanding Arm Cortex-M0+ performance with enhanced analog integration and security features - designed specifically for next-generation IoT endpoints and industrial edge controllers.
FAQ
What is the maximum operating frequency and voltage range for STM32G051F8P3TR?
The STM32G051F8P3TR operates at up to 64 MHz across a supply voltage range of 1.7 V to 3.6 V. Its internal 16 MHz RC oscillator can be boosted via PLL to achieve full CPU speed without external crystal, though HSE support enables precise timing for communication interfaces like USART and I2C.
Does STM32G051F8P3TR support hardware encryption or secure boot features?
It includes Readout Protection (ROP) Levels 1 and 2 to prevent unauthorized flash memory access via debug interfaces, and a securable flash area for isolating sensitive code. While it lacks dedicated AES engines, its CRC unit and MPU support secure firmware validation and privilege separation for basic IEC 62443-3-3 SL1 compliance.
How many analog-to-digital converter (ADC) channels does this MCU support?
The device integrates a single 12-bit ADC with up to 16 external input channels and internal sources (temperature sensor, VREFINT, VBAT). Conversion time is 0.4 µs, and hardware oversampling extends effective resolution to 16 bits - confirmed in Section 3.14 and Table 59 of DS13303 Rev 4.
Is the TSSOP20 package RoHS-compliant and lead-free?
Yes, all STM32G051F8P3TR units shipped by STMicroelectronics comply with RoHS Directive 2011/65/EU and are lead-free. The device carries ECOPACK2 certification, indicating halogen-free materials and adherence to ST's environmental standards per datasheet Table 1 and packaging documentation.
STM32G051F8P3TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 20-TSSOP (0.173", 4.40mm Width)
- Series:
- STM32G0
- Packaging:
- Tape & Reel (TR)
- Product Status:
- Active
- Programmable:
- -
- Core Processor:
- ARM® Cortex®-M0+
- Core Size:
- 32-Bit
- Speed:
- 64MHz
- Connectivity:
- I2C, IrDA, LINbus, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 18
- Program Memory Size:
- 64KB (64K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 18K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.7V ~ 3.6V
- Data Converters:
- A/D 16x12b SAR; D/A 2x12b
- Oscillator Type:
- External, Internal
- Operating Temperature:
- -40°C ~ 125°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G051F8P3TR FAQ
1.How can I place an order for STM32G051F8P3TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G051F8P3TR 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 STM32G051F8P3TR reliable?
The price and inventory of STM32G051F8P3TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G051F8P3TR is usually 5 days.
3.What payment methods are accepted for STM32G051F8P3TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G051F8P3TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G051F8P3TR?
STM32G051F8P3TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G051F8P3TR 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 STM32G051F8P3TR?
For technical support, including STM32G051F8P3TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G051F8P3TR requirements.
6.How does Aetrix verify that STM32G051F8P3TR is sourced from the original manufacturer or authorized distributors?
All STM32G051F8P3TR 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 STM32G051F8P3TR meets industry standards.
7.What is the process for return or replacement of STM32G051F8P3TR?
All STM32G051F8P3TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32G051F8P3TR, 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 STM32G051F8P3TR part is unused and in its original packaging.
Return procedure for STM32G051F8P3TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G051F8P3TR 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…

