STMicroelectronics

STM32G4A1RET6 - 170MHz Arm Cortex-M4F MCU | STMicroelectronics

料号: STM32G4A1RET6 ✓ 量产中
有现货 1-3 个工作日内发货
1.71 V to 3.6 V Vdss LQFP-64 (10x10 mm) Package 170 MHz Speed 512 KB Memory
低至 $5.44 USD / 件
最小起订量: 1 |
价格更新于: 2026-08-13
批量定价
数量 单价 小计
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
ℹ️ 所有价格均以 USD 计价

STM32G4A1RET6 概述

The STMicroelectronics STM32G4A1RET6 is a high-performance 32-bit microcontroller based on the Arm Cortex-M4 core with floating-point unit (FPU), operating at up to 170 MHz. It is part of the STM32G4 series, designed for advanced motor control, industrial automation, and digital power conversion applications. The device is housed in a 64-pin LQFP package (10x10 mm) and offers a rich set of analog and digital peripherals.

A microcontroller (MCU) is a compact integrated circuit designed to govern a specific operation in an embedded system. It contains a processor core, memory, and programmable input/output peripherals on a single chip. The STM32G4A1RET6 belongs to the STM32G4 family, which is optimized for mixed-signal applications requiring high-resolution timers, fast ADCs, and advanced analog features. This MCU sits within the broader hierarchy of embedded processors, bridging general-purpose microcontrollers and digital signal processors (DSPs) with its FPU and DSP instructions.

Key features include a 170 MHz Arm Cortex-M4F core with DSP instructions and FPU, 512 KB of flash memory, and 96 KB of SRAM. It integrates a 12-bit ADC with hardware oversampling (up to 16-bit resolution), two 12-bit DACs, three fast comparators, and operational amplifiers. The device also includes advanced motor-control timers, a USB Type-C Power Delivery controller, and a CAN-FD interface. These features enable precise real-time control and efficient signal processing in demanding applications.

The STM32G4A1RET6 is built on a high-performance architecture with a nested vectored interrupt controller (NVIC) and a memory protection unit (MPU). It supports a wide supply voltage range of 1.71V to 3.6V and operates over a temperature range of -40°C to +85°C. The device includes multiple low-power modes, including Sleep, Stop, and Standby, to optimize energy consumption. Its advanced analog peripherals are designed to work seamlessly with the digital core, reducing external component count and system cost.

Typical applications include field-oriented control (FOC) of brushless DC motors, digital power supplies (e.g., LLC converters), solar inverters, and industrial sensors. The high-resolution timers (up to 184 ps resolution) and fast ADCs make it ideal for power conversion loops requiring high bandwidth. The USB Type-C PD controller simplifies implementation of power delivery in consumer and industrial devices.

When designing with this MCU, pay attention to the power supply decoupling: place a 100 nF capacitor close to each VDD pin and a 4.7 uF bulk capacitor. For analog performance, use a separate VDDA supply with a ferrite bead to isolate digital noise. The internal reference voltage (VREFINT) can be used for ADC calibration, but for higher accuracy, an external reference is recommended.

直接替换替代料: STM32G4A1RET6 ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。

本系列中的变体

可与以下型号直接替换的同系列型号: STM32G4A1RET6 (相同外形与封装尺寸) ——差异在于 Communication Interfaces, Core, Flash Memory, Operating Temperature Range, Package.

STMicroelectronics
Communication Interfaces: SPI, I2C, USART, CAN FD, USB
Core: ARM Cortex-M4 with FPU
Flash Memory: 256 KB
对比 STM32G4A1RET6 →
STMicroelectronics
Communication Interfaces: SPI, I2C, USART/UART, CAN FD, USB 2.0 FS
Core: Arm Cortex-M4F with FPU and DSP instructions
Operating Temperature Range: -40C to +85C (industrial)
对比 STM32G4A1RET6 →

快速对比工具——选择替代料号进行并排对比:

STM32G4A1REI6

✅ 直接替换 ⚠️ 规格未核验
STMicroelectronics
📦 UFBGA-64
32-bit Arm Cortex-M4F microcontroller · STMicroelectronics · 170 MHz · Arm Cortex-M4F · 32 bit · 512 KB · 512K x 8 · 64-UFBGA (5 x 5 mm)

✓ 有现货

联系询价

查看数据手册 →

STM32G4A1REJ6

✅ 直接替换 ⚠️ 规格未核验
📦 LQFP-64
Same package and pinout, but different temperature grade (industrial vs extended)

📋 参考替代料(不在目录中)

STM32G431RET6

⚡ 相同封装 ⚠️ 规格未核验
📦 LQFP-64
Lower flash (128 KB vs 512 KB), no USB PD, fewer timers

📋 参考替代料(不在目录中)

STM32G474RET6

✅ 直接替换 ⚠️ 规格未核验
STMicroelectronics
📦 LQFP-64
Arm Cortex-M4F with FPU and DSP instructions · 170 MHz · 213 DMIPS · 512 KB · 128 KB · 1.71 V to 3.6 V · 64-pin LQFP (10x10 mm) · 12-bit, 5 MSPS, multiple channels

✓ 有现货

$8.25 / 个

查看数据手册 →
ℹ️ 1 个跨封装料号已隐藏——不同封装需要 PCB 改动,并非真正的直接替换。 联系我们 如果您需要跨封装建议。

STM32G4A1RET6 最大额定值与电气特性

Core Arm Cortex-M4F with FPU
最大时钟频率 170 MHz
Flash Memory 512 KB
SRAM 96 KB
Supply Voltage Range 1.71 V to 3.6 V
工作温度范围 -40C to +85C
封装 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 状态 Compliant

STM32G4A1RET6 引脚配置

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

典型应用

STM32G4A1RET6 适用于 6 应用s: 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.

推荐产品汇总

STGIPQ5C60T-HZ IPM for motor drive 用于: Field-Oriented Control (FOC) of Brushless DC Motors ACS712 Allegro MicroSystems 用于: Field-Oriented Control (FOC) of Brushless DC Motors IR2153 Gate driver 用于: Digital Power Supplies (LLC Converters) TL431 Voltage reference 用于: Digital Power Supplies (LLC Converters) IRFP460 Power MOSFET 用于: Solar Inverters ISO7741 Isolation 用于: Solar Inverters ADXL345 Accelerometer 用于: Industrial Sensors and Condition Monitoring TMP117 Texas Instruments 用于: Industrial Sensors and Condition Monitoring USB-C Connector Connector 用于: USB Type-C Power Delivery Adapters TPS25750 Alternative PD controller 用于: USB Type-C Power Delivery Adapters MPU6050 IMU 用于: Robotics and Drones ESC Electronic speed controller 用于: 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.
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.

工程参考数据: STM32G4A1RET6 ——对比、设计指导和合规信息。

选型指南

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.

与替代料对比

参数 本产品 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

关键差异点

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

设计说明

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.

合规信息

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
无铅
Yes
无卤
Yes
冲突矿物
Compliant

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

数据核验日期: 2026-08-13 ——数据由 XAIPART 元器件工程团队核验和整理

相关搜索

STM32G4A1RET6 STM32G4A1RET6 datasheet STMicroelectronics STM32G4A1RET6 170MHz Cortex-M4F MCU LQFP-64 microcontroller STM32G4A1RET6 motor control STM32G4A1RET6 vs STM32G431RET6 STM32G4A1RET6 drop-in replacement STM32G4A1RET6 price what is the flash size of STM32G4A1RET6 STM32G4A1RET6 pinout USB Type-C PD MCU

相关元器件 & 术语

STMicroelectronics STM32G4A1RET6 STM32G4A1REI6 STM32G4A1REJ6 STM32G431RET6 STM32G474RET6 Arm Cortex-M4F FPU LQFP-64 UFBGA-64 USB Type-C Power Delivery CAN-FD ADC DAC RoHS REACH motor control digital power field-oriented control high-resolution timer
快速报价
填写完整信息——我们的销售团队将在 24 小时内回复
料号 制造商 封装 QTY 目标价 小计
合计: $0.00 USD
✓
报价已提交!

我们将在 24 小时内回复您的邮件

1
询价已提交
2
已收到报价
3
已下单
4
支付
5
已发货
6
已送达
查看询价详情