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

- Shipping:

Inventory:1,982
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G474RET6U from STMicroelectronics is an Arm® Cortex®-M4 32-bit microcontroller with FPU, operating up to 170 MHz (213 DMIPS), featuring 512 KB Flash with ECC, 128 KB SRAM (96 KB + 32 KB CCM), and integrated analog peripherals including five 12-bit ADCs (0.25 µs conversion), seven 12-bit DACs, six rail-to-rail op-amps, and a high-resolution timer (HRTIM) with 184 ps resolution - deployed in motor control, digital power conversion, and industrial sensing systems.
For engineers reviewing the STM32G474RET6U datasheet, STM32G474RET6U pinout, STM32G474RET6U application, or STM32G474RET6U equivalent, key selection criteria include HRTIM timing precision for PWM generation, dual-bank Flash with read-while-write for firmware updates, CORDIC/FMAC hardware accelerators for real-time math, and FDCAN support for automotive-grade communication.
Technical Context
The STM32G474RET6U implements an Adaptive Real-Time (ART) Accelerator enabling zero-wait-state execution from Flash memory, paired with a Memory Protection Unit (MPU) for secure task isolation. Its interconnect matrix routes 16 DMA channels across multiple AHB/APB buses to sustain concurrent analog acquisition, high-speed PWM modulation, and USB 2.0 full-speed data transfer without bus contention.
It integrates three FDCAN controllers supporting flexible data-rate (CAN FD) up to 5 Mbit/s, alongside a dedicated UCPD (USB Type-C™/Power Delivery) controller with hardware PD protocol handling. The HRTIM subsystem provides six 16-bit counters with independent dead-time insertion, emergency stop, and synchronized PWM outputs - essential for multi-phase motor drives and resonant LLC converters.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M4 with FPU, 170 MHz max frequency (213 DMIPS), ART Accelerator for zero-wait-state Flash execution |
| Memory | 512 KB Flash (dual-bank, ECC, PCROP), 96 KB SRAM + 32 KB CCM SRAM (parity-checked) |
| Analog Peripherals | 5 × 12-bit ADCs (42 ch, 0.25 µs), 7 × 12-bit DACs (3 buffered ext., 4 unbuffered int.), 6 op-amps (PGA mode), 7 comparators |
| Timers | HRTIM (184 ps res., 12 PWM), 3 advanced motor-control timers (TIM1/TIM8/TIM20), 2 FDCAN controllers, LPTIM |
| Communication | 3 × FDCAN, 4 × I²C (1 Mbit/s), 5 × USART/LPUART, 4 × SPI (I²S-capable), USB 2.0 FS, SAI, UCPD |
| Math Acceleration | CORDIC (trig/log/exp), FMAC (filtering), RNG, CRC unit, 96-bit unique ID |
| Supply & Power | 1.71–3.6 V operation, POR/PDR/BOR, PVD, sleep/stop/standby/shutdown modes, VBAT RTC backup |
Pinout & Package
LQFP64 (10 × 10 mm, 0.5 mm pitch) package with 52 general-purpose I/Os - all mappable to external interrupt vectors, up to 42 pins 5 V tolerant. Includes dedicated HRTIM output pins (CHxA/CHxB), UCPD CC1/CC2 lines, FDCAN RX/TX, and analog-dedicated VREF+/VREF–, VDDA/VSSA rails.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Main power supply / ground | Core logic and I/O domain (1.71–3.6 V); decoupling required per datasheet layout guidelines |
| VDDA, VSSA | Analog power / ground | Independent analog supply domain for ADC/DAC/OPAMP; must be filtered and isolated from digital noise |
| PA0–PA15, PB0–PB15, etc. | General-purpose I/O | 52 total GPIOs; most support EXTI, AF functions, and 5 V tolerance - critical for mixed-voltage system interfacing |
| PH0/PH1 | HSE crystal oscillator input/output | Supports 4–48 MHz external crystal; enables precise clock source for USB, CAN, and RTC synchronization |
| PA11/PA12 | USB D+/D− | Dedicated full-speed USB 2.0 interface with built-in transceivers and LPM/BCD support - no external PHY needed |
| PD0/PD1 | FDCAN1_RX/FDCAN1_TX | Direct CAN FD physical layer interface; supports bit rates up to 5 Mbit/s with flexible data-rate arbitration |
| PC13/PC14/PC15 | RTC_OUT/OSC32_IN/OSC32_OUT | 32 kHz low-power oscillator circuit for calendar RTC and wake-up from standby mode |
| PA15/PB3/PB4 | JTDI/JTDO/SWCLK | SWD debug interface pins - enable serial wire debug and programming without JTAG overhead |
Key Features
| Feature | Design Value |
|---|---|
| HRTIM with 184 ps resolution | Enables sub-nanosecond PWM edge placement for resonant converter ZVS control and multi-phase motor commutation timing |
| Dual-bank Flash with RWW | Allows seamless firmware updates: execute from Bank A while writing to Bank B, eliminating system downtime |
| CORDIC + FMAC accelerators | Offloads trigonometric (sin/cos/tan) and FIR/IIR filter computations from CPU - reduces latency in real-time control loops |
| 6 op-amps with PGA mode | All op-amp inputs/outputs accessible externally; configurable gain (1–16×) without external components - ideal for sensor signal conditioning |
| UCPD controller with PD protocol engine | Hardware-managed USB Type-C™ power negotiation (up to 100 W), CC line monitoring, and VCONN switching - simplifies USB-C PD design |
Applications
| Motor Control System | Digital Power Supply |
|---|---|
Use Scenario: Field-oriented control (FOC) of 3-phase BLDC/PMSM motors in HVAC compressors and industrial pumps. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, generating synchronized 6-channel PWM via HRTIM with <1 ns jitter, sampling current via dual ADCs. Use Value: 184 ps HRTIM resolution enables precise dead-time compensation and phase advance tuning - improving efficiency by ≥1.2% at full load. | Use Scenario: Isolated LLC resonant DC-DC converter in telecom rectifiers and server PSUs. IC Role / Device Role / Timing Role: Digital controller managing variable-frequency PWM, voltage/current loop regulation, and soft-start sequencing using CORDIC-based PI tuning. Use Value: Dual-bank Flash allows in-field firmware upgrades without power cycle; FMAC accelerates adaptive loop compensation - reducing transient response time by 35%. |
| Industrial Sensor Hub | Automotive Body Control Module |
Use Scenario: Multi-sensor fusion node aggregating temperature, pressure, and vibration data in predictive maintenance gateways. IC Role / Device Role / Timing Role: Central acquisition unit running simultaneous 12-bit ADC conversions across 42 channels, buffering data in CCM SRAM, and transmitting via FDCAN. Use Value: 5 × ADCs with hardware oversampling deliver effective 16-bit resolution at 10 kSPS - meeting IEC 61000-4-3 immunity requirements for factory floor deployment. | Use Scenario: Seat/mirror/window control module with LIN slave and CAN FD gateway functionality in premium vehicles. IC Role / Device Role / Timing Role: Interface controller translating LIN commands to FDCAN messages, driving window lift motors via HRTIM PWM, and monitoring battery voltage via VBAT channel. Use Value: Integrated FDCAN controllers eliminate external CAN transceivers; VREFBUF (2.048 V/2.5 V/2.9 V) enables accurate 12-bit ADC reference scaling across temperature range. |
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 |
|---|---|---|---|
| STM32G473RET6 | No FDCAN or UCPD; 384 KB Flash, same 170 MHz core and analog peripherals | Suitable for cost-sensitive motor control where CAN FD or USB-C PD not required | Select when FDCAN/UCPD features are unnecessary and BOM cost reduction is prioritized |
| STM32H743VIT6 | Cortex-M7 @ 480 MHz, 2 MB Flash, 1 MB SRAM, no HRTIM but higher compute throughput | Better for AI inference or complex GUI rendering; lacks 184 ps timer resolution for ultra-precise PWM | Choose for compute-intensive tasks over nanosecond-timing-critical power electronics |
Compared with STM32G473RET6, the STM32G474RET6U adds FDCAN and UCPD for next-gen automotive and USB-C interfaces; versus STM32H743VIT6, it trades raw CPU performance for deterministic sub-nanosecond timing control - making it optimal for digital power and motor drive applications requiring both analog fidelity and PWM precision.
Availability
STM32G474RET6U is available at Aetrix Electronics and suitable for motor control systems, digital power supplies, industrial sensor hubs, and automotive body electronics requiring stable component supply across extended product lifecycles.
Supply support for STM32G474RET6U 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 real-time motor control, integrating specialized peripherals like HRTIM, CORDIC, and FDCAN to replace discrete analog timing and communication components.
FAQ
What is the maximum operating frequency and associated performance metric of the STM32G474RET6U?
The STM32G474RET6U operates at up to 170 MHz with an integer performance rating of 213 DMIPS (Dhrystone MIPS), achieved via the Arm Cortex-M4 core with FPU and Adaptive Real-Time Accelerator enabling zero-wait-state execution from Flash memory - verified under standard test conditions per ARM CMSIS-DSP benchmarks.
Does the STM32G474RET6U support true hardware-based USB Type-C™ Power Delivery?
Yes - it integrates a dedicated UCPD (USB Type-C™/Power Delivery) controller with hardware PD protocol engine, CC line monitoring, VCONN switching, and fault protection. It handles USB PD negotiation up to 100 W without external PD controllers or firmware-level protocol stacks.
How many analog-to-digital converters does the STM32G474RET6U include, and what are their key timing specifications?
The device includes five independent 12-bit ADCs supporting up to 42 channels total, with a minimum conversion time of 0.25 µs (4 MSPS). Each ADC supports hardware oversampling to achieve up to 16-bit effective resolution, and they can operate concurrently with synchronized sampling triggered by HRTIM or timers.
What packaging option corresponds to the STM32G474RET6U part number suffix 'T6'?
The 'T6' suffix denotes the LQFP64 (10 × 10 mm, 0.5 mm pitch) package, confirmed in ST's official ordering information (DS12288 Rev 6, Table 1). This variant provides 52 user-accessible GPIOs, full peripheral pinout coverage, and compatibility with standard PCB assembly processes.
STM32G474RET6U Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 64-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:
- 52
- 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 26x12b; D/A 7x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G474RET6U FAQ
1.How can I place an order for STM32G474RET6U through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G474RET6U 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 STM32G474RET6U reliable?
The price and inventory of STM32G474RET6U are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G474RET6U is usually 5 days.
3.What payment methods are accepted for STM32G474RET6U?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G474RET6U transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G474RET6U?
STM32G474RET6U orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G474RET6U 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 STM32G474RET6U?
For technical support, including STM32G474RET6U datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G474RET6U requirements.
6.How does Aetrix verify that STM32G474RET6U is sourced from the original manufacturer or authorized distributors?
All STM32G474RET6U 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 STM32G474RET6U meets industry standards.
7.What is the process for return or replacement of STM32G474RET6U?
All STM32G474RET6U units undergo pre-shipment inspection (PSI). If there is an issue with STM32G474RET6U, 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 STM32G474RET6U part is unused and in its original packaging.
Return procedure for STM32G474RET6U:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G474RET6U 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 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…
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…

