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

- Shipping:

Inventory:2,604
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G474RET6 from STMicroelectronics is a 32-bit Arm® Cortex®-M4 microcontroller with FPU, operating at up to 170 MHz (213 DMIPS), featuring 512 KB Flash with ECC, 96 KB SRAM (including 32 KB CCM with parity), 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 184 ps resolution HRTIM - deployed in motor control, digital power conversion, and industrial sensing systems.
For engineers reviewing the STM32G474RET6 datasheet, STM32G474RET6 pinout, STM32G474RET6 application, or STM32G474RET6 equivalent, this page delivers verified technical context, package-specific pin mapping, real-world use cases, and validated alternative options for high-precision timing, analog signal processing, and FDCAN-based embedded control designs.
Technical Context
The STM32G474RET6 implements an Adaptive Real-Time (ART) Accelerator enabling zero-wait-state execution from Flash memory, alongside dual-bank read-while-write capability and proprietary code readout protection (PCROP). Its interconnect matrix supports concurrent access to Flash, SRAM, and peripherals without bus contention.
It integrates dedicated hardware accelerators: CORDIC for trigonometric computation and FMAC for digital filter operations - both accessible via DMA and tightly coupled to the Cortex-M4 core. The HRTIM provides 184 ps timing resolution across six 16-bit counters with synchronized PWM outputs and dead-time insertion for three-phase motor drives.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| Core | Arm Cortex-M4 with FPU, 170 MHz max frequency (213 DMIPS), MPU, DSP instructions |
| Memory | 512 KB Flash (ECC, dual-bank RWW), 96 KB SRAM (32 KB CCM + parity, 64 KB general) |
| 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) |
| Timers | HRTIM (184 ps res., 12 PWM), 3 × advanced motor timers (8 PWM + dead time), 2 × FDCAN controllers |
| Package | LQFP64 (10 × 10 mm, 0.5 mm pitch), 64-pin, RoHS-compliant, industrial temperature range (–40°C to +85°C) |
| Supply & Power | VDD/VDDA: 1.71–3.6 V; low-power modes include Stop, Standby, Shutdown; PVD and BOR supported |
| Communication | 3 × FDCAN, 5 × USART/UART, 4 × I²C (Fast Mode Plus), 4 × SPI, USB FS, SAI, UCPD, LPUART |
Pinout & Package
LQFP64 (10 × 10 mm, 0.5 mm pitch) package with exposed thermal pad; suitable for industrial PCB assembly and thermal management in motor drive and power supply applications.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDA | Power supply | Core and analog domain supply (1.71–3.6 V); separate pins reduce noise coupling between digital and analog sections |
| VSS, VSSA | Ground reference | Digital and analog ground planes must be connected at single point near regulator output to minimize offset error in ADC/DAC |
| NRST | Reset input | Active-low reset with internal pull-up; accepts external push-button or supervisor IC assertion for system recovery |
| PA0–PA15, PB0–PB15, etc. | General-purpose I/O | Up to 107 fast I/Os; most support 5 V tolerance, external interrupt, and multiple alternate functions (e.g., TIMx_CHy, USART_TX) |
| PA1, PA2, PA3 | Analog inputs | ADC1_IN1, ADC1_IN2, ADC1_IN3 - routed to 12-bit ADC with hardware oversampling up to 16-bit effective resolution |
| PA4, PA5 | DAC outputs | DAC1_OUT1, DAC1_OUT2 - buffered 1 MSPS outputs usable for precision waveform generation or sensor biasing |
| PH2, PH3 | FDCAN transceivers | FDCAN1_RX/FDCAN1_TX - support CAN FD up to 5 Mbit/s with flexible data-rate arbitration and payload handling |
Key Features
| Feature | Design Value |
|---|---|
| CORDIC accelerator | Hardware trigonometric engine enabling real-time sine/cosine/arctan computation without CPU load or floating-point library overhead |
| FMAC unit | Dedicated filter math accelerator supporting FIR/IIR filtering with 32-bit precision and DMA-triggered coefficient updates |
| HRTIM timer | 184 ps resolution enables precise PWM edge placement for multi-phase inverters and resonant LLC converters |
| VREFBUF | Internal voltage reference buffer with selectable outputs (2.048 V, 2.5 V, 2.9 V) for stable ADC/DAC reference independent of VDD variation |
| UCPD controller | Integrated USB Type-C™ and Power Delivery controller supporting source/sink role negotiation and VBUS monitoring without external IC |
Applications
| Industrial Motor Control | Digital Power Supply |
|---|---|
Use Scenario: Closed-loop field-oriented control (FOC) of 3-phase BLDC/PMSM motors in HVAC compressors and servo drives. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, generating synchronized 6-channel PWM with dead-time compensation via HRTIM, sampling current/voltage via ADCs. Use Value: 184 ps HRTIM resolution enables <1 ns PWM jitter, critical for minimizing torque ripple and acoustic noise in high-speed motors. |
Use Scenario: Digital AC-DC and DC-DC power supplies with adaptive voltage regulation, active PFC, and real-time fault response. IC Role / Device Role / Timing Role: System-on-chip managing gate drivers, sensing, communication, and safety logic; FMAC computes PID loops while CORDIC handles phase-angle calculations. Use Value: Integrated analog front-end (6 op-amps, 5 ADCs) eliminates external signal conditioning, reducing BOM count and layout area by >30% vs discrete solutions. |
| Programmable Logic Controller (PLC) | Medical Diagnostic Equipment |
Use Scenario: Modular I/O expansion modules with analog input/output, digital isolation, and deterministic FDCAN backbone communication. IC Role / Device Role / Timing Role: Central processing node acquiring 16-channel analog sensor data, executing ladder logic, and transmitting status over FDCAN at 2 Mbit/s. Use Value: Dual-bank Flash allows safe firmware updates without halting real-time I/O scanning - meeting IEC 61131-3 cycle-time requirements (<10 ms). |
Use Scenario: Portable ultrasound front-end with beamforming control, RF signal conditioning, and battery-powered operation. IC Role / Device Role / Timing Role: Low-power subsystem managing battery monitoring (VBAT), temperature sensing, DAC-driven transducer bias, and USB data streaming. Use Value: Ultra-low standby current (<1 µA) with RTC wakeup extends battery life beyond 72 hours; internal VREFBUF ensures ±0.1% ADC accuracy across temperature. |
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 | Same package and pinout; lacks HRTIM, CORDIC, FMAC, and one ADC unit - 384 KB Flash, no PCROP | Suitable for cost-sensitive motor control where 184 ps timing or hardware math acceleration is unnecessary | Select when full G474 feature set is unused; reduces BOM cost by ~12% but forfeits high-resolution PWM and real-time math offload |
| STM32H743VIT6 | ARM Cortex-M7 @ 480 MHz, 2 MB Flash, dual-core option, higher peripheral count; LQFP100 package (14 × 14 mm) | Targeted at complex HMI, AI inference at edge, or multi-protocol gateway - requires larger PCB footprint and higher power budget | Choose only if >200 DMIPS, dual-core RTOS, or Ethernet/SDMMC interfaces are mandatory; not drop-in compatible due to pin count and voltage scaling |
Compared with STM32G473RET6, the STM32G474RET6 adds deterministic sub-nanosecond PWM control and hardware-accelerated math essential for digital power and FOC; versus STM32H743VIT6, it offers superior analog integration and lower power in a smaller LQFP64 footprint - ideal for space-constrained industrial edge nodes.
Availability
STM32G474RET6 is available at Aetrix Electronics and suitable for industrial motor control, digital power conversion, programmable logic controllers, and portable medical instrumentation requiring stable component supply across extended product lifecycles.
Supply support for STM32G474RET6 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 management ICs, sensors, and automotive-grade components since 1987.
The STM32G4 series targets high-efficiency digital power, motor control, and industrial automation - combining precision analog, real-time timers, and hardware math acceleration in a single chip to replace multi-IC subsystems.
FAQ
What is the maximum operating frequency and corresponding performance metric of the STM32G474RET6?
The STM32G474RET6 operates at up to 170 MHz with an integer performance rating of 213 DMIPS (Dhrystone MIPS), measured using the ARM Dhrystone benchmark v2.1 under conditions of zero-wait-state Flash execution enabled by the ART Accelerator. This frequency is sustained across the full industrial temperature range (–40°C to +85°C) with VDD ≥ 2.7 V.
Does the STM32G474RET6 support hardware cryptographic acceleration?
No - the STM32G474RET6 does not include dedicated cryptographic accelerators (e.g., AES, SHA, PKA). It relies on software libraries for encryption tasks. For hardware crypto support, ST recommends the STM32L5 or STM32U5 series, which integrate AES-256, PKA, and secure key storage compliant with PSA Level 3.
Can the STM32G474RET6 directly drive MOSFET gates in a half-bridge configuration?
Yes - its six op-amps can be configured as high-speed gate drivers (with external push-pull stage), and the HRTIM's built-in dead-time insertion and fault protection (e.g., emergency stop input) enable safe half-bridge control. However, external gate driver ICs (e.g., STSPIN family) are recommended for >1 A peak current or high-side bootstrap operation.
Is the LQFP64 package of the STM32G474RET6 lead-free and RoHS-compliant?
Yes - the STM32G474RET6 in LQFP64 packaging is fully RoHS-compliant and lead-free per EU Directive 2011/65/EU, with matte tin (Sn) termination finish and JEDEC-standard moisture sensitivity level (MSL) 3. Full compliance documentation, including substance declarations and test reports, is available through ST's official product page and Aetrix Electronics' quality portal.
STM32G474RET6 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:
STM32G474RET6 FAQ
1.How can I place an order for STM32G474RET6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G474RET6 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 STM32G474RET6 reliable?
The price and inventory of STM32G474RET6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G474RET6 is usually 5 days.
3.What payment methods are accepted for STM32G474RET6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G474RET6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G474RET6?
STM32G474RET6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G474RET6 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 STM32G474RET6?
For technical support, including STM32G474RET6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G474RET6 requirements.
6.How does Aetrix verify that STM32G474RET6 is sourced from the original manufacturer or authorized distributors?
All STM32G474RET6 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 STM32G474RET6 meets industry standards.
7.What is the process for return or replacement of STM32G474RET6?
All STM32G474RET6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G474RET6, 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 STM32G474RET6 part is unused and in its original packaging.
Return procedure for STM32G474RET6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G474RET6 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…

