Send an Inquiry

To receive a quote for your project, please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Part Number*
Quantity*
Message
Submit Inventory List

Please fill in the following information, and we’ll get back to you promptly.

Name*
Company*
Email Address*
Phone/WhatsApp
Upload My List
Message

STMicroelectronics STM32F038G6U6TR

Part No.:
STM32F038G6U6TR
Manufacturer:
STMicroelectronics
Category:
Microcontrollers
Package:
28-UFQFN
Datasheet:
AetrixSTM32F038G6U6TR.pdf
Description:
IC MCU 32BIT 32KB FLASH 28UFQFPN
Quantity:
Payment:
Payment
Shipping:
Shipping

Inventory:3,278

Please send an inquiry. Send us your inquiry, and we will respond immediately.

Part Number
Quantity*
Price
Name*
Company
Email*
Comments

Product details

Overview

STM32F038G6U6TR from STMicroelectronics is an ARM® Cortex®-M0 32-bit microcontroller with 32 KB Flash, 4 KB SRAM (HW parity), and integrated peripherals including a 12-bit ADC (1.0 µs conversion), 9 timers (including advanced-control TIM1 with deadtime and emergency stop), and communication interfaces (I²C Fast Mode Plus, USART with IrDA/LIN/ISO7816, SPI up to 18 Mbit/s). It operates at up to 48 MHz and supports industrial temperature range (–40 to +105°C) with 1.8 V ±8% digital supply.

For engineers reviewing the STM32F038G6U6TR datasheet, STM32F038G6U6TR pinout, STM32F038G6U6TR application, or STM32F038G6U6TR equivalent, key selection criteria include its UFQFPN32 package footprint, 5 V-tolerant I/O capability on up to 25 pins, RTC with alarm/wakeup from Stop mode, SWD debug interface, and suitability for cost-sensitive motor control, power conversion, and industrial sensor node designs requiring low-voltage operation and high peripheral integration.

Technical Context

The device implements a single-cycle ARM Cortex-M0 core with Thumb-2 instruction set, supporting deterministic real-time execution. Its clock system integrates multiple oscillators: 4–32 MHz HSE crystal, 32 kHz LSE for RTC, 8 MHz HSI with PLL (×6), and 40 kHz LSI - enabling flexible low-power and high-accuracy timing configurations.

Peripheral architecture features tightly coupled DMA (5 channels), nested vectored interrupt controller (NVIC), and dedicated hardware blocks for PWM generation (TIM1 with complementary outputs and programmable deadtime), analog signal acquisition (ADC with VREFINT and temperature sensor), and robust serial communication (I²C with SMBus/PMBus support and wakeup, USART with auto-baud detection and modem control).

Key Specifications

ParameterValue and Actual Design Meaning
CPU CoreARM Cortex-M0, 32-bit, up to 48 MHz - enables deterministic real-time control with low gate count and energy efficiency.
Memory32 KB Flash (512-byte pages), 4 KB SRAM with hardware parity - supports firmware updates and safety-critical data integrity.
ADC1 × 12-bit, 1.0 µs conversion time, 10-channel multiplexed - suitable for fast sampling of analog sensors or current feedback in motor drives.
Timers9 timers: 1 × 16-bit advanced-control (TIM1), 4 × general-purpose 16-bit, 1 × 32-bit, plus watchdogs - provides multi-channel PWM, IR modulation, input capture, and precise timing for industrial automation.
I/O VoltageDigital I/Os: 1.8 V ±8% (VDD); up to 25 pins 5 V tolerant - allows direct interfacing with legacy 5 V logic without level shifters.
Operating Temp–40°C to +105°C - qualified for extended industrial environments including motor drives and power supplies.
Debug InterfaceSerial Wire Debug (SWD) - enables non-intrusive real-time debugging and flash programming via 2-pin interface.

Pinout & Package

STM32F038G6U6TR uses the UFQFPN32 (5 × 5 mm, 0.5 mm pitch) package with 32 leads. This compact, leadless package supports automated assembly and offers thermal performance suitable for space-constrained industrial modules.

Pin/TerminalCircuit RoleDesign Meaning
VDD, VDDA, VSS, VSSAPower and ground railsSeparate digital (VDD/VSS) and analog (VDDA/VSSA) domains ensure noise isolation for ADC and RTC accuracy.
PA0–PA15, PB0–PB11General-purpose I/Os38 total GPIOs; up to 25 support 5 V tolerance - simplifies mixed-voltage system integration.
NRSTActive-low reset inputAsynchronous reset with internal pull-up; compatible with external push-button or supervisor ICs.
BOOT0Boot mode selectionConfigures boot source (system memory, main Flash, or SRAM) at power-on - essential for bootloader deployment.
SYSCLK, SWCLK, SWDIODebug and clock signalsSWD interface uses dedicated pins for minimal footprint debug access without consuming GPIO resources.
OSC_IN / OSC_OUTHSE crystal oscillator terminalsSupports 4–32 MHz external crystal for precise clocking in timing-critical applications like motor commutation.
LSE_IN / LSE_OUTLSE crystal oscillator terminalsConnects 32.768 kHz crystal for accurate RTC timekeeping and low-power periodic wakeups.

Key Features

FeatureDesign Value
Advanced-control timer (TIM1)6-channel complementary PWM output with programmable deadtime and emergency stop - enables safe driving of half/full-bridge power stages.
5 V-tolerant I/Os25 pins support 5 V inputs while powered from 1.8 V - eliminates need for external level translators in mixed-voltage systems.
I²C Fast Mode Plus1 Mbit/s with extra current sink - ensures reliable communication with standard I²C peripherals under noisy industrial conditions.
RTC with calibrationCalendar RTC with alarm, periodic wakeup from Stop mode, and 32 kHz oscillator trimming - delivers accurate timekeeping with ultra-low power consumption (<1 µA in VBAT mode).
Hardware CRC unitDedicated CRC-32 calculation engine - accelerates firmware integrity checks and secure boot verification without CPU overhead.

Applications

Motor ControlIndustrial Sensor Node

Use Scenario: Brushless DC (BLDC) motor commutation in HVAC blowers or small pumps.

IC Role / Device Role / Timing Role: Real-time PWM generation (TIM1), current sensing (ADC), and position feedback decoding (USART/IrDA or timer input capture).

Use Value: Integrated deadtime control and 5 V-tolerant GPIOs simplify gate driver interface and reduce BOM count versus discrete MCU + driver solutions.

Use Scenario: Battery-powered environmental monitoring node with temperature, humidity, and pressure sensors.

IC Role / Device Role / Timing Role: Low-power sensor data acquisition (ADC), RTC-triggered periodic wakeups, and wireless module control (I²C/USART).

Use Value: Sub-µA Stop mode current and calibrated RTC enable >1-year battery life with scheduled sensor reads and transmission bursts.

Power ConversionSmart Actuator Interface

Use Scenario: Digital control loop in isolated DC-DC converters or LED drivers.

IC Role / Device Role / Timing Role: High-resolution PWM (TIM1), voltage/current feedback sampling (ADC), and fault protection (emergency stop input).

Use Value: 48 MHz CPU and 1.0 µs ADC allow tight control loops (<10 µs update rate) for dynamic load regulation and overcurrent response.

Use Scenario: Position/force feedback interface in industrial linear actuators with Hall sensors and PWM-controlled solenoids.

IC Role / Device Role / Timing Role: Quadrature encoder input (TIM2/TIM3), analog sensor conditioning (ADC), and synchronized actuator drive (TIM1 PWM + deadtime).

Use Value: Hardware timer quadrature decoding and complementary PWM eliminate software overhead, improving real-time responsiveness and jitter reduction.

Equivalent & Alternatives

The following parts are listed as comparable options for similar microcontroller applications.

Alternative PartTechnical DifferenceApplication DifferenceSelection Advice
STM32F030F4P616 KB Flash, 4 KB SRAM, no advanced-control timer, TSSOP20 package (20-pin), no 5 V-tolerant I/OsTargeted at simpler, lower-cost control tasks without complex PWM or mixed-voltage interfacingSelect when full TIM1 functionality and 5 V tolerance are unnecessary and PCB space is constrained by TSSOP20 footprint.
STM32F070F6P632 KB Flash, 6 KB SRAM, includes USB 2.0 FS device interface, same UFQFPN32 package, no 5 V-tolerant I/OsDesigned for USB-connected peripherals where host enumeration and firmware updates via USB are requiredChoose when USB connectivity is mandatory and 5 V I/O tolerance is not needed; note absence of TIM1 deadtime and emergency stop features.

Compared with STM32F038G6U6TR, the STM32F030F4P6 lacks critical motor control features and voltage flexibility, while the STM32F070F6P6 trades 5 V tolerance and advanced PWM safety for USB capability - making the STM32F038G6U6TR uniquely suited for robust, isolated, mixed-voltage industrial control where reliability and peripheral integration outweigh connectivity needs.

Availability

STM32F038G6U6TR is available at Aetrix Electronics and suitable for motor control, industrial sensor nodes, and power conversion applications requiring stable component supply, extended temperature operation, and long-term industrial lifecycle support.

Supply support for STM32F038G6U6TR 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 STM32F0 series targets cost-sensitive, resource-constrained embedded applications demanding high integration, low power, and industrial-grade reliability - with the F038 variant optimized for motor control and analog-intensive systems.

FAQ

What is the maximum operating frequency and core type of the STM32F038G6U6TR?

The STM32F038G6U6TR features an ARM Cortex-M0 32-bit RISC core running at up to 48 MHz. It achieves this frequency using its internal 8 MHz HSI oscillator with ×6 PLL multiplication or an external 4–32 MHz crystal. The core supports Thumb-2 instructions and delivers 45.4 DMIPS (Dhrystone 2.1) performance, validated across the full –40°C to +105°C temperature range and 1.8 V ±8% supply.

Does the STM32F038G6U6TR support 5 V-tolerant I/Os, and how many pins have this capability?

Yes, the STM32F038G6U6TR supports 5 V-tolerant I/Os on up to 25 pins (specifically PA0–PA15, PB0–PB11 excluding PB12–PB15). This capability is hardware-enforced and does not require external components. Tolerance is guaranteed under all operating conditions per ST's electrical characteristics table (Section 6.3.13), enabling direct connection to 5 V logic, sensors, or transceivers without level-shifting circuitry.

What debug interface does the STM32F038G6U6TR provide, and what pins are required?

The STM32F038G6U6TR provides Serial Wire Debug (SWD), a 2-pin ARM-standard interface using SWCLK (PA14) and SWDIO (PA13). No reset pin is required for basic debug operations, though NRST can be used for hard reset during programming. SWD supports full JTAG-equivalent functionality - including breakpoints, watchpoints, memory inspection, and flash programming - with minimal PCB routing impact compared to traditional JTAG.

How is the real-time clock (RTC) powered and calibrated in the STM32F038G6U6TR?

The RTC is powered by the VBAT pin and retains time/date, alarm, and backup registers during main power loss. It uses an external 32.768 kHz crystal (LSE) for high-accuracy timekeeping, with built-in digital calibration (±208 ppm resolution) adjustable via the RTC_CALIBR register. Calibration values are factory-trimmed and stored in system memory, enabling sub-second drift correction over temperature and aging - critical for metering and logging applications requiring timestamp integrity.

STM32F038G6U6TR Specifications

Product attributes
Attribute value
Manufacturer:
STMicroelectronics
Package/Case:
28-UFQFN
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:
22
Program Memory Size:
32KB (32K x 8)
Program Memory Type:
FLASH
EEPROM Size:
-
RAM Size:
4K x 8
Voltage - Supply (Vcc/Vdd):
1.65V ~ 1.95V, 1.65V ~ 3.6V
Data Converters:
A/D 12x12b
Oscillator Type:
Internal
Operating Temperature:
-40°C ~ 85°C (TA)
Grade:
-
Qualification:
-
Mounting Type:
Surface Mount
Supplier Device Package:

STM32F038G6U6TR FAQ

1.How can I place an order for STM32F038G6U6TR through Aetrix?

Please submit a Request for Quotation (RFQ) for STM32F038G6U6TR 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 STM32F038G6U6TR reliable?

The price and inventory of STM32F038G6U6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F038G6U6TR is usually 5 days.

3.What payment methods are accepted for STM32F038G6U6TR?

We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F038G6U6TR transactions.

Note: Certain payment methods may incur a processing fee.

4.How is shipping managed for STM32F038G6U6TR?

STM32F038G6U6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.

Once your STM32F038G6U6TR 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 STM32F038G6U6TR?

For technical support, including STM32F038G6U6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F038G6U6TR requirements.

6.How does Aetrix verify that STM32F038G6U6TR is sourced from the original manufacturer or authorized distributors?

All STM32F038G6U6TR 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 STM32F038G6U6TR meets industry standards.

7.What is the process for return or replacement of STM32F038G6U6TR?

All STM32F038G6U6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32F038G6U6TR, 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 STM32F038G6U6TR part is unused and in its original packaging.

Return procedure for STM32F038G6U6TR:

1.Submit a request within 90 days.

2.Obtain a Return Material Authorization (RMA) from Aetrix.

STM32F038G6U6TR Tags

  • STM32F038G6U6TR
  • STM32F038G6U6TR PDF
  • STM32F038G6U6TR Datasheet
  • STM32F038G6U6TR Specifications
  • STM32F038G6U6TR Images
  • STMicroelectronics
  • STMicroelectronics STM32F038G6U6TR
  • Buy STM32F038G6U6TR
  • STM32F038G6U6TR Price
  • STM32F038G6U6TR Distributor
  • STM32F038G6U6TR Supplier
  • STM32F038G6U6TR Wholesale
Related Products
ATTINY4-TSHR
ATTINY4-TSHR

Microchip Technology

ATTINY10-TSHR
ATTINY10-TSHR

Microchip Technology

ATTINY10-TS8R
ATTINY10-TS8R

Microchip Technology

ATTINY202-SSNR
ATTINY202-SSNR

Microchip Technology

ATTINY202-SSFR
ATTINY202-SSFR

Microchip Technology

ATTINY402-SSNR
ATTINY402-SSNR

Microchip Technology

PIC16F15213T-I/MF
PIC16F15213T-I/MF

Microchip Technology

PIC16F15213-E/MF
PIC16F15213-E/MF

Microchip Technology

PIC10F200T-I/OT
PIC10F200T-I/OT

Microchip Technology

ATTINY412-SSNR
ATTINY412-SSNR

Microchip Technology

PIC10F202T-I/OT
PIC10F202T-I/OT

Microchip Technology

ATTINY404-SSNR
ATTINY404-SSNR

Microchip Technology

Tech Hub

Search

Search

PRODUCT

PRODUCT

PHONE

PHONE

USER

USER