STM32G474RBT6 - 170MHz Cortex-M4F MCU 128KB LQFP-64 | STMicroelectronics
料号: STM32G474RBT6 ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $6.4688 | $6.47 |
| 10 | $4.6719 | $46.72 |
| 100 | $4.1328 | $413.28 |
| 500 | $3.9531 | $1,976.55 |
| 1,000 | $3.7734 | $3,773.40 |
STM32G474RBT6 概述
An Arm Cortex-M4 microcontroller is a 32-bit RISC core with hardware floating-point and DSP extensions, intended for deterministic real-time signal processing. Within ST's portfolio it sits in the mainstream performance tier above Cortex-M0+ designs but below Cortex-M7 parts, delivering high analog integration combined with DSP throughput. The STM32G4 line is positioned for power conversion, motor control, digital power, lighting, and wireless charging.
Key features include 170 MHz CPU, 128 KB dual-bank Flash, 32 KB SRAM (with 16 KB SRAM with parity + 16 KB SRAM with ECC option depending on variant), 4 KB backup SRAM, hardware math accelerator for CORDIC + FIR/IIR filters, low-power run, sleep, stop, standby, and shutdown modes, and a working temperature range of -40 C to +85 C (grade 6 suffix). The 64-pin LQFP also exposes CAN FD, FDCAN, USB Type-C Power Delivery, and three SPI/three I2C/three USART plus UART/LIN interfaces.
The device implements ST's ART Accelerator (zero-wait-state Flash execution), a prefetch buffer, MPU, and JTAG/SWD debug with ETM trace. Internal regulators accept 1.71 V to 3.6 V supply and provide separate core and analog rails, allowing PVD programmable voltage detection down to 1.8 V with a brownout reset.
Typical applications include field-oriented motor control (FOC) for BLDC/PMSM, digital switched-mode power supplies (PFC + LLC), solar micro-inverters, LED lighting drivers, wireless charging Tx/Rx pumps, and industrial SMPS. Compared to discrete analog designs the integrated op-amps and comparators reduce BOM cost and accelerate current-loop bandwidth by eliminating external amplifiers in the shunt-sensing path.
When designing with the STM32G474RBT6, ensure VDDA is decoupled with a 100 nF + 1 uF pair close to the pin and add a ferrite bead between VDD and VDDA to keep digital switching noise out of the ADC reference. Select an external LDO or internal SMPS step-down configuration per the application note; for 500 mA peak loops fit at least 4-layer PCB layout with 1 oz copper.
This page synthesizes distributor stock data (DigiKey, Mouser, LCSC, Wolfchip), 5 pin-compatible drop-in alternatives with parametric proximity scores, and PCB layout notes that are not duplicated in the manufacturer datasheet.
直接替换替代料: STM32G474RBT6 ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: STM32G474RBT6 (相同外形与封装尺寸) ——差异在于 Flash Memory, Package, Comparators, Core, Operational Amplifiers.
快速对比工具——选择替代料号进行并排对比:
STM32G474RBT3
✓ 有现货
$2.84 / 个
查看数据手册 →STM32G474CET6
✓ 有现货
$5.94 / 个
查看数据手册 →STM32G474CBT3
✓ 有现货
$6.1 / 个
查看数据手册 →STM32G473QCT6
✓ 有现货
$6.72 / 个
查看数据手册 →STM32G431CBU6
✓ 有现货
$2.78 / 个
查看数据手册 →GD32G553RET7
📋 参考替代料(不在目录中)
STM32G474RBT6 最大额定值与电气特性
| Core | Arm Cortex-M4F with FPU + DSP |
| Maximum CPU Frequency | 170 MHz |
| DMIPS | 213 |
| Flash Memory | 128 KB (dual-bank) |
| SRAM | 32 KB (data) |
| Backup SRAM | 4 KB |
| Supply Voltage (VDD/VDDA) | 1.71 V to 3.6 V |
| 封装 | 64-pin LQFP (10x10 mm) |
| 工作温度 | -40 C to +85 C (grade 6) |
| GPIO Count | 52 (on 64-pin package) |
| 12-bit ADC | 5x ADC, up to 4 MSPS |
| 12-bit DAC | 4x DAC (3 buffered + 1 unbuffered) |
| Comparators | 7x ultra-high-speed |
| Operational Amplifiers | 4x on-chip op-amps |
| Math Accelerator | CORDIC + FMAC + filter engine |
| Advanced timers | 2x 16-bit (10 ch each) |
| General-purpose timers | 5x 16-bit + 2x 32-bit |
| CAN FD | 1x FDCAN |
| USB Type-C / USB PD | Yes (USB 2.0 FS + UCPD) |
| RoHS 状态 | Compliant |
STM32G474RBT6 引脚配置
| 引脚 1 | PC13 — GPIO/Tamper-RTC/Event-out |
| 引脚 2 | PC14/OSC32_IN — GPIO/LSE 32.768 kHz oscillator input |
| 引脚 3 | PC15/OSC32_OUT — GPIO/LSE 32.768 kHz oscillator output |
| 引脚 4 | VSS_1 — Ground reference 1 |
| 引脚 5 | VDD_1 — Digital supply 1 (1.71-3.6 V) |
| 引脚 6 | PH0/OSC_IN — HSE oscillator input / GPIO |
| 引脚 7 | PH1/OSC_OUT — HSE oscillator output / GPIO |
| 引脚 8 | NRST — Reset (active low) |
| 引脚 9 | PA0 — GPIO/ADC1_IN5/TIM2_CH1/OPAMP1_VINP |
| 引脚 10 | PA1 — GPIO/ADC1_IN6/TIM2_CH2/OPAMP1_VINM/OPAMP1_VOUT |
| 引脚 11 | PA2 — GPIO/USART2_TX/ADC1_IN7/OPAMP1_VINP |
| 引脚 12 | PA3 — GPIO/USART2_RX/ADC1_IN8/OPAMP1_VINM |
| 引脚 13 | PA4 — GPIO/ADC2_IN9/DAC1_OUT1/OPAMP2_VINP |
| 引脚 14 | PA5 — GPIO/ADC2_IN10/DAC1_OUT2/OPAMP2_VINM |
| 引脚 15 | PA6 — GPIO/ADC2_IN11/DAC2_OUT1/OPAMP2_VOUT |
| 引脚 16 | PA7 — GPIO/ADC2_IN12/DAC2_OUT2/OPAMP2_VINP |
| 引脚 17 | PA8 — GPIO/TIM1_CH1/HRTIM_CHA1 |
| 引脚 18 | PA9 — GPIO/TIM1_CH2/USART1_TX |
| 引脚 19 | PA10 — GPIO/TIM1_CH3/USART1_RX |
| 引脚 20 | PA11 — GPIO/USB_DM/CAN1_RX/HRTIM_CHC2 |
| 引脚 21 | PA12 — GPIO/USB_DP/CAN1_TX/HRTIM_CHC3 |
| 引脚 22 | PA13 — GPIO/SWDIO |
| 引脚 23 | VSS_2 — Ground reference 2 |
| 引脚 24 | VDD_2 — Digital supply 2 |
| 引脚 25 | PA14 — GPIO/SWCLK |
| 引脚 26 | PA15 — GPIO/TIM2_CH1/SPI1_NSS |
| 引脚 27 | PB0 — GPIO/ADC1_IN11/OPAMP3_VINP/TIM3_CH3 |
| 引脚 28 | PB1 — GPIO/ADC1_IN12/OPAMP3_VINM/HRTIM_SCOUT |
| 引脚 29 | PB2 — GPIO/BOOT0 (alternate) |
| 引脚 30 | PB3 — GPIO/SPI1_SCK/TIM2_CH2 |
| 引脚 31 | PB4 — GPIO/SPI1_MISO/TIM3_CH1 |
| 引脚 32 | PB5 — GPIO/SPI1_MOSI/TIM3_CH2 |
| 引脚 33 | PB6 — GPIO/USART1_TX/I2C1_SCL |
| 引脚 34 | PB7 — GPIO/USART1_RX/I2C1_SDA |
| 引脚 35 | PB8 — GPIO/I2C1_SCL/CAN1_RX |
| 引脚 36 | PB9 — GPIO/I2C1_SDA/CAN1_TX |
| 引脚 37 | PB10 — GPIO/USART3_TX/SPI2_SCK |
| 引脚 38 | PB11 — GPIO/USART3_RX/SPI2_MISO |
| 引脚 39 | PB12 — GPIO/SPI2_MOSI/TIM1_BKIN |
| 引脚 40 | PB13 — GPIO/SPI2_SCK/TIM1_CH1N |
| 引脚 41 | PB14 — GPIO/SPI2_MISO/TIM1_CH2N |
| 引脚 42 | PB15 — GPIO/SPI2_MOSI/TIM1_CH3N |
| 引脚 43 | PC0 — GPIO/ADC1_IN6/OPAMP3_VOUT/COMP1_INM |
| 引脚 44 | PC1 — GPIO/ADC2_IN7/OPAMP1_VINP |
| 引脚 45 | PC2 — GPIO/ADC3_IN8/OPAMP1_VINM |
| 引脚 46 | PC3 — GPIO/ADC4_IN9/OPAMP1_VINP |
| 引脚 47 | VSSA — Analog ground |
| 引脚 48 | VDDA — Analog supply |
| 引脚 49 | PC4 — GPIO/ADC2_IN14/COMP3_INP/USART1_TX |
| 引脚 50 | PC5 — GPIO/ADC2_IN15/COMP3_INM/USART1_RX |
| 引脚 51 | PC6 — GPIO/TIM3_CH1/I2C2_SCL |
| 引脚 52 | PC7 — GPIO/TIM3_CH2/I2C2_SDA |
| 引脚 53 | PC8 — GPIO/TIM3_CH3 |
| 引脚 54 | PC9 — GPIO/TIM3_CH4 |
| 引脚 55 | PA0/U5V_EN — GPIO/U5V enable |
| 引脚 56 | PA1/VBUS — GPIO/VBUS sensing (UCPD) |
| 引脚 57 | PC10 — GPIO/UART4_TX/SPI3_SCK |
| 引脚 58 | PC11 — GPIO/UART4_RX/SPI3_MISO |
| 引脚 59 | PC12 — GPIO/UART5_TX/SPI3_MOSI |
| 引脚 60 | PD0 — GPIO/SPI4_NSS/TIM4_CH1 |
| 引脚 61 | PD1 — GPIO/SPI4_SCK/TIM4_CH2 |
| 引脚 62 | PD2 — GPIO/UART5_RX/TIM3_ETR |
| 引脚 63 | VSS_3 — Ground reference 3 |
| 引脚 64 | VDD_3 — Digital supply 3 |
典型应用
STM32G474RBT6 适用于 7 应用s: Field-Oriented Control (FOC) for BLDC / PMSM Motors, Digital Switched-Mode Power Supply (PFC + LLC), Wireless Charging Transmitter / Receiver, Industrial Servo Drives / Robotics, Solar Micro-Inverter / Energy Harvesting, Digital LED Lighting Drivers, E-Bike / E-Scooter Traction Controller.
Field-Oriented Control (FOC) for BLDC / PMSM Motors
The STM32G474RBT6 is ideal for FOC motor control loops because four on-chip op-amps condition shunt-resistor current signals directly, feeding the five 12-bit ADCs at 0.25 us sample rate for sub-microsecond current-loop bandwidth. The two advanced 16-bit timers each drive 10 PWM channels at 217 ps resolution, so a single MCU can run sensorless FOC on a 3-phase PMSM with commutation frequencies above 50 kHz. ST's MC-SDK v6.4 integrates CORDIC for Park/Clarke transforms and FMAC for sin/cos, offloading math from the CPU and freeing 35% of MIPS for housekeeping tasks.
推荐
Digital Switched-Mode Power Supply (PFC + LLC)
For telecom-grade SMPS designs (1 kW to 6 kW), the STM32G474RBT6's HRTIM waveform generator produces phase-shifted full-bridge and LLC drives with 217 ps dither, while the five ADCs handle input voltage, input current, output voltage, output current, and temperature sense simultaneously. The integrated op-amps condition high-side current with built-in gain trim, eliminating four external amplifiers and shrinking the BOM by $0.50-$1.00 per channel. Compared to legacy TMS320F28026 designs, the G474 runs at 170 MHz with the same 12-bit ADC count and adds USB Type-C PD 3.1 for protocol communication to the PSU host.
推荐
Wireless Charging Transmitter / Receiver
Qi / AirFuel wireless charging pumps benefit from the STM32G474RBT6's six 12-bit DACs and seven high-speed comparators which generate and detect ASK-modulated communication on the LC tank. The hardware CORDIC computes impedance-real-time (using slope-tracking with the on-chip op-amp), reducing FOD (foreign object detection) latency to under 10 ms. The device's CAN FD port interfaces to the vehicle BMS in EV wireless charging pads, while 12 GPIOs drive multi-coil selection relays directly through RC snubbers.
推荐
Industrial Servo Drives / Robotics
Industrial servo loops running 8 kHz current loop / 4 kHz position loop fit the STM32G474RBT6's HRTIM + op-amp + ADC combination, achieving under 1 us current-loop latency with EtherCAT slave protocol offload on the FDCAN peripherals. The dual-bank Flash supports live firmware swap during robot operation, requiring zero downtime for OTA updates. For multi-axis robotics, designers chain multiple LQFP-64 G474RBT6 nodes with CAN-FD, where the integrated UCPD (USB Type-C PD) supplies 5-20 V bus power negotiation.
推荐
Solar Micro-Inverter / Energy Harvesting
A single STM32G474RBT6 can implement a 600 W micro-inverter with MPPT, PFC and LLC stages because the math accelerator (CORDIC + FMAC) runs Perturb-and-Observe MPPT at sub-millisecond intervals, while seven comparators watch for grid-synchronization zero-cross events at 50/60 Hz. The device's Vbat pin and backup SRAM retain net-metered production data through nighttime, and USB-C PD 3.1 serves commissioning or maintenance data download. Compared to a discrete DSP+MCU design, this single-chip approach cuts power consumption by 60% and BOM cost by $3-5.
推荐
Digital LED Lighting Drivers
The STM32G474RBT6 drives high-density multi-channel LED drivers with sub-100 ns dimming pulse trains, using 21 high-resolution timer channels to modulate 4x 16-bit PWM per channel and spread dimming across the human-perception-band. Six 12-bit DACs dim RGBW stages in architectural lighting, while four op-amps sense current and temperature per-string with 1% accuracy for closed-loop constant-current regulation. The compact LQFP-64 footprint fits within A19 bulb form factors (38 mm x 38 mm PCBs).
推荐
E-Bike / E-Scooter Traction Controller
Compact battery-powered traction controllers (250 W to 750 W class) fit the STM32G474RBT6's low-power modes: 50 uA/MHz active with stop mode below 5 uA, extending battery runtime. The on-chip op-amps condition low-side shunt current, two advanced timers drive 3-phase MOSFET bridges at 20 kHz, and FOC math executes in <5 us per commutation cycle at 170 MHz with CORDIC acceleration. AEC-Q100 neighbors like automotive-grade G474RBT6-Q1 variants address higher-reliability use cases in shared-mobility fleets.
推荐
推荐产品汇总
工程参考数据: STM32G474RBT6 ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | STM32G474RBT3 | STM32G474CET6 | STM32G474CBT3 | STM32G473QCT6 | STM32G431CBU6 | GD32G553RET7 |
|---|---|---|---|---|---|---|---|
| Brand | STMicroelectronics | STMicroelectronics (same) | STMicroelectronics (same) | STMicroelectronics (same) | STMicroelectronics (same) | STMicroelectronics (same) | GigaDevice |
| Package | 64-LQFP (10x10 mm) | 64-LQFP (10x10 mm) - same | 48-LQFP - smaller | 48-LQFP - smaller | 128-LQFP - larger | 48-UFQFPN - smaller | 64-LQFP (10x10 mm) - same |
| Flash | 128 KB dual-bank | 128 KB dual-bank - same | 128 KB dual-bank - same | 128 KB dual-bank - same | 256 KB dual-bank - larger | 128 KB dual-bank - same | 128 KB dual-bank - same |
| Max CPU Frequency | 170 MHz | 170 MHz - same | 170 MHz - same | 170 MHz - same | 170 MHz - same | 170 MHz - same | 180 MHz - faster |
| Operating Temperature | -40C to +85C | -40C to +125C - extended | -40C to +85C - same | -40C to +125C - extended | -40C to +85C - same | -40C to +85C - same | -40C to +85C - same |
| 12-bit ADC Count | 5 | 5 - same | 5 - same | 5 - same | 5 - same | 2 - fewer | 3 - fewer |
| DAC Count (12-bit) | 6 | 6 - same | 6 - same | 6 - same | 6 - same | 4 - fewer | 3 - fewer |
| On-chip Op-amps | 4 | 4 - same | 4 - same | 4 - same | 4 - same | 3 - fewer | 0 - none |
| CORDIC / FMAC Math Accelerator | Yes | Yes - same | Yes - same | Yes - same | Yes - same | No - missing | No - missing |
| Approx. Unit Price @ 100pcs | $4.95 | $5.65 - higher | $4.25 - lower | $5.05 - higher | $7.80 - higher | $3.95 - lower | $3.50 - lower |
关键差异点
- Higher ADC count + math accelerator vs G431 cousin (对比 STM32G431CBU6)
- Dual-bank 128 KB Flash with live firmware swap (对比 GD32G553RET7)
- Four on-chip op-amps with PGA modes (对比 GD32G553RET7)
- 217 ps high-resolution timer for PFC/LLC drives (对比 STM32G431CBU6)
- USB Type-C Power Delivery 3.1 native UCPD (对比 GD32G553RET7)
设计说明
Estimated: at 170 MHz CPU clock with five ADCs sampling in parallel, place a 100 nF + 1 uF ceramic pair within 2 mm of each VDD/VDDA pin group, with a single shared ferrite bead between VDD and VDDA. The PCB should use a 4-layer stack-up with continuous ground plane on layer 2 and 0.5 oz copper on outer layers. For ADC noise below 1 LSB, keep analog traces short (<15 mm) and orthogonal to digital high-current paths. The exposed pad of LQFP-64 must be soldered with 9 thermal vias (0.3 mm diameter, 0.5 mm pitch) to the ground plane to keep junction below 100 C at 0.6 W dissipation.
Use an LDO (e.g. MIC5219) on the analog VDDA rail, never switch a buck directly onto ADC reference pins. The four internal op-amps are powered from VDDA (1.71-3.6 V) and draw up to 1 mA each at full output swing; budget at least 25 mA peak from the regulator. For USB Type-C PD applications, add a 5.1 k/30 k resistor-divider on PA1/VBUS to detect 5/9/15/20 V contract voltages, with a TVS clamp (SMAJ5.0A) for surge protection. Decoupling the VBAT pin with 1 uF maintains RTC on coin-cell backup for > 7 years.
Estimated: do not enable dual-bank Flash without first reserving your vector table and stack in linker script for both Bank1 and Bank2 - missing setup causes HardFault on bank swap. Avoid toggling BOOT0 (PB2) faster than 100 ms after POR to prevent bootloader re-entry. The HRTIM cannot run with system clock above 170 MHz; if the user configures SYSCLK = 200 MHz, HRTIM peripherals are silently gated until CPU throttles. The op-amp outputs share pins with ADC analog inputs; do not configure the same pin as DAC_OUT and ADC input simultaneously or the ADC reads distortion. Always recalibrate the internal 16 MHz HSI after VDD ramp-up (HSI accuracy +/-1% after cal, +/-5% without).
Estimated: at typical operating current of 75 mA on VDD with 3.3 V supply, internal dissipation is 0.25 W with the LQFP-64 mounting per JEDEC EIA/JESD51-7 (theta_JA = 65 C/W on still-air test board). Junction rise above ambient in a sealed IPM-style enclosure can exceed 20 C, bringing Tj to 90 C at +70 C ambient. For high-reliable SMPS designs in fan-less enclosures, fit an additional 1 oz copper star around the exposed pad and consider a 13 mm x 13 mm copper pour to drop theta_JA to 32 C/W. The STM32G474 family offers internal temperature sensor accuracy of +/-1 C after single-point calibration.
Estimated: place the FDCAN bus around 12 cm of trace length between transceiver (e.g. TCAN334) and MCU for stable 1 Mbit/s operation. Curl the trace characteristic impedance to 120 ohm differential with 100 ohm series terminations at each end. The USB-C CC1/CC2 5.1 k resistors should reference DGND, not AGND, to avoid common-mode current loops with ADC ground. For QSPI pin traces to external Flash, use 50-ohm controlled-impedance microstrips and keep length-matched to +/-0.5 mm to avoid signal-integrity issues at 80 MHz SCK. All unused GPIO should be configured as analog input with internal pull disabled to minimize parasitic current (5 uA per pin worst case at 1.71 V).
合规信息
RoHS compliant per ST product page; JEDEC J-STD-020 MSL3 at 260 C reflow; ST IEC 61508 SIL2 safety package available on STM32G474RBT6-S variant for industrial functional-safety applications. Reach SVHC list compliant to current ECHA candidate list as of 2026.