STM32G474RET6 - 170MHz Cortex-M4 MCU 512KB Flash | ST
Référence : STM32G474RET6 ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $12.85 | $12,85 |
| 10 | $11.62 | $116,20 |
| 100 | $10.34 | $1 034,00 |
| 500 | $9.18 | $4 590,00 |
| 1 000 | $8.25 | $8 250,00 |
STM32G474RET6 Présentation
A microcontroller (MCU) is a compact integrated circuit that governs a specific operation in an embedded system, integrating a processor core, memory, and programmable peripherals on a single chip. The STM32G474RET6 belongs to the STM32G4 mainstream MCU family, which sits between general-purpose MCUs and digital signal processors within the embedded-processor hierarchy, and is purpose-built for mixed-signal real-time control.
Key features include five 12-bit ADC channels with hardware oversampling (4 MSPS), four 12-bit DAC outputs, six operational amplifiers, four high-speed comparators, and the high-resolution timer (HRTIM) capable of 184 ps PWM resolution. Communication interfaces cover SPI, I2C, USART/UART, CAN FD, and USB 2.0 full-speed. CORDIC and FMAC hardware accelerators offload trigonometric and filter computations, enabling deterministic control loops with reduced CPU overhead.
Architecturally, the device pairs the Cortex-M4F core with an ART accelerator that delivers 0-wait-state flash execution, achieving maximum throughput at the rated 170 MHz clock. The embedded voltage regulator and low-power modes down to a few microamps support energy-conscious designs operating from a 1.71V to 3.6V supply.
Typical applications include field-oriented control (FOC) of brushless DC and permanent-magnet motors, digital power conversion (buck, boost, flyback), solar micro-inverters, and industrial automation. The combination of 5 MSPS-class ADC sampling, on-chip comparators, and HRTIM precision timing is decisive in these high-performance control loops.
Design consideration: keep HRTIM output traces short and routed away from analog signals, and decouple each VDD/VDDA pin with 100 nF ceramics placed as close to the IC as possible to preserve ADC accuracy.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the STMicroelectronics datasheet.
Alternatives de remplacement direct pour STM32G474RET6 — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec STM32G474RET6 (même facteur de forme et même empreinte) — différant par Package, Comparators, Communication Interfaces, Operational Amplifiers, SRAM.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
STM32G474RET3
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
STM32G474RBT6
✅ Remplacement direct✓ En stock
$3.7734 / unité
Voir la fiche technique →STM32G474CET6
✅ Remplacement direct ⚠️ Spécifications non vérifiées✓ En stock
$5.94 / unité
Voir la fiche technique →STM32G4A1RET6
✅ Remplacement direct ⚠️ Spécifications non vérifiées✓ En stock
$5.44 / unité
Voir la fiche technique →STM32G473RCT6
✅ Remplacement direct✓ En stock
$5.44 / unité
Voir la fiche technique →GD32G474RET6
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
GD32G5xx LQFP-64
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
STM32G474RET6 Valeurs maximales et caractéristiques électriques
| Core | Arm Cortex-M4F with FPU and DSP instructions |
| Fréquence d'horloge maximale | 170 MHz |
| Performance | 213 DMIPS |
| Flash Memory | 512 KB |
| SRAM | 128 KB |
| Supply Voltage Range | 1.71 V to 3.6 V |
| Boîtier | 64-pin LQFP (10x10 mm) |
| ADC | 12-bit, 5 MSPS, multiple channels |
| DAC | 12-bit, multiple channels |
| Operational Amplifiers | 6 on-chip |
| Comparators | 4 high-speed |
| High-Resolution Timer (HRTIM) | Yes, 184 ps PWM resolution |
| Hardware Accelerators | CORDIC and FMAC |
| Communication Interfaces | SPI, I2C, USART/UART, CAN FD, USB 2.0 FS |
| Plage de température de fonctionnement | -40C to +85C (industrial) |
| Type de montage | Surface Mount |
| Statut RoHS | Compliant |
Configuration des broches de STM32G474RET6
| Broche 1 | PB10 — GPIO B10 / HRTIM_CHC1 |
| Broche 2 | PB11 — GPIO B11 / HRTIM_CHC2 |
| Broche 3 | VSS — Digital ground |
| Broche 4 | VDD — Digital supply voltage |
| Broche 5 | PA13 — SWDIO (debug data) |
| Broche 6 | PA14 — SWCLK (debug clock) |
| Broche 7 | PA15 — GPIO A15 / HRTIM_CHB1 |
| Broche 8 | PB0 — GPIO B0 / ADC1_IN5 |
| Broche 9 | PB1 — GPIO B1 / ADC1_IN6 |
| Broche 10 | PB2 — GPIO B2 / BOOT1 |
| Broche 11 | VSS — Digital ground |
| Broche 12 | VDD — Digital supply voltage |
| Broche 13 | PA8 — GPIO A8 / HRTIM_CHA1 |
| Broche 14 | PA9 — GPIO A9 / USART1_TX |
| Broche 15 | PA10 — GPIO A10 / USART1_RX |
| Broche 16 | PA11 — GPIO A11 / USB_DM |
| Broche 17 | PA12 — GPIO A12 / USB_DP |
| Broche 18 | VSS — Digital ground |
| Broche 19 | VDD — Digital supply voltage |
| Broche 20 | VREF+ — ADC reference voltage positive |
| Broche 21 | VDDA — Analog supply voltage |
| Broche 22 | VSSA — Analog ground |
| Broche 23 | PA0 — GPIO A0 / ADC1_IN1 |
| Broche 24 | PA1 — GPIO A1 / ADC1_IN2 |
| Broche 25 | PA2 — GPIO A2 / USART2_TX |
| Broche 26 | PA3 — GPIO A3 / USART2_RX |
| Broche 27 | PA4 — GPIO A4 / DAC1_OUT1 |
| Broche 28 | PA5 — GPIO A5 / DAC1_OUT2 |
| Broche 29 | PA6 — GPIO A6 / SPI1_MISO |
| Broche 30 | PA7 — GPIO A7 / SPI1_MOSI |
| Broche 31 | PB6 — GPIO B6 / I2C1_SCL |
| Broche 32 | PB7 — GPIO B7 / I2C1_SDA |
| Broche 33 | VSS — Digital ground |
| Broche 34 | VDD — Digital supply voltage |
| Broche 35 | PB8 — GPIO B8 / CAN1_RX |
| Broche 36 | PB9 — GPIO B9 / CAN1_TX |
| Broche 37 | PB12 — GPIO B12 / SPI2_NSS |
| Broche 38 | PB13 — GPIO B13 / SPI2_SCK |
| Broche 39 | PB14 — GPIO B14 / SPI2_MISO |
| Broche 40 | PB15 — GPIO B15 / SPI2_MOSI |
| Broche 41 | PC13 — GPIO C13 (tamper) |
| Broche 42 | PC14 — GPIO C14 / OSC32_IN |
| Broche 43 | PC15 — GPIO C15 / OSC32_OUT |
| Broche 44 | VSS — Digital ground |
| Broche 45 | VDD — Digital supply voltage |
| Broche 46 | OSC_IN — HSE oscillator input |
| Broche 47 | OSC_OUT — HSE oscillator output |
| Broche 48 | NRST — Reset input (active low) |
| Broche 49 | VSSA — Analog ground |
| Broche 50 | VDDA — Analog supply voltage |
| Broche 51 | VREF- — ADC reference voltage negative |
| Broche 52 | PB3 — GPIO B3 / SWO |
| Broche 53 | PB4 — GPIO B4 / SPI1_NSS |
| Broche 54 | PB5 — GPIO B5 / SPI1_SCK |
| Broche 55 | PC0 — GPIO C0 / ADC1_IN7 |
| Broche 56 | PC1 — GPIO C1 / ADC1_IN8 |
| Broche 57 | PC2 — GPIO C2 / ADC1_IN9 |
| Broche 58 | PC3 — GPIO C3 / ADC1_IN10 |
| Broche 59 | VSS — Digital ground |
| Broche 60 | VDD — Digital supply voltage |
| Broche 61 | PA13 — SWDIO (alternate) |
| Broche 62 | PA14 — SWCLK (alternate) |
| Broche 63 | VSS — Digital ground |
| Broche 64 | VDD — Digital supply voltage |
Applications typiques
STM32G474RET6 convient pour 7 applications: Field-Oriented Control (FOC) Motor Drives, Digital Power Conversion (SMPS), Solar Micro-Inverters and String Inverters, Industrial Servo and Robotics, Wireless Power Charging and EV Chargers, Industrial PLC and Process Control, Audio Amplifiers and Class-D SMPS.
Field-Oriented Control (FOC) Motor Drives
The STM32G474RET6 is purpose-engineered for FOC of PMSM and BLDC motors. Its high-resolution timer delivers 184 ps PWM resolution for low-ripple torque output, while the CORDIC accelerator computes sin/cos/atan2 in hardware for Park and Clarke transforms. The FMAC unit accelerates digital filter routines used in the current loop, freeing CPU bandwidth for higher-level control. With 5 MSPS 12-bit ADC sampling on dedicated channels, current sensing is achieved with sub-microsecond latency, enabling deterministic torque loops even at 50 kHz PWM switching frequency.
Recommandé
Digital Power Conversion (SMPS)
In buck, boost, and flyback converters the STM32G474RET6 excels by combining the HRTIM with multiple high-speed comparators for cycle-by-cycle current limiting. Four on-chip 12-bit DACs provide slope compensation and reference generation without external components, while six integrated operational amplifiers condition current-shunt and voltage-sense signals. The 170 MHz Cortex-M4F executes digital control loops at multi-hundred kHz rates, and the ART Accelerator ensures deterministic interrupt response - critical for keeping the converter stable under transient load conditions.
Recommandé
Solar Micro-Inverters and String Inverters
Photovoltaic inverter designs leverage the STM32G474RET6's combination of high-resolution PWM, fast ADC, and CAN FD communication for MPPT and grid-tie synchronization. The CORDIC accelerator computes the angle and magnitude of the grid voltage vector in real time, supporting phase-locked loop control with sub-degree accuracy. The 512 KB flash stores grid-code lookup tables for multiple regional standards (VDE-AR-N 4105, IEEE 1547), while the 128 KB SRAM buffers instantaneous power calculations during 50/60 Hz line cycles.
Recommandé
Industrial Servo and Robotics
Multi-axis servo controllers benefit from the STM32G474RET6's HRTIM generating precisely synchronized PWM outputs across multiple motor channels. The on-chip comparators provide hardware over-current protection that bypasses software latency, while the CORDIC unit accelerates forward and inverse kinematics computations. CAN FD connectivity links the controller to a centralized motion network at multi-megabit rates, and the rich UART/USART set supports RS-485 servo amplifier interfaces for legacy industrial systems.
Recommandé
Wireless Power Charging and EV Chargers
Wireless charging transmitters and on-board EV chargers rely on the STM32G474RET6 for precise frequency tracking and resonant tank control. The HRTIM's 184 ps resolution adjusts switching frequency to maintain zero-voltage switching across varying coupling conditions, while six on-chip op-amps condition voltage and current sense signals without external analog ICs. The 512 KB flash holds Qi or proprietary charging protocol stacks plus calibration data, and CAN FD serves as the vehicle communication backbone.
Recommandé
Industrial PLC and Process Control
Programmable logic controllers and process automation systems benefit from the STM32G474RET6's rich analog integration and deterministic interrupt response. The 12-bit ADC with hardware oversampling reads multiple 4-20 mA loops simultaneously, while the on-chip op-amps buffer thermocouple and RTD signals before digitization. CAN FD interfaces to distributed I/O modules, USB FS serves the programming port, and the 512 KB flash stores IEC 61131-3 runtime plus application logic, eliminating the need for an external memory IC.
Recommandé
Audio Amplifiers and Class-D SMPS
Class-D audio amplifiers and their integrated switch-mode power supplies leverage the STM32G474RET6's HRTIM for output PWM generation and supply regulation in a single device. The high-resolution timer minimizes output filter distortion while four DAC channels generate analog reference levels for protection circuitry. On-chip comparators provide cycle-by-cycle over-current protection, and the CORDIC accelerator handles real-time audio processing such as parametric EQ and dynamic range compression without external DSP chips.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour STM32G474RET6 — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | STM32G474RET3 | STM32G474RBT6 | STM32G474CET6 | STM32G4A1RET6 | STM32G473RCT6 | GD32G474RET6 |
|---|---|---|---|---|---|---|---|
| Package | LQFP-64 (10x10 mm) | LQFP-64 (10x10 mm) - same | LQFP-64 (10x10 mm) - same | LQFP-48 - smaller | LQFP-64 (10x10 mm) - same | LQFP-64 (10x10 mm) - same | LQFP-64 (10x10 mm) - same |
| Brand | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | GigaDevice |
| Core | Arm Cortex-M4F | Arm Cortex-M4F | Arm Cortex-M4F | Arm Cortex-M4F | Arm Cortex-M4F | Arm Cortex-M4F | Arm Cortex-M4F class |
| Flash | 512 KB | 512 KB | 128 KB | 512 KB | 512 KB | 256 KB | 512 KB |
| SRAM | 128 KB | 128 KB | 128 KB | 128 KB | 128 KB | 128 KB | 128 KB |
| Max Clock Frequency | 170 MHz | 170 MHz | 170 MHz | 170 MHz | 170 MHz | 170 MHz | 170 MHz |
| High-Resolution Timer (HRTIM) | Yes | Yes | Yes | Yes | Yes | No | Yes |
| CORDIC/FMAC Accelerators | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| CAN FD | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
Principaux différenciateurs
- Highest-density LQFP-64 part with full HRTIM and 512 KB flash (vs STM32G474RBT6)
- Includes high-resolution timer (HRTIM) with 184 ps PWM resolution (vs STM32G473RCT6)
- CORDIC and FMAC hardware accelerators for deterministic DSP (vs GD32G474RET6)
Notes de conception
Decouple each VDD/VDDA pin with a 100 nF ceramic capacitor placed within 2-3 mm of the pin. Add a bulk 4.7 uF capacitor near the package to handle ADC sampling transients. Separate analog (VDDA/VREF+) and digital (VDD) supplies if the application requires the cleanest ADC performance; otherwise tie them together with a ferrite bead filter to isolate digital switching noise from the analog domain.
Route HRTIM output traces short and direct, keeping them away from analog signal paths and sensitive oscillator traces. Use a ground plane under the device to minimize EMI. The HSE crystal or external clock must be placed close to OSC_IN/OSC_OUT pins with short symmetric traces to maintain signal integrity at 8-16 MHz and minimize jitter at the PLL output.
Estimated: at 170 MHz core clock with all peripherals active, the device draws approximately 80-100 mA from VDD. Ensure your regulator can supply this peak current with adequate headroom. The NRST pin requires a 10 kOhm pull-up and a 100 nF capacitor to ground for proper reset behavior. Do not leave unused GPIO pins floating - configure them as analog inputs to minimize current consumption.
Informations de conformité
RoHS and REACH compliant per ST product page. Industrial-grade temperature range (-40C to +85C). AEC-Q100 qualification not available for this industrial variant - consider STM32G474RET3 (different temperature grade) for automotive-adjacent applications, or dedicated automotive-grade STM32 parts.