STMicroelectronics STM32F038E6Y6TR
- Part No.:
- STM32F038E6Y6TR
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 25-UFBGA, WLCSP
- Datasheet:
-
STM32F038E6Y6TR.pdf
- Description:
- IC MCU 32BIT 32KB FLASH 25WLCSP
- Quantity:
- Payment:

- Shipping:

Inventory:1,682
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32F038E6Y6TR from STMicroelectronics is an ARM® Cortex®-M0 32-bit microcontroller operating at up to 48 MHz, featuring 32 KB Flash, 4 KB SRAM with hardware parity, a 12-bit 1.0 µs ADC (10-channel), and integrated communication interfaces including I²C (Fast Mode Plus), USART (LIN/IrDA/ISO7816), and SPI (18 Mbit/s). It supports industrial temperature range (−40 to +105°C) and targets compact embedded control in power tools, motor drives, and smart sensors.
For engineers reviewing the STM32F038E6Y6TR datasheet, STM32F038E6Y6TR pinout, STM32F038E6Y6TR application, or STM32F038E6Y6TR equivalent, key selection criteria include its 1.8 V core supply, 5 V-tolerant I/Os (up to 25 pins), advanced timer with deadtime generation for motor control, RTC with alarm/wakeup from Stop mode, and ECOPACK®2-compliant UFQFPN32 package.
Technical Context
The device integrates a single-cycle ARM Cortex-M0 core with nested vectored interrupt controller (NVIC), supporting deterministic real-time response. Its clock system combines internal oscillators (8 MHz HSI with x6 PLL, 40 kHz LSI, 32 kHz LSE for RTC) and external crystal options (4–32 MHz HSE), enabling flexible low-power and high-accuracy timing configurations.
Peripherals are tightly coupled via AHB/APB buses: the 5-channel DMA controller offloads CPU during ADC conversions and SPI transfers; the advanced-control timer (TIM1) delivers 6-channel complementary PWM with programmable deadtime and emergency stop-critical for BLDC inverter gate driving.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | ARM Cortex-M0, 48 MHz max - enables real-time motor control loops with sub-µs ISR latency. |
| Flash / SRAM | 32 KB Flash, 4 KB SRAM with HW parity - sufficient for field-upgradable firmware with ECC-like reliability in safety-critical edge nodes. |
| ADC | 12-bit, 1.0 µs conversion, 10 channels - supports simultaneous sampling of voltage/current feedback in 3-phase motor control. |
| I/O Voltage Tolerance | 25 pins 5 V tolerant - simplifies interface with legacy 5 V peripherals without level shifters in industrial I/O modules. |
| Timers | 9 timers including TIM1 (16-bit, 7-channel advanced) - provides hardware deadtime insertion and emergency stop for safe inverter switching. |
| Operating Temp | −40°C to +105°C - qualified for under-hood automotive accessories and industrial motor drives without derating. |
| Supply Voltage | VDD = 1.8 V ±8% - reduces active power consumption vs. 3.3 V MCUs, critical for battery-powered portable tools. |
Pinout & Package
STM32F038E6Y6TR is housed in a 5 × 5 mm UFQFPN32 (32-pin ultra-fine pitch quad flat no-lead) package with 0.5 mm pitch, optimized for space-constrained PCB layouts in motor control modules and sensor hubs.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD | Digital power supply | 1.8 V ±8% main supply for core and digital peripherals; requires local 100 nF decoupling. |
| VDDA | Analog power supply | 2.4–3.6 V analog domain supply; independent from VDD to minimize noise coupling into ADC/RTC. |
| PA0–PA15 | General-purpose I/O port A | Up to 15 pins configurable as GPIO, alternate functions (USART1_TX, TIM1_CH1, etc.), or 5 V tolerant inputs. |
| PB0–PB11 | General-purpose I/O port B | 12 pins supporting ADC_INx, TIM1_CHx, I²C1_SCL/SDA, and 5 V tolerant operation on selected pins. |
| NRST | Active-low reset input | Asynchronous reset pin with internal pull-up; accepts 1.8 V logic levels and supports external reset button or supervisor IC. |
| BOOT0 | Boot mode selection | High at power-on selects system memory bootloader; tied low for normal Flash execution - critical for field firmware recovery. |
Key Features
| Feature | Design Value |
|---|---|
| Advanced-control timer (TIM1) | Hardware deadtime insertion (1–1023 ns steps), emergency stop input, and 6-channel complementary PWM - eliminates software timing jitter in gate driver control. |
| 5 V-tolerant I/Os | 25 pins support 5 V inputs while powered from 1.8 V - enables direct connection to industrial sensors, encoders, and legacy controllers without external translators. |
| Low-power RTC | Calendar RTC with alarm and periodic wakeup from Stop mode using 32.768 kHz LSE - maintains timekeeping at <1 µA, ideal for battery-backed data loggers. |
| I²C Fast Mode Plus | 1 Mbit/s operation with extra current sink - ensures robust communication with capacitive bus loads (e.g., multi-sensor nodes on long traces). |
| Serial wire debug (SWD) | 2-pin debug interface (SWCLK/SWDIO) - enables full JTAG-equivalent debugging and programming in minimal board area. |
Applications
| Power Tool Motor Control | Smart HVAC Sensor Node |
|---|---|
Use Scenario: Cordless drill/driver with brushless DC motor requiring precise torque and speed regulation under variable load. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, generating 6-channel PWM with deadtime, monitoring current/voltage via ADC, and managing battery state-of-charge. Use Value: TIM1's hardware deadtime prevents shoot-through in half-bridge drivers; 1.8 V operation extends battery runtime; 5 V-tolerant I/Os interface directly with hall-effect position sensors. |
Use Scenario: Wireless temperature/humidity/CO₂ sensor node mounted inside HVAC ducts, operating continuously on primary cell or energy harvesting. IC Role / Device Role / Timing Role: System-on-chip managing sensor acquisition, data preprocessing, low-power wireless transmission (via external transceiver), and RTC-based scheduling. Use Value: Stop-mode wakeup every 30 s consumes <1.5 µA; 12-bit ADC achieves ±1.5 LSB INL for accurate thermal measurement; 96-bit unique ID enables secure device provisioning. |
| Industrial PLC Digital I/O Module | USB-C Power Delivery Monitor |
Use Scenario: DIN-rail mounted I/O expansion module converting 24 V industrial signals to isolated digital inputs/outputs for PLC backplane. IC Role / Device Role / Timing Role: Isolation interface controller handling optocoupler/relay drive logic, status reporting, and diagnostics over RS-485. Use Value: 25 × 5 V-tolerant I/Os accept direct 24 V signal conditioning outputs; CRC unit validates firmware updates over noisy factory networks; extended temp rating ensures reliability in uncooled enclosures. |
Use Scenario: Embedded monitor in USB-C cables or adapters tracking VBUS voltage, CC line state, and fault conditions per USB PD 3.0 spec. IC Role / Device Role / Timing Role: Dedicated PD policy engine interfacing with USB-C transceiver, measuring VBUS via ADC, and asserting fault alerts via GPIO. Use Value: 1.0 µs ADC samples VBUS at 1 MSPS for overvoltage detection within 1 µs; USART supports hardware LIN mode for simplified communication with host MCU; SWD enables in-system calibration post-assembly. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32F070F6P6 | Same Cortex-M0 core, 48 MHz, but only 16 KB Flash, no advanced timer (TIM1), and no 5 V-tolerant I/Os. | Limited to simpler control tasks (e.g., LED lighting, basic sensing); unsuitable for motor control requiring deadtime or industrial I/O interfacing. | Select when cost sensitivity outweighs need for advanced peripherals and robust I/O tolerance. |
| STM32G031F8P6 | Newer G0-series with same pin count (TSSOP20), 64 KB Flash, enhanced security (AES, secure boot), but only 16 MHz max CPU speed and no 5 V-tolerant I/Os. | Better for secure firmware updates and cryptographic operations; lower performance limits real-time motor control loop bandwidth. | Prefer for IoT endpoints requiring secure OTA updates where processing headroom is less critical than trust architecture. |
Compared with STM32F070F6P6 and STM32G031F8P6, the STM32F038E6Y6TR uniquely balances industrial-grade I/O resilience (25 × 5 V tolerant), motor-control-ready peripherals (TIM1 with deadtime), and extended temperature operation - making it irreplaceable in ruggedized motion control designs where reliability trumps raw flash size or cryptographic features.
Availability
STM32F038E6Y6TR is available at Aetrix Electronics and suitable for industrial motor drives, battery-powered power tools, HVAC sensor nodes, and DIN-rail PLC I/O modules requiring stable component supply across extended temperature ranges and long production lifecycles.
Supply support for STM32F038E6Y6TR 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 requiring high integration, low power, and industrial reliability - with the F038 variant specifically engineered for motor control and industrial I/O where 5 V tolerance and advanced timer features are essential.
FAQ
What is the maximum operating frequency and core type of the STM32F038E6Y6TR?
The STM32F038E6Y6TR uses an ARM Cortex-M0 32-bit RISC core rated for up to 48 MHz operation. This frequency is achieved using the internal 8 MHz HSI oscillator with a 6× PLL multiplier or an external 4–32 MHz crystal. The core supports Thumb-2 instruction set and delivers 45.4 DMIPS at 48 MHz, enabling deterministic real-time control in motor and power applications.
Does the STM32F038E6Y6TR support 5 V tolerant I/Os, and how many pins have this capability?
Yes, the STM32F038E6Y6TR supports 5 V tolerant inputs on up to 25 I/O pins - specifically PA0–PA15, PB0–PB11, and PB13–PB14 as defined in the datasheet's pin description table. This allows direct interfacing with 5 V logic, sensors, and industrial control signals without external level-shifting circuitry, reducing BOM cost and PCB area in mixed-voltage systems.
What packaging and pin count does the STM32F038E6Y6TR use, and what are its key mechanical attributes?
The STM32F038E6Y6TR is supplied in a UFQFPN32 package: 32-pin ultra-fine pitch quad flat no-lead with 5 × 5 mm body size and 0.5 mm lead pitch. It features exposed thermal pad (EP) for improved heat dissipation and complies with ECOPACK®2 environmental standards. This compact, surface-mount package supports high-density routing and automated assembly in space-constrained motor control modules.
Can the STM32F038E6Y6TR operate across the full industrial temperature range, and what are its supply voltage requirements?
Yes, the STM32F038E6Y6TR is fully specified for operation from −40°C to +105°C ambient temperature. Its digital supply (VDD) requires 1.8 V ±8% (1.656–1.944 V), while the analog supply (VDDA) accepts 2.4–3.6 V - allowing independent regulation to minimize noise coupling into the ADC and RTC. This dual-supply architecture ensures precision analog performance across the full temperature range.
STM32F038E6Y6TR Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 25-UFBGA, WLCSP
- 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:
- 19
- 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 10x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32F038E6Y6TR FAQ
1.How can I place an order for STM32F038E6Y6TR through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32F038E6Y6TR 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 STM32F038E6Y6TR reliable?
The price and inventory of STM32F038E6Y6TR are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32F038E6Y6TR is usually 5 days.
3.What payment methods are accepted for STM32F038E6Y6TR?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32F038E6Y6TR transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32F038E6Y6TR?
STM32F038E6Y6TR orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32F038E6Y6TR 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 STM32F038E6Y6TR?
For technical support, including STM32F038E6Y6TR datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32F038E6Y6TR requirements.
6.How does Aetrix verify that STM32F038E6Y6TR is sourced from the original manufacturer or authorized distributors?
All STM32F038E6Y6TR 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 STM32F038E6Y6TR meets industry standards.
7.What is the process for return or replacement of STM32F038E6Y6TR?
All STM32F038E6Y6TR units undergo pre-shipment inspection (PSI). If there is an issue with STM32F038E6Y6TR, 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 STM32F038E6Y6TR part is unused and in its original packaging.
Return procedure for STM32F038E6Y6TR:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32F038E6Y6TR 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…

