STMicroelectronics STM32G474CEU6
- Part No.:
- STM32G474CEU6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 48-UFQFN Exposed Pad
- Datasheet:
-
STM32G474CEU6.pdf
- Description:
- IC MCU 32BIT 512KB FLSH 48UFQFPN
- Quantity:
- Payment:

- Shipping:

Inventory:718
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G474CEU6 from STMicroelectronics is a 32-bit Arm® Cortex®-M4 microcontroller with FPU, operating up to 170 MHz (213 DMIPS), featuring 512 KB Flash with ECC, 96 KB SRAM (including 32 KB CCM with parity), and integrated HRTIM with 184 ps resolution for precision motor control. It integrates CORDIC and FMAC hardware accelerators, dual-bank read-while-write Flash, and supports USB Full-Speed, FDCAN, and UCPD for USB Type-C power delivery applications.
For engineers reviewing the STM32G474CEU6 datasheet, STM32G474CEU6 pinout, STM32G474CEU6 application, or STM32G474CEU6 equivalent, key selection criteria include HRTIM timing resolution, analog subsystem capability (5×12-bit ADCs, 7×DACs, 6×OPAMPs), low-power mode behavior, and UFQFPN48 package compatibility with high-density PCB layouts.
Technical Context
The STM32G474CEU6 implements an Adaptive Real-Time (ART) Accelerator enabling zero-wait-state execution from Flash memory, paired with a Memory Protection Unit (MPU) and dual-bank Flash architecture supporting seamless firmware updates. Its interconnect matrix routes up to 107 GPIOs-including 5 V-tolerant pins-to multiple peripherals without contention.
It features three independent FDCAN controllers compliant with ISO 11898-1:2015 (FD), a dedicated USB Type-C™/Power Delivery controller (UCPD), and a high-resolution timer (HRTIM) with six 16-bit counters, 12 PWM outputs, and 184 ps timing resolution-enabling sub-nanosecond dead-time control in digital power converters.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M4 with FPU and DSP instructions; enables real-time signal processing and floating-point math in motor control and digital power loops. |
| Max Clock Frequency | 170 MHz (213 DMIPS); delivers deterministic timing for closed-loop control at ≤1 µs cycle times. |
| Flash Memory | 512 KB with ECC and dual-bank read-while-write; allows safe over-the-air (OTA) firmware updates without halting execution. |
| SRAM | 96 KB total: 32 KB CCM SRAM (parity-checked, instruction/data bus), 64 KB general-purpose SRAM (first 32 KB parity-checked); supports robust real-time data buffering. |
| HRTIM Resolution | 184 ps timing resolution across 6 independent 16-bit counters; enables precise gate drive timing for SiC/GaN inverters with <1 ns jitter control. |
| Analog Peripherals | 5×12-bit ADCs (0.25 µs conversion, up to 42 channels), 7×12-bit DACs (3 buffered external @1 MSPS), 6×OPAMPs (PGA mode), 7×comparators; supports sensor fusion and multi-loop analog feedback. |
| Communication | 3×FDCAN FD, 4×I²C (Fast Mode Plus), 5×USART/LPUART, 4×SPI, USB FS + LPM/BCD, UCPD; enables automotive-grade diagnostics and USB-C PD negotiation. |
Pinout & Package
STM32G474CEU6 is housed in a 48-pin UFQFPN package (7 × 7 mm, 0.5 mm pitch), optimized for thermal performance and high I/O density in space-constrained industrial and power electronics designs.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDA | Core & analog supply rails | 1.71–3.6 V operation; separate analog domain ensures clean reference for ADC/DAC/OPAMP subsystems. |
| VSS, VSSA | Digital & analog ground | Independent grounding reduces noise coupling between digital switching and precision analog circuits. |
| PA0–PA15, PB0–PB15, PC0–PC15, PD2, PF0–PF1 | General-purpose I/Os | Up to 107 GPIOs; all mappable to EXTI, many 5 V tolerant-supports legacy interface level-shifting and robust industrial interfacing. |
| PH0, PH1 | HSE crystal oscillator inputs | Supports 4–48 MHz external crystal; enables precise clock source for USB, CAN, and RTC synchronization. |
| NRST | Active-low reset input | Asynchronous reset with internal pull-up; compatible with external supervisory ICs for system-level fault recovery. |
| BOOT0 | Boot mode selection | Configures boot source (system memory, Flash, or SRAM); essential for bootloader implementation and field firmware recovery. |
| PA11/PA12 | USB D+/D− | Dedicated full-speed USB 2.0 transceivers with built-in termination; eliminates need for external PHY in cost-sensitive USB device designs. |
| PD0/PD1 | FDCAN1 TX/RX | Differential CAN FD physical layer interface; supports data rates up to 5 Mbit/s for high-bandwidth vehicle network communication. |
Key Features
| Feature | Design Value |
|---|---|
| CORDIC accelerator | Hardware trigonometric computation (sin/cos/tan/atan) in ≤10 cycles-reduces CPU load in motor FOC and digital PLL algorithms. |
| FMAC filter engine | Programmable 32-bit MAC unit with 128-word coefficient RAM; accelerates FIR/IIR filtering for real-time current/voltage harmonics analysis. |
| HRTIM advanced waveform builder | 6-channel complementary PWM generation with programmable dead time, fault protection, and synchronous update-ideal for 3-phase inverter gate drivers. |
| UCPD controller | Integrated USB Type-C™ Power Delivery protocol engine with CC logic, VCONN switch, and PD message handling-eliminates external PD controller IC. |
| VREFBUF | Internal voltage reference buffer with selectable 2.048 V / 2.5 V / 2.9 V outputs; provides stable, low-noise reference for ADC, DAC, and comparator circuits. |
Applications
| Industrial Motor Drives | Digital Power Supplies |
|---|---|
Use Scenario: Field-oriented control (FOC) of PMSM/BLDC motors in HVAC compressors and servo drives. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, generating 6-channel PWM via HRTIM, sampling current/voltage with synchronized ADC triggers. Use Value: 184 ps HRTIM resolution enables <1 ns dead-time accuracy, minimizing shoot-through risk in SiC-based inverters while maintaining >98% efficiency. | Use Scenario: Isolated AC-DC and DC-DC power supplies with adaptive voltage regulation and digital loop compensation. IC Role / Device Role / Timing Role: Digital power controller managing PWM generation, voltage/current sensing, thermal monitoring, and PMBus communication. Use Value: Integrated CORDIC and FMAC accelerate real-time PID and predictive control loops, reducing external component count and improving transient response by >30%. |
| USB-C Power Delivery Systems | Automotive Body Electronics |
Use Scenario: USB-C wall adapters and portable chargers negotiating power contracts up to 100 W. IC Role / Device Role / Timing Role: UCPD controller managing CC line signaling, PD messaging, VBUS control, and fault protection per USB PD 3.0 spec. Use Value: On-chip UCPD eliminates need for discrete PD controller, reducing BOM cost by $0.35 and board area by 25 mm² versus dual-IC solutions. | Use Scenario: Smart junction boxes, lighting modules, and seat control units requiring CAN FD diagnostics and local actuator control. IC Role / Device Role / Timing Role: Central node handling FDCAN communication, LIN/UART gateway functions, and PWM-driven LED dimming or relay control. Use Value: Triple FDCAN controllers support concurrent high-speed diagnostics (5 Mbit/s), firmware updates, and functional safety messaging-meeting ASAM MCD-2 MC requirements. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G473CEU6 | Omits UCPD controller and one FDCAN channel; identical core, memory, and analog peripherals. | Not suitable for USB-C PD systems; acceptable for motor control and digital power where UCPD/FDCAN3 are unused. | Select when USB-C PD functionality is unnecessary and cost optimization is prioritized. |
| STM32G484CEU6 | Adds cryptographic acceleration (AES-128/256, PKA, RNG), tamper detection, and secure firmware install (SFU); same peripheral set otherwise. | Required for applications needing secure boot, firmware authenticity verification, or regulatory compliance (IEC 62443, UL 60730). | Select when end-product security certification or OTA firmware integrity validation is mandatory. |
Compared with STM32G473CEU6, the STM32G474CEU6 adds UCPD and third FDCAN for USB-C PD and automotive diagnostics; compared with STM32G484CEU6, it omits crypto engines and tamper features-making it optimal for cost-sensitive, high-performance control without security mandates.
Availability
STM32G474CEU6 is available at Aetrix Electronics and suitable for industrial motor drives, digital power supplies, USB-C power delivery systems, and automotive body electronics requiring stable component supply and long-term manufacturing continuity.
Supply support for STM32G474CEU6 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-performance, resource-rich embedded control applications-specifically digital power conversion, motor control, and USB-C PD-by integrating math accelerators, ultra-precise timers, and mixed-signal peripherals on a single die.
FAQ
What is the maximum operating temperature range for STM32G474CEU6?
The STM32G474CEU6 is qualified for industrial temperature range: –40 °C to +85 °C ambient. Its thermal resistance (θJA) is 41.5 °C/W in the UFQFPN48 package, enabling reliable operation in enclosed enclosures with natural convection cooling up to 70 °C ambient without forced airflow.
Does STM32G474CEU6 support hardware encryption?
No, STM32G474CEU6 does not integrate AES, PKA, or hash accelerators. Those features are present only in the STM32G484xx and STM32G491xx variants. This part relies on software-based cryptography libraries if encryption is required, with no dedicated hardware acceleration.
Can the HRTIM module generate complementary PWM signals with programmable dead time?
Yes. The HRTIM includes dedicated dead-time insertion units per output channel, supporting programmable dead times from 0 to 255 × HRTIM clock period (184 ps resolution). It also provides fault protection inputs (EVDx) that can force immediate shutdown of PWM outputs during overcurrent or overtemperature events.
Is the UFQFPN48 package RoHS-compliant and lead-free?
Yes. The STM32G474CEU6 in UFQFPN48 packaging meets RoHS Directive 2011/65/EU and is lead-free (Pb-free), with matte tin (Sn) termination finish. Its moisture sensitivity level (MSL) is 3 per J-STD-020, requiring bake conditioning if exposed to ambient >30 °C/60% RH for >168 hours before reflow.
STM32G474CEU6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 48-UFQFN Exposed Pad
- 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:
- 38
- 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 20x12b; D/A 7x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G474CEU6 FAQ
1.How can I place an order for STM32G474CEU6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G474CEU6 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 STM32G474CEU6 reliable?
The price and inventory of STM32G474CEU6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G474CEU6 is usually 5 days.
3.What payment methods are accepted for STM32G474CEU6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G474CEU6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G474CEU6?
STM32G474CEU6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G474CEU6 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 STM32G474CEU6?
For technical support, including STM32G474CEU6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G474CEU6 requirements.
6.How does Aetrix verify that STM32G474CEU6 is sourced from the original manufacturer or authorized distributors?
All STM32G474CEU6 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 STM32G474CEU6 meets industry standards.
7.What is the process for return or replacement of STM32G474CEU6?
All STM32G474CEU6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G474CEU6, 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 STM32G474CEU6 part is unused and in its original packaging.
Return procedure for STM32G474CEU6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G474CEU6 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…
