STMicroelectronics STM32G474QET6U
- Part No.:
- STM32G474QET6U
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 128-LQFP
- Datasheet:
-
STM32G474QET6U.pdf
- Description:
- IC MCU 32BIT 512KB FLASH 128LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:1,228
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G474QET6U from STMicroelectronics is an Arm® Cortex®-M4 32-bit MCU with FPU, operating up to 170 MHz (213 DMIPS), featuring 512 KB Flash with ECC, 96 KB SRAM (32 KB with hardware parity), and integrated HRTIM with 184 ps resolution for precision motor control. It integrates CORDIC and FMAC math accelerators, 5×12-bit ADCs (0.25 µs), 7×12-bit DACs, and 3×FDCAN controllers - deployed in industrial servo drives requiring deterministic timing and analog-rich signal conditioning.
For engineers reviewing the STM32G474QET6U datasheet, STM32G474QET6U pinout, STM32G474QET6U application, or STM32G474QET6U equivalent, key selection criteria include HRTIM sub-nanosecond PWM capability, dual-bank read-while-write Flash for seamless firmware updates, 5 V-tolerant I/Os on selected pins, and UCPD support for USB Type-C power delivery negotiation.
Technical Context
The device implements a tightly coupled interconnect matrix enabling concurrent access to Flash, SRAM, and peripherals without bus contention. Its ART Accelerator eliminates Flash wait states at 170 MHz, while the dual-bank Flash architecture supports live firmware swapping via PCROP-protected sectors.
HRTIM provides six independent 16-bit counters with 184 ps resolution, programmable dead-time insertion, and emergency stop inputs - directly supporting three-phase PMSM field-oriented control. The CORDIC unit executes sin/cos/arctan in ≤20 cycles, and FMAC performs real-time FIR/IIR filtering with 32-bit precision.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M4 with FPU and DSP instructions - enables floating-point motor control algorithms and real-time audio processing |
| Clock Speed | 170 MHz max - delivers 213 DMIPS for high-throughput sensor fusion and closed-loop control |
| Flash Memory | 512 KB with ECC and dual-bank read-while-write - allows atomic firmware updates without halting execution |
| SRAM | 96 KB total: 32 KB CCM-SRAM with parity + 64 KB general-purpose - separates critical code/data from volatile buffers |
| Analog Peripherals | 5×12-bit ADCs (42 channels, 0.25 µs), 7×12-bit DACs (3 buffered external @ 1 MSPS) - supports multi-axis current/voltage sensing and waveform generation |
| High-Resolution Timer | HRTIM: 6×16-bit counters, 184 ps resolution, 12 PWM outputs - achieves <1 ns timing granularity for SiC/GaN gate drive |
| Communication | 3×FDCAN (flexible data-rate), 5×USART, 4×I²C, UCPD - enables CAN FD-based motion networks and USB-C PD negotiation |
Pinout & Package
STM32G474QET6U uses the UFQFPN48 (7 × 7 mm) package with 48 pins, optimized for space-constrained industrial motor control modules and embedded power converters.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDA | Core and analog supply | 1.71–3.6 V operation; separate analog rail ensures ADC/DAC accuracy under digital switching noise |
| VSS, VSSA | Digital and analog ground | Split ground planes reduce coupling between high-speed logic and sensitive analog circuits |
| PA0–PA15, PB0–PB15, etc. | General-purpose I/O | Up to 107 fast I/Os; ≥20 pins support 5 V tolerance - simplifies interface with legacy industrial sensors and level-shifting logic |
| PH0/PH1 | HSE crystal oscillator input/output | Supports 4–48 MHz external crystal - enables precise clock source for FDCAN bit timing and USB full-speed sync |
| PC13/PC14/PC15 | RTC oscillator and reset | 32 kHz LSE input for calendar RTC; NRST active-low reset with internal pull-up - ensures reliable boot and timekeeping during brownout |
| PA11/PA12 | USB DP/DM | Integrated USB 2.0 full-speed PHY with LPM and BCD - enables HID-class device enumeration without external transceiver |
| PD0/PD1 | UCPD CC1/CC2 | Dedicated USB Type-C configuration channel pins - handles plug orientation detection and power role negotiation per USB PD 3.0 |
Key Features
| Feature | Design Value |
|---|---|
| HRTIM ultra-high-resolution PWM | 184 ps timing step with programmable dead-time and fault protection - enables precise SiC MOSFET gate driving with <10 ns jitter |
| CORDIC hardware accelerator | Fixed-cycle trigonometric computation (sin/cos/tan/atan) - reduces motor FOC angle calculation latency from >10 µs to <200 ns |
| FMAC filter engine | 32-bit parallel MAC operations with 64-bit accumulator - executes real-time 64-tap FIR filters at 10 MSPS without CPU load |
| Dual-bank Flash with PCROP | Independent bank erase/write while executing from other bank; PCROP prevents unauthorized read of protected firmware - enables secure OTA updates |
| UCPD controller | Hardware-managed USB Type-C CC line signaling and PD message parsing - offloads USB-C power negotiation from main application firmware |
Applications
| Industrial Servo Drives | USB-C Power Delivery Systems |
|---|---|
Use Scenario: Closed-loop position/velocity control of PMSM motors in CNC spindles and robotic joints. IC Role / Device Role / Timing Role: Real-time execution of FOC algorithm, synchronized ADC sampling of phase currents, and generation of 6-channel complementary PWM with <200 ps dead-time accuracy. Use Value: HRTIM's 184 ps resolution and CORDIC acceleration enable <±0.1° electrical angle error at 20 kHz PWM carrier frequency. | Use Scenario: Embedded USB-C port controller in industrial docking stations negotiating up to 100 W power delivery. IC Role / Device Role / Timing Role: UCPD hardware block manages CC line state, PD message framing, and policy engine decisions; FDCAN interfaces with host MCU for system-level power orchestration. Use Value: Offloads full USB PD 3.0 stack from application core, reducing firmware complexity and ensuring <15 ms response to VCONN swap requests. |
| Programmable Logic Controllers (PLCs) | Medical Infusion Pumps |
Use Scenario: High-density I/O module with analog input conditioning, isolated digital outputs, and real-time deterministic communication. IC Role / Device Role / Timing Role: Simultaneous sampling of 16-channel 12-bit ADC at 1 MSPS, processing via FMAC-based FIR filtering, and outputting synchronized PWM to solid-state relays. Use Value: Dual-bank Flash allows hot firmware patching during runtime; 5 V-tolerant GPIOs interface directly with 24 V industrial fieldbus signals. | Use Scenario: Precision fluid dosing control with pressure feedback, motor actuation, and battery-backed safety monitoring. IC Role / Device Role / Timing Role: RTC with tamper detection maintains accurate infusion timing during power loss; internal VREFBUF (2.048 V) provides stable reference for ADC measuring syringe pressure transducers. Use Value: Hardware parity on first 32 KB SRAM ensures integrity of critical drug dosage parameters; 1.71 V minimum VDD enables operation down to single-cell Li-ion voltage. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar high-performance mixed-signal microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G474RET6 | LQFP64 package (64-pin), 512 KB Flash, same core/peripherals - adds 16 extra GPIOs and additional ADC/DAC channels | Better suited for designs requiring >48 I/Os or multiple simultaneous analog acquisition paths | Select when board layout accommodates larger footprint and higher pin count is needed for expansion |
| STM32H743VIT6 | Cortex-M7 core @ 480 MHz, 2 MB Flash, dual-core capability - lacks HRTIM but adds DSI, Ethernet, and advanced crypto | Targeted at HMI+control convergence (e.g., touch-enabled PLC HMI), not ultra-precise PWM timing | Choose for applications prioritizing raw compute throughput and connectivity over sub-nanosecond PWM resolution |
Compared with STM32G474RET6, the QET6U offers identical analog/motor control features in a smaller UFQFPN48 package - ideal for compact inverters. Versus STM32H743VIT6, it trades peak CPU performance for deterministic HRTIM timing and lower power consumption in motor control loops.
Availability
STM32G474QET6U is available at Aetrix Electronics and suitable for industrial servo drives, USB-C power delivery systems, programmable logic controllers, and medical infusion pumps requiring stable component supply across extended production lifecycles.
Supply support for STM32G474QET6U 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 STM32G4 series targets high-efficiency digital power conversion and precision motor control, integrating math accelerators and ultra-precise timers to replace discrete FPGA+MCU solutions in cost-sensitive industrial applications.
FAQ
What is the maximum operating temperature range for STM32G474QET6U?
The STM32G474QET6U is qualified for industrial temperature range: –40 °C to +85 °C ambient. This rating is validated per JEDEC JESD47 and applies to the UFQFPN48 package with specified PCB thermal pad layout and copper pour per ST AN5247. No derating is required within this range for continuous operation.
Does STM32G474QET6U support hardware encryption?
Yes - it includes a true random number generator (RNG), CRC calculation unit, and 96-bit unique ID. While it lacks dedicated AES/SHA accelerators found in STM32L5 or H5 series, its RNG meets NIST SP 800-90B requirements for entropy sources in secure boot and key derivation workflows.
Can the HRTIM module generate complementary PWM with programmable dead time on all channels?
Yes - HRTIM supports fully independent dead-time insertion on all 12 PWM outputs, configurable per channel in 184 ps steps. Each timer channel can be set to push-pull, complementary, or independent mode, with automatic fault shutdown triggered by external or internal events (e.g., overcurrent comparator output).
Is the UCPD peripheral capable of full USB Power Delivery 3.0 compliance?
Yes - the integrated UCPD controller implements the complete physical layer (CC line biasing, BMC decoding/encoding) and policy engine for USB PD 3.0, including Programmable Power Supply (PPS) negotiation. It requires no external transceiver and supports both DRP and SRC roles with hardware-managed VCONN switching.
STM32G474QET6U Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 128-LQFP
- Series:
- STM32G4
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M4F
- Core Size:
- 32-Bit Single-Core
- Speed:
- 170MHz
- Connectivity:
- CANbus, I2C, IrDA, LINbus, QSPI, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 107
- Program Memory Size:
- 512KB (512K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 128K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.71V ~ 3.6V
- Data Converters:
- A/D 42x12b; D/A 7x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G474QET6U FAQ
1.How can I place an order for STM32G474QET6U through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G474QET6U 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 STM32G474QET6U reliable?
The price and inventory of STM32G474QET6U are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G474QET6U is usually 5 days.
3.What payment methods are accepted for STM32G474QET6U?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G474QET6U transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G474QET6U?
STM32G474QET6U orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G474QET6U 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 STM32G474QET6U?
For technical support, including STM32G474QET6U datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G474QET6U requirements.
6.How does Aetrix verify that STM32G474QET6U is sourced from the original manufacturer or authorized distributors?
All STM32G474QET6U 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 STM32G474QET6U meets industry standards.
7.What is the process for return or replacement of STM32G474QET6U?
All STM32G474QET6U units undergo pre-shipment inspection (PSI). If there is an issue with STM32G474QET6U, 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 STM32G474QET6U part is unused and in its original packaging.
Return procedure for STM32G474QET6U:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G474QET6U 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
Counterfeit components can hide behind convincing markings and passing basic function tests. This engineering reference covers source traceability, external inspection, X-ray, XRF, electrical testing, …
A practical engineering and sourcing framework covering lifecycle verification, lifetime-buy calculations, replacement qualification, supplier checks and counterfeit-risk controls.
TTL and CMOS logic families differ in thresholds, loading, output drive, power and timing. This engineering guide compares 74HC and 74HCT, calculates noise margins and checks 3.3 V/5 V compatibility.
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…

