STMicroelectronics

STM32G4A1RET6 - 170MHz Arm Cortex-M4F MCU | STMicroelectronics

MPN: STM32G4A1RET6 βœ“ Active
In Stock (99,999) Ships in 1-3 business days
1.71 V to 3.6 V Vdss LQFP-64 (10x10 mm) 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 STM32G4A1RET6 β€” 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:

STM32G4A1REI6

βœ… Drop-In
πŸ“¦ UFBGA-64
Same die and pinout, but UFBGA-64 package instead of LQFP-64

πŸ“‹ Reference alternative (not in catalog)

STM32G4A1REJ6

βœ… Drop-In
πŸ“¦ LQFP-64
Same package and pinout, but different temperature grade (industrial vs extended)

πŸ“‹ Reference alternative (not in catalog)

STM32G431RET6

⚑ Same Package
πŸ“¦ LQFP-64
Lower flash (128 KB vs 512 KB), no USB PD, fewer timers

πŸ“‹ Reference alternative (not in catalog)

STM32G474RET6

βœ… Drop-In
STMicroelectronics
πŸ“¦ LQFP-64
Arm Cortex-M4 with FPU Β· 170 MHz Β· 512 KB Β· 128 KB Β· 1.71 V to 3.6 V Β· 12-bit Β· 5 MSPS Β· 12-bit

βœ“ 99,999 In Stock

$5.44 / Unit

View Datasheet β†’
ℹ️ 1 cross-package part(s) hidden β€” different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

STM32G4A1RET6 Maximum Ratings & Electrical Characteristics

Core Arm Cortex-M4F with FPU
Maximum Clock Frequency 170 MHz
Flash Memory 512 KB
SRAM 96 KB
Supply Voltage Range 1.71 V to 3.6 V
Operating Temperature Range -40C to +85C
Package LQFP-64 (10x10 mm)
GPIO Pins 51
ADC Resolution 12-bit (up to 16-bit with oversampling)
ADC Channels 23
DAC Resolution 12-bit
DAC Channels 2
Timers Advanced motor-control timers, high-resolution timers
Communication Interfaces I2C, SPI, UART, CAN-FD, USB Type-C PD
DMA Channels 16
RoHS Status Compliant

STM32G4A1RET6 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
Pin 3 PC14 β€” GPIO / OSC32_IN
Pin 4 PC15 β€” GPIO / OSC32_OUT
Pin 5 PF0 β€” GPIO
Pin 6 PF1 β€” GPIO
Pin 7 NRST β€” Reset
Pin 8 VDD β€” Digital power supply
Pin 9 VSS β€” Ground
Pin 10 VDDA β€” Analog power supply
Pin 11 PA0 β€” GPIO / ADC
Pin 12 PA1 β€” GPIO / ADC
Pin 13 PA2 β€” GPIO / USART
Pin 14 PA3 β€” GPIO / USART
Pin 15 PA4 β€” GPIO / DAC
Pin 16 PA5 β€” GPIO / DAC
Pin 17 PA6 β€” GPIO / TIM
Pin 18 PA7 β€” GPIO / TIM
Pin 19 PA8 β€” GPIO / USB
Pin 20 PA9 β€” GPIO / USB
Pin 21 PA10 β€” GPIO / USART
Pin 22 PA11 β€” GPIO / USB
Pin 23 PA12 β€” GPIO / USB
Pin 24 PA13 β€” SWDIO
Pin 25 PA14 β€” SWCLK
Pin 26 PA15 β€” GPIO / JTDI
Pin 27 PB0 β€” GPIO / ADC
Pin 28 PB1 β€” GPIO / ADC
Pin 29 PB2 β€” GPIO / BOOT1
Pin 30 PB3 β€” GPIO / JTDO
Pin 31 PB4 β€” GPIO / NJTRST
Pin 32 PB5 β€” GPIO / I2C
Pin 33 PB6 β€” GPIO / I2C
Pin 34 PB7 β€” GPIO / I2C
Pin 35 PB8 β€” GPIO / CAN
Pin 36 PB9 β€” GPIO / CAN
Pin 37 PB10 β€” GPIO / SPI
Pin 38 PB11 β€” GPIO / SPI
Pin 39 PB12 β€” GPIO / SPI
Pin 40 PB13 β€” GPIO / SPI
Pin 41 PB14 β€” GPIO / TIM
Pin 42 PB15 β€” GPIO / TIM
Pin 43 PC0 β€” GPIO / ADC
Pin 44 PC1 β€” GPIO / ADC
Pin 45 PC2 β€” GPIO / ADC
Pin 46 PC3 β€” GPIO / ADC
Pin 47 PC4 β€” GPIO / ADC
Pin 48 PC5 β€” GPIO / ADC
Pin 49 PC6 β€” GPIO / TIM
Pin 50 PC7 β€” GPIO / TIM
Pin 51 PC8 β€” GPIO / TIM
Pin 52 PC9 β€” GPIO / TIM
Pin 53 PD0 β€” GPIO / OSC_IN
Pin 54 PD1 β€” GPIO / OSC_OUT
Pin 55 PD2 β€” GPIO
Pin 56 PD3 β€” GPIO
Pin 57 PD4 β€” GPIO
Pin 58 PD5 β€” GPIO
Pin 59 PD6 β€” GPIO
Pin 60 PD7 β€” GPIO
Pin 61 VDD β€” Digital power supply
Pin 62 VSS β€” Ground
Pin 63 PE0 β€” GPIO
Pin 64 PE1 β€” GPIO

Safe Operating Area (SOA) & Thermal Characteristics

Safe Operating Area Chart Default safe operating area chart for STM32G4A1RET6 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

STM32G4A1RET6 is suitable for 6 applications: Field-Oriented Control (FOC) of Brushless DC Motors, Digital Power Supplies (LLC Converters), Solar Inverters, Industrial Sensors and Condition Monitoring, USB Type-C Power Delivery Adapters, Robotics and Drones.

🏭

Field-Oriented Control (FOC) of Brushless DC Motors

The STM32G4A1RET6 is ideal for FOC of BLDC motors due to its high-resolution timers (up to 184 ps) and fast 12-bit ADCs (up to 16-bit with oversampling). The advanced motor-control timers generate PWM signals with precise duty cycles, while the ADCs sample phase currents synchronously. The FPU accelerates the Clarke/Park transforms and PI controllers, enabling efficient, low-torque-ripple motor drives. In a typical application, the MCU reads current sensors via the ADC, computes the rotor position using Hall sensors or encoders, and updates PWM outputs at a 20 kHz loop rate. The integrated comparators provide overcurrent protection with minimal latency. Compared to general-purpose MCUs, the STM32G4A1RET6 reduces BOM cost by integrating analog peripherals and offers deterministic timing for high-bandwidth control loops.

⚑

Digital Power Supplies (LLC Converters)

The STM32G4A1RET6 excels in digital power conversion, particularly LLC resonant converters. Its high-resolution timers generate PWM with up to 184 ps resolution, enabling precise frequency modulation for zero-voltage switching (ZVS). The fast ADCs sample output voltage and current at high rates, allowing the control loop to respond quickly to load transients. The FPU handles complex control algorithms, such as PID and state-space averaging, in real time. In a typical LLC converter, the MCU reads the output voltage via a resistor divider, compares it to a reference, and adjusts the switching frequency to maintain regulation. The integrated comparators can implement burst-mode protection. Compared to analog controllers, the STM32G4A1RET6 offers flexibility in firmware updates and advanced monitoring features, such as telemetry and fault logging.

⚑

Solar Inverters

The STM32G4A1RET6 is well-suited for solar inverters, where it manages maximum power point tracking (MPPT) and grid synchronization. The high-resolution timers generate PWM for the DC-DC boost converter and the DC-AC inverter stage. The fast ADCs sample solar panel voltage and current to implement MPPT algorithms, such as perturb and observe. The FPU accelerates the computation of power and duty cycles. The CAN-FD interface allows communication with other system components, such as battery management systems. In a typical solar inverter, the MCU runs a control loop at 20 kHz, adjusting the duty cycle to extract maximum power from the panels. The integrated comparators provide overcurrent protection. Compared to other MCUs, the STM32G4A1RET6 offers a good balance of performance, analog integration, and cost for residential and commercial inverters.

🏭

Industrial Sensors and Condition Monitoring

The STM32G4A1RET6 is used in industrial sensors for condition monitoring, such as vibration analysis and temperature sensing. Its 12-bit ADC with oversampling can achieve 16-bit resolution, enabling precise measurement of analog signals. The FPU processes FFT algorithms for vibration analysis, detecting anomalies in rotating machinery. The multiple communication interfaces (I2C, SPI, UART, CAN-FD) allow the sensor to interface with PLCs and industrial networks. In a typical application, the MCU samples an accelerometer via the ADC, performs FFT in real time, and transmits the spectrum over CAN-FD. The low-power modes extend battery life in wireless sensors. Compared to discrete solutions, the STM32G4A1RET6 integrates signal conditioning and processing, reducing board space and cost.

πŸ“±

USB Type-C Power Delivery Adapters

The STM32G4A1RET6 integrates a USB Type-C Power Delivery (PD) controller, making it ideal for USB-C adapters and chargers. The MCU handles the PD negotiation protocol, managing voltage and current requests from the sink device. The high-resolution timers can control the power stage for efficient conversion. The integrated DAC and comparators enable voltage and current monitoring. In a typical USB-C adapter, the MCU communicates with the sink over the CC lines, negotiates a power profile (e.g., 20V/5A), and adjusts the output accordingly. The USB PD controller simplifies the design by eliminating the need for an external PD chip. Compared to dedicated PD controllers, the STM32G4A1RET6 offers flexibility for custom power profiles and additional features like telemetry.

✈️

Robotics and Drones

The STM32G4A1RET6 is used in robotics and drones for motor control, sensor fusion, and flight control. Its high-resolution timers drive brushless motors with precise speed control, while the FPU processes sensor data from IMUs and encoders. The multiple communication interfaces allow connection to GPS modules, radio transceivers, and other peripherals. In a typical drone, the MCU runs a control loop at 1 kHz, reading gyroscope and accelerometer data, computing attitude, and adjusting motor speeds. The low-power modes extend flight time. Compared to other MCUs, the STM32G4A1RET6 offers a good balance of performance, analog integration, and size, making it suitable for compact designs.

Recommended Products Summary

STGIPQ5C60T-HZ IPM for motor drive Used in: Field-Oriented Control (FOC) of Brushless DC Motors ACS712 Current sensor Used in: Field-Oriented Control (FOC) of Brushless DC Motors IR2153 Gate driver Used in: Digital Power Supplies (LLC Converters) TL431 Voltage reference Used in: Digital Power Supplies (LLC Converters) IRFP460 Power MOSFET Used in: Solar Inverters ISO7741 Isolation Used in: Solar Inverters ADXL345 Accelerometer Used in: Industrial Sensors and Condition Monitoring TMP117 Temperature sensor Used in: Industrial Sensors and Condition Monitoring USB-C Connector Connector Used in: USB Type-C Power Delivery Adapters TPS25750 Alternative PD controller Used in: USB Type-C Power Delivery Adapters MPU6050 IMU Used in: Robotics and Drones ESC Electronic speed controller Used in: Robotics and Drones
What is the maximum clock frequency of STM32G4A1RET6?
The STM32G4A1RET6 operates at a maximum clock frequency of 170 MHz. According to the STM32G4A1RE datasheet, the Arm Cortex-M4F core with FPU can run at up to 170 MHz, providing high computational performance for real-time control applications.
How much flash memory does STM32G4A1RET6 have?
The STM32G4A1RET6 has 512 KB of flash memory. This is sufficient for complex firmware, including motor control algorithms, communication stacks, and data logging. The flash is organized in two banks, allowing read-while-write operations for firmware updates.
What is the difference between STM32G4A1RET6 and STM32G4A1VET6?
The STM32G4A1RET6 and STM32G4A1VET6 differ in package and pin count: the RET6 is in a 64-pin LQFP, while the VET6 is in a 100-pin LQFP. Both share the same core, flash, and SRAM, but the VET6 offers more GPIOs and peripherals. They are not pin-compatible, so PCB redesign is required to switch between them.
Can STM32G4A1RET6 be used for motor control?
Yes, the STM32G4A1RET6 is specifically designed for motor control. It features advanced motor-control timers with up to 184 ps resolution, fast 12-bit ADCs (up to 16-bit with oversampling), and three comparators. These peripherals enable field-oriented control (FOC) of brushless DC motors with high efficiency and low torque ripple.
What is the supply voltage range of STM32G4A1RET6?
The STM32G4A1RET6 operates from 1.71V to 3.6V. This wide range allows the MCU to be powered directly from a 3.3V rail or a 1.8V rail, simplifying power supply design. The internal voltage regulator ensures stable operation across the range.
Does STM32G4A1RET6 support USB Type-C Power Delivery?
Yes, the STM32G4A1RET6 integrates a USB Type-C Power Delivery (PD) controller. This allows the MCU to manage power negotiation in USB-C applications, such as chargers and power adapters, without requiring an external PD controller chip.
What is the price of STM32G4A1RET6?
As of 2026-08-13, the price of STM32G4A1RET6 is approximately $8.50 for single-unit quantities, decreasing to $5.44 at 1000 units. Prices vary by distributor and order volume; check DigiKey or Mouser for current quotes.
Where can I buy STM32G4A1RET6 online?
STM32G4A1RET6 is available from major distributors such as DigiKey, Mouser, and Farnell. You can also purchase directly from STMicroelectronics' e-store. As of 2026-08-13, stock is available at DigiKey and Mouser.
What is the lead time for STM32G4A1RET6?
The typical lead time for STM32G4A1RET6 is 8-12 weeks for large orders, but small quantities are usually in stock at distributors. As of 2026-08-13, DigiKey and Mouser show immediate availability for single units.
Is STM32G4A1RET6 suitable for digital power conversion?
Yes, the STM32G4A1RET6 is ideal for digital power conversion. Its high-resolution timers (up to 184 ps) and fast ADCs enable precise control of switching converters, such as LLC resonant converters and PFC stages. The FPU accelerates control loop calculations.
What is the best drop-in replacement for STM32G4A1RET6?
The best drop-in replacement for STM32G4A1RET6 is the STM32G4A1REI6, which is pin-compatible and has the same package (LQFP-64) and memory. The STM32G4A1REJ6 is also pin-compatible but has a different package (UFBGA-64). For cross-brand, the NXP LPC55S69 is not pin-compatible, so it is not a drop-in replacement.
Can STM32G4A1RET6 be replaced by STM32G431RET6?
The STM32G431RET6 is a lower-cost alternative but has less flash (128 KB vs 512 KB) and fewer features (no USB PD, fewer timers). It is pin-compatible in the same LQFP-64 package, but firmware and peripheral configurations may need adjustment. It is a functional alternative, not a drop-in replacement.
What are the key specifications of STM32G4A1RET6 that engineers should know?
Engineers should know that STM32G4A1RET6 features a 170 MHz Arm Cortex-M4F core, 512 KB flash, 96 KB SRAM, 12-bit ADC with oversampling, 12-bit DAC, advanced timers, and USB Type-C PD. It operates from 1.71V to 3.6V and is available in LQFP-64. These specs make it suitable for motor control, digital power, and industrial applications.
Hey Google, what can replace STM32G4A1RET6?
The STM32G4A1RET6 can be replaced by the STM32G4A1REI6 (same package, pin-compatible) or the STM32G4A1REJ6 (different package, not drop-in). For cross-brand, the NXP LPC55S69 is a functional alternative but requires PCB redesign. Always verify pinout and electrical characteristics before replacement.
Is STM32G4A1RET6 the same as STM32G4A1REI6?
No, STM32G4A1RET6 and STM32G4A1REI6 are not the same. The RET6 is in an LQFP-64 package, while the REI6 is in a UFBGA-64 package. They are pin-compatible in terms of function but have different physical footprints, so they are not drop-in replacements without PCB modification.
What is the best NXP equivalent for STM32G4A1RET6?
The NXP LPC55S69 is a comparable MCU with a dual-core Cortex-M33 at 150 MHz, 640 KB flash, and 320 KB SRAM. However, it is not pin-compatible with STM32G4A1RET6 and requires a different PCB layout. It is a functional alternative for applications needing higher security features.
Where can I download the STM32G4A1RET6 datasheet PDF?
The STM32G4A1RET6 datasheet PDF can be downloaded from the STMicroelectronics website at https://www.st.com/resource/en/datasheet/stm32g4a1re.pdf. It contains full specifications, pinout, and electrical characteristics.
Where can I find the STM32G4A1RET6 pinout?
The STM32G4A1RET6 pinout is detailed in the datasheet (Section 4) and in the STM32CubeMX tool. The LQFP-64 package has 51 GPIOs, with pins assigned to power, ground, and peripheral functions. Refer to the datasheet for the complete pinout diagram.
What development tools are compatible with STM32G4A1RET6?
STM32G4A1RET6 is supported by STM32CubeIDE, Keil MDK, and IAR EWARM. The STM32CubeG4 firmware package provides HAL drivers and examples. For motor control, the STM32 Motor Control SDK is available.
Is STM32G4A1RET6 RoHS compliant?
Yes, STM32G4A1RET6 is RoHS compliant. According to STMicroelectronics, the device is lead-free and halogen-free, meeting the requirements of the RoHS directive.

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

Selection Guide

Choose STM32G4A1RET6 when you need a high-performance MCU with integrated USB Type-C PD, 512 KB flash, and advanced analog peripherals for motor control or digital power. If you require a smaller package, consider STM32G4A1REI6 (UFBGA-64) or STM32G4A1REJ6 (LQFP-64 with extended temperature). For cost-sensitive applications with lower memory requirements, STM32G431RET6 is a viable alternative but lacks USB PD and has less flash. STM32G474RET6 offers more comparators and SRAM but no USB PD. For cross-brand, NXP LPC55S69 is a functional alternative but requires PCB redesign due to different package and pinout. Always verify pin compatibility and electrical characteristics before substitution.

Comparison with Alternatives

Parameter This Product STM32G4A1REI6 STM32G4A1REJ6 STM32G431RET6 STM32G474RET6
Package LQFP-64 UFBGA-64 LQFP-64 LQFP-64 LQFP-64
Brand STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics STMicroelectronics
Core Cortex-M4F @ 170 MHz Cortex-M4F @ 170 MHz Cortex-M4F @ 170 MHz Cortex-M4F @ 170 MHz Cortex-M4F @ 170 MHz
Flash Memory 512 KB 512 KB 512 KB 128 KB 512 KB
SRAM 96 KB 96 KB 96 KB 32 KB 128 KB
USB Type-C PD Yes Yes Yes No No
Number of Comparators 3 3 3 3 6
Operating Temperature Range -40C to +85C -40C to +85C -40C to +125C -40C to +85C -40C to +85C

Key Differentiators

  • Integrated USB Type-C Power Delivery controller (vs STM32G431RET6)
  • 512 KB flash memory (vs STM32G431RET6)
  • High-resolution timers with 184 ps resolution (vs STM32G474RET6)

Design Notes

Decouple each VDD pin with a 100 nF ceramic capacitor placed as close as possible to the pin. Add a 4.7 uF bulk capacitor on the main supply. For VDDA, use a ferrite bead in series with the analog supply and a 1 uF capacitor to ground to reduce digital noise coupling into the ADC.

For the LQFP-64 package, ensure a solid ground plane under the MCU. Route high-speed signals (e.g., SPI, USB) with controlled impedance if needed. Keep analog traces short and away from digital switching signals. Use separate analog and digital ground planes connected at a single point.

Do not exceed the absolute maximum ratings: VDD max 3.6V, and any pin voltage must be within -0.3V to VDD+0.3V. Ensure the BOOT0 pin is properly configured to avoid accidental boot from system memory. For ADC accuracy, use an external voltage reference if the internal VREFINT is not sufficient.

Compliance Information

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

RoHS and REACH compliant per STMicroelectronics. Not AEC-Q100 qualified; for automotive, consider STM32G4A1REJ6 with extended temperature range.

Data verified on: 2026-08-13
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