STMicroelectronics

STM32G474RET6 - 170MHz Arm Cortex-M4 MCU | STMicroelectronics

MPN: STM32G474RET6 βœ“ Active
In Stock (99,999) Ships in 1-3 business days
1.71 V to 3.6 V Vdss LQFP-64 Package 170 MHz Speed 512 KB Memory
$8.5 USD / Unit
MOQ: 1 |
Volume Pricing
Qty Unit Price Extended
1 $8.5 $8.50
10 $7.65 $76.50
100 $6.8 $680.00
500 $6.12 $3,060.00
1,000 $5.44 $5,440.00
ℹ️ All prices are in USD

Drop-in alternatives for STM32G474RET6 β€” same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

STM32G474RCT6

βœ… Drop-In
πŸ“¦ LQFP-64
256 KB flash instead of 512 KB, same pinout

πŸ“‹ Reference alternative (not in catalog)

STM32G474RET6TR

βœ… Drop-In
πŸ“¦ LQFP-64
Same die, tape and reel packaging variant

πŸ“‹ Reference alternative (not in catalog)

STM32G474RET6Q

βœ… Drop-In
πŸ“¦ LQFP-64
Extended temperature range (-40C to +125C), same pinout

πŸ“‹ Reference alternative (not in catalog)

STM32G474RET6 Maximum Ratings & Electrical Characteristics

Core Arm Cortex-M4 with FPU
Maximum Clock Frequency 170 MHz
Flash Memory 512 KB
SRAM 128 KB
Operating Voltage 1.71 V to 3.6 V
ADC Resolution 12-bit
ADC Sample Rate 5 MSPS
DAC Resolution 12-bit
High-Resolution Timer 184 ps PWM resolution
Communication Interfaces SPI, I2C, USART, CAN FD, USB
GPIO Pins 51
Package LQFP-64
Operating Temperature -40C to +85C
RoHS Status Compliant
DSP Instructions Yes

STM32G474RET6 Pin Configuration

QFP-64 Package Pinout Diagram QFP-64 10x10mm, P0.5mm, JEDEC MS-026. 1 16 QFP-64
Pin 1 VBAT β€” Battery backup supply
Pin 2 PC13 β€” GPIO / RTC output
Pin 3 PC14 β€” GPIO / OSC32_IN
Pin 4 PC15 β€” GPIO / OSC32_OUT
Pin 5 PF0 β€” GPIO / OSC_IN
Pin 6 PF1 β€” GPIO / OSC_OUT
Pin 7 NRST β€” Reset (active low)
Pin 8 VDD β€” Digital power supply
Pin 9 VSS β€” Ground
Pin 10 VDDA β€” Analog power supply
Pin 11 PA0 β€” GPIO / ADC input
Pin 12 PA1 β€” GPIO / ADC input
Pin 13 PA2 β€” GPIO / USART2_TX
Pin 14 PA3 β€” GPIO / USART2_RX
Pin 15 PA4 β€” GPIO / SPI1_NSS
Pin 16 PA5 β€” GPIO / SPI1_SCK
Pin 17 PA6 β€” GPIO / SPI1_MISO
Pin 18 PA7 β€” GPIO / SPI1_MOSI
Pin 19 PA8 β€” GPIO / TIM1_CH1
Pin 20 PA9 β€” GPIO / USART1_TX
Pin 21 PA10 β€” GPIO / USART1_RX
Pin 22 PA11 β€” GPIO / USB_DM
Pin 23 PA12 β€” GPIO / USB_DP
Pin 24 PA13 β€” GPIO / SWDIO
Pin 25 PA14 β€” GPIO / SWCLK
Pin 26 PA15 β€” GPIO / JTDI
Pin 27 PB0 β€” GPIO / ADC input
Pin 28 PB1 β€” GPIO / ADC input
Pin 29 PB2 β€” GPIO / BOOT1
Pin 30 PB3 β€” GPIO / JTDO
Pin 31 PB4 β€” GPIO / NJTRST
Pin 32 PB5 β€” GPIO / I2C1_SMBA
Pin 33 PB6 β€” GPIO / I2C1_SCL
Pin 34 PB7 β€” GPIO / I2C1_SDA
Pin 35 PB8 β€” GPIO / CAN1_RX
Pin 36 PB9 β€” GPIO / CAN1_TX
Pin 37 PB10 β€” GPIO / I2C2_SCL
Pin 38 PB11 β€” GPIO / I2C2_SDA
Pin 39 PB12 β€” GPIO / SPI2_NSS
Pin 40 PB13 β€” GPIO / SPI2_SCK
Pin 41 PB14 β€” GPIO / SPI2_MISO
Pin 42 PB15 β€” GPIO / SPI2_MOSI
Pin 43 PC0 β€” GPIO / ADC input
Pin 44 PC1 β€” GPIO / ADC input
Pin 45 PC2 β€” GPIO / ADC input
Pin 46 PC3 β€” GPIO / ADC input
Pin 47 PC4 β€” GPIO / ADC input
Pin 48 PC5 β€” GPIO / ADC input
Pin 49 PC6 β€” GPIO / TIM3_CH1
Pin 50 PC7 β€” GPIO / TIM3_CH2
Pin 51 PC8 β€” GPIO / TIM3_CH3
Pin 52 PC9 β€” GPIO / TIM3_CH4
Pin 53 PC10 β€” GPIO / USART4_TX
Pin 54 PC11 β€” GPIO / USART4_RX
Pin 55 PC12 β€” GPIO / USART5_TX
Pin 56 PD0 β€” GPIO / CAN2_RX
Pin 57 PD1 β€” GPIO / CAN2_TX
Pin 58 PD2 β€” GPIO / TIM1_ETR
Pin 59 VDD β€” Digital power supply
Pin 60 VSS β€” Ground
Pin 61 VDDA β€” Analog power supply
Pin 62 VREF+ β€” ADC reference voltage
Pin 63 VREF- β€” ADC reference ground
Pin 64 VSSA β€” Analog ground

Safe Operating Area (SOA) & Thermal Characteristics

Safe Operating Area Chart Default safe operating area chart for STM32G474RET6 Drain-to-Source Voltage (Vds) Drain Current (Id)

No official SOA curve available for this digital IC. Always operate within absolute maximum ratings specified in the datasheet. Ensure adequate cooling and derate as needed.

Typical Applications

STM32G474RET6 is suitable for 6 applications: Field-Oriented Control (FOC) of Brushless DC Motors, Digital Power Supplies (Buck, Boost, Flyback), Solar Inverters, Industrial Automation and Robotics, Battery Management Systems (BMS), Power Tools and Home Appliances.

🏭

Field-Oriented Control (FOC) of Brushless DC Motors

The STM32G474RET6 is ideal for FOC of brushless DC motors due to its high-resolution timer (HRTIM) with 184 ps PWM resolution and fast 12-bit ADC (5 MSPS). In a typical FOC application, the MCU reads phase currents via the ADC, computes the rotor position using Hall sensors or encoders, and generates PWM signals to drive the inverter. The HRTIM ensures precise switching, reducing torque ripple and improving efficiency. The CORDIC accelerator speeds up trigonometric calculations for Park/Clarke transforms, offloading the CPU. Compared to general-purpose MCUs, the STM32G474RET6 offers superior real-time performance, enabling smoother motor control at high speeds. Designers should ensure proper isolation between power and control stages and use differential sensing for accurate current measurement.

⚑

Digital Power Supplies (Buck, Boost, Flyback)

The STM32G474RET6 excels in digital power conversion, leveraging its high-resolution timer and fast ADC to implement voltage-mode or current-mode control loops. In a buck converter, the MCU samples the output voltage and inductor current, computes the duty cycle using a PID algorithm, and updates the PWM output. The HRTIM's 184 ps resolution allows precise control of switching frequency and duty cycle, minimizing output ripple. The device's comparators can be used for cycle-by-cycle current limiting, protecting the converter from overcurrent conditions. The FMAC accelerator can implement digital filters for loop compensation, reducing CPU load. Compared to analog controllers, the STM32G474RET6 offers flexibility in tuning and monitoring, enabling adaptive control strategies. Designers should pay attention to ADC sampling timing to avoid aliasing and ensure stable operation across load transients.

⚑

Solar Inverters

The STM32G474RET6 is well-suited for solar inverter applications, where it manages maximum power point tracking (MPPT) and grid synchronization. The MCU's high-speed ADC samples solar panel voltage and current to implement MPPT algorithms, while the HRTIM generates PWM signals for the DC-DC and DC-AC stages. The CORDIC accelerator computes phase angles for grid synchronization, and the CAN FD interface enables communication with other system components. The device's robust analog front-end, including comparators and op-amps, simplifies signal conditioning. Compared to DSPs, the STM32G474RET6 offers a more integrated solution with lower cost and power consumption. Designers should ensure proper isolation between the high-voltage DC bus and the MCU, and implement comprehensive protection features such as overvoltage and overcurrent detection.

🏭

Industrial Automation and Robotics

The STM32G474RET6 is a powerful choice for industrial automation and robotics, providing real-time control of actuators, sensors, and communication interfaces. Its 170 MHz Cortex-M4 core with FPU handles complex kinematics and trajectory planning, while the multiple timers and PWM outputs drive servo motors and stepper motors. The device's rich set of communication interfaces (CAN FD, USART, SPI, I2C) enables seamless integration with industrial networks like EtherCAT (via external PHY) and Modbus. The high-resolution ADC and comparators allow precise monitoring of analog sensors, such as position encoders and force sensors. Compared to lower-end MCUs, the STM32G474RET6 offers superior computational power and peripheral integration, reducing system complexity. Designers should consider using the device's low-power modes to reduce energy consumption in battery-powered robots.

πŸ”‹

Battery Management Systems (BMS)

The STM32G474RET6 is suitable for battery management systems, where it monitors cell voltages, currents, and temperatures to ensure safe operation. Its 12-bit ADC with multiple channels can sample several cells sequentially, while the comparators can trigger overvoltage/undervoltage protection. The device's low-power modes are beneficial for extending battery life in standby. The CAN FD interface allows communication with the main controller in electric vehicles or energy storage systems. The FMAC accelerator can implement digital filters for accurate state-of-charge (SOC) estimation. Compared to dedicated BMS ICs, the STM32G474RET6 offers flexibility in implementing custom algorithms and protection schemes. Designers should ensure proper galvanic isolation between the high-voltage battery pack and the MCU, and use precision voltage references for accurate measurements.

πŸ”§

Power Tools and Home Appliances

The STM32G474RET6 is ideal for power tools and home appliances, providing efficient motor control and user interface management. In a power tool, the MCU controls a brushless DC motor with FOC, delivering high torque and speed regulation. The device's compact LQFP-64 package fits into space-constrained designs, and its low-power modes extend battery life. The integrated op-amps and comparators reduce external component count, lowering BOM cost. The device's robust design, with operating temperature up to 85C (or 125C for the Q variant), ensures reliability in demanding environments. Compared to dedicated motor control ICs, the STM32G474RET6 offers more flexibility for adding features like Bluetooth connectivity (via external module) or advanced diagnostics. Designers should implement proper thermal management and EMI filtering to meet regulatory standards.

Recommended Products Summary

STGIPN3H60 IGBT inverter module for motor drive Used in: Field-Oriented Control (FOC) of Brushless DC Motors TSC1031 Current sense amplifier for phase current sensing Used in: Field-Oriented Control (FOC) of Brushless DC Motors STL120N10F7 Power MOSFET for switching stage Used in: Digital Power Supplies (Buck, Boost, Flyback) TL431 Voltage reference for feedback loop Used in: Digital Power Supplies (Buck, Boost, Flyback) STGW30NC60HD IGBT for inverter stage Used in: Solar Inverters ACST1235 AC switch for grid connection Used in: Solar Inverters L6206 Dual full-bridge driver for DC motors Used in: Industrial Automation and Robotics TJA1051 CAN transceiver for industrial networking Used in: Industrial Automation and Robotics L9963E Battery monitoring IC for cell voltage sensing Used in: Battery Management Systems (BMS) STM32G474RET6 STMicroelectronics Used in: Battery Management Systems (BMS), Power Tools and Home Appliances STSPIN32F0 Motor driver with integrated MCU for simpler designs Used in: Power Tools and Home Appliances
What is the maximum clock frequency of STM32G474RET6?
The STM32G474RET6 operates at a maximum clock frequency of 170 MHz. According to the STMicroelectronics datasheet, this is achieved with the Arm Cortex-M4 core with FPU, enabling high-performance real-time control.
How much flash memory does STM32G474RET6 have?
The STM32G474RET6 has 512 KB of flash memory. This is sufficient for complex firmware including motor control algorithms, digital power conversion, and communication stacks.
What is the difference between STM32G474RET6 and STM32G474RCT6?
The STM32G474RET6 has 512 KB flash and 128 KB SRAM, while the STM32G474RCT6 has 256 KB flash and 128 KB SRAM. Both share the same LQFP-64 package and are pin-to-pin compatible, but the RET6 offers double the flash memory for larger applications.
Can STM32G474RET6 be used for motor control?
Yes, the STM32G474RET6 is specifically designed for motor control applications. Its high-resolution timer (HRTIM) with 184 ps PWM resolution, combined with fast ADC and comparators, enables precise field-oriented control (FOC) of brushless DC motors.
What is the operating voltage range of STM32G474RET6?
The STM32G474RET6 operates from 1.71V to 3.6V. This wide range allows flexibility in power supply design, including battery-powered applications.
Does STM32G474RET6 support CAN FD?
Yes, the STM32G474RET6 supports CAN FD (Flexible Data-rate) communication. This is essential for automotive and industrial networks requiring higher data throughput.
What is the package type of STM32G474RET6?
The STM32G474RET6 is available in an LQFP-64 package. This is a surface-mount package with 64 pins, suitable for compact PCB designs.
Is STM32G474RET6 RoHS compliant?
Yes, the STM32G474RET6 is RoHS compliant. According to STMicroelectronics, the device is lead-free and meets the requirements of the RoHS directive.
What is the price of STM32G474RET6?
As of 2026-08-05, the price of STM32G474RET6 is approximately $8.50 for single-unit quantities, decreasing to $5.44 at 1000 units. Prices may vary by distributor and availability.
Where can I buy STM32G474RET6 online?
STM32G474RET6 is available from major distributors such as DigiKey and Mouser. You can purchase it directly from their websites, with typical lead times of 1-2 weeks for stock items.
What is the lead time for STM32G474RET6?
The lead time for STM32G474RET6 is typically 1-2 weeks from distributors like DigiKey and Mouser, depending on stock availability. For large quantities, lead times may extend to 4-6 weeks.
Is STM32G474RET6 in stock?
As of 2026-08-05, STM32G474RET6 is in stock at major distributors including DigiKey and Mouser. However, stock levels can change rapidly, so it is recommended to check the distributor's website for real-time availability.
What is the best drop-in replacement for STM32G474RET6?
The best drop-in replacement for STM32G474RET6 is the STM32G474RCT6, which shares the same LQFP-64 package and pinout but has 256 KB flash instead of 512 KB. Other drop-in options include STM32G474RET6TR (tape and reel) and STM32G474RET6Q (extended temperature range).
Can STM32G474RCT6 replace STM32G474RET6?
Yes, the STM32G474RCT6 can replace the STM32G474RET6 in most applications, as it is pin-to-pin compatible and shares the same LQFP-64 package. However, the RCT6 has only 256 KB flash, so ensure your firmware fits within that memory limit.
Where can I download the STM32G474RET6 datasheet PDF?
The STM32G474RET6 datasheet PDF can be downloaded from the STMicroelectronics website at https://www.st.com/resource/en/datasheet/stm32g474re.pdf. It contains full specifications, pinout, and application notes.
Where can I find the STM32G474RET6 pinout?
The STM32G474RET6 pinout is detailed in the datasheet, specifically in the pin description section. The LQFP-64 package has 51 GPIO pins, with dedicated pins for power, ground, and various peripherals.
What development tools are compatible with STM32G474RET6?
The STM32G474RET6 is supported by STM32CubeIDE, Keil MDK, and IAR EWARM. STMicroelectronics provides the STM32CubeG4 firmware package with HAL drivers and examples for rapid development.
What is the power consumption of STM32G474RET6?
The power consumption of STM32G474RET6 depends on the operating mode. In run mode at 170 MHz, it typically consumes around 100 mA. In standby mode, consumption drops to a few microamps, making it suitable for low-power applications.
Does STM32G474RET6 have a hardware accelerator for math?
Yes, the STM32G474RET6 includes a CORDIC hardware accelerator and a filter math accelerator (FMAC). These offload trigonometric and filter computations from the CPU, improving performance in control and signal processing applications.
What is the ADC sample rate of STM32G474RET6?
The STM32G474RET6 features a 12-bit ADC with a maximum sample rate of 5 MSPS. This high-speed conversion is essential for real-time current sensing in motor control and digital power applications.

Engineering reference data for STM32G474RET6 β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the STM32G474RET6 when you need 512 KB flash and 128 KB SRAM for complex motor control or digital power applications. If your firmware fits in 256 KB, the STM32G474RCT6 offers cost savings with the same pinout. For high-temperature environments, select the STM32G474RET6Q variant. For automated manufacturing, the STM32G474RET6TR (tape and reel) is preferred. All alternatives are drop-in compatible, allowing PCB layout reuse.

Comparison with Alternatives

Parameter This Product STM32G474RCT6 STM32G474RET6TR STM32G474RET6Q
Package LQFP-64 LQFP-64 - same LQFP-64 - same LQFP-64 - same
Flash Memory 512 KB 256 KB 512 KB 512 KB
SRAM 128 KB 128 KB 128 KB 128 KB
Maximum Clock Frequency 170 MHz 170 MHz 170 MHz 170 MHz
Operating Temperature Range -40C to +85C -40C to +85C -40C to +85C -40C to +125C
Packaging Type Tray Tray Tape & Reel Tray
Price (1 unit) $8.50 $7.20 $8.50 $9.10
AEC-Q100 Qualification No No No No

Key Differentiators

  • Higher flash memory capacity (vs STM32G474RCT6)
  • Extended temperature range option (vs STM32G474RET6Q)
  • Tape and reel packaging option (vs STM32G474RET6TR)

Design Notes

Decouple all VDD and VDDA pins with 100 nF ceramic capacitors placed as close as possible to the pins. Additionally, use a 4.7 uF capacitor on the main VDD rail and a 1 uF capacitor on VDDA. For the VREF+ pin, use a 1 uF capacitor to ground to ensure stable ADC reference. The device operates from 1.71V to 3.6V, so ensure the supply is within this range under all load conditions.

For high-resolution timer (HRTIM) outputs, route traces with controlled impedance and keep them short to minimize parasitic inductance. Use a solid ground plane beneath the MCU to reduce noise. For ADC inputs, add a small RC filter (e.g., 10 ohm, 1 nF) to reduce aliasing and improve accuracy. Place the crystal oscillator (if used) close to the OSC_IN/OSC_OUT pins with proper load capacitors.

The STM32G474RET6 in LQFP-64 package has a thermal resistance (theta_JA) of approximately 45 C/W. At 170 MHz with all peripherals active, power dissipation can reach 500 mW, resulting in a temperature rise of 22.5C above ambient. Ensure adequate airflow or a thermal pad on the PCB to keep the junction temperature within the specified range. For the Q variant (extended temperature), the maximum junction temperature is 125C.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS compliant per STMicroelectronics. Not AEC-Q100 qualified; for automotive, consider STM32G4 series with AEC-Q100 option.

Data verified on: 2026-08-05
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details