STM32G474RET6 - 170MHz Cortex-M4 MCU 512KB Flash | ST
MPN: STM32G474RET6 ✓ AktifSTM32G474RET6 Ringkasan
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.
Alternatif penggantian untuk STM32G474RET6 — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian STM32G474RET6 (sama faktor bentuk dan footprint) — berbeda di dalam Package, Comparators, SRAM, Flash Memory, Core.
STM32G474RET3
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
STM32G474RBT6
✅ Drop-InKontak untuk harga
Lihat Datasheet →STM32G474CET6
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →STM32G4A1RET6
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →STM32G473RCT6
✅ Drop-InKontak untuk harga
Lihat Datasheet →GD32G474RET6
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
GD32G5xx LQFP-64
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
STM32G474RET6 Rating Maksimal & Karakteristik Listrik
| Core | Arm Cortex-M4F with FPU and DSP instructions |
| Frekuensi Bawah Maximum | 170 MHz |
| Performance | 213 DMIPS |
| Flash Memory | 512 KB |
| SRAM | 128 KB |
| Supply Voltage Range | 1.71 V to 3.6 V |
| Paket | 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 |
| Rentang Suhu Kerja | -40C to +85C (industrial) |
| Tipe Mounting | Surface Mount |
| Status RoHS | Compliant |
Konfigurasi Pin STM32G474RET6
| Pin produk 1 | PB10 — GPIO B10 / HRTIM_CHC1 |
| Pin produk 2 | PB11 — GPIO B11 / HRTIM_CHC2 |
| Pin produk 3 | VSS — Digital ground |
| Pin produk 4 | VDD — Digital supply voltage |
| Pin produk 5 | PA13 — SWDIO (debug data) |
| Pin produk 6 | PA14 — SWCLK (debug clock) |
| Pin produk 7 | PA15 — GPIO A15 / HRTIM_CHB1 |
| Pin produk 8 | PB0 — GPIO B0 / ADC1_IN5 |
| Pin produk 9 | PB1 — GPIO B1 / ADC1_IN6 |
| Pin produk 10 | PB2 — GPIO B2 / BOOT1 |
| Pin produk 11 | VSS — Digital ground |
| Pin produk 12 | VDD — Digital supply voltage |
| Pin produk 13 | PA8 — GPIO A8 / HRTIM_CHA1 |
| Pin produk 14 | PA9 — GPIO A9 / USART1_TX |
| Pin produk 15 | PA10 — GPIO A10 / USART1_RX |
| Pin produk 16 | PA11 — GPIO A11 / USB_DM |
| Pin produk 17 | PA12 — GPIO A12 / USB_DP |
| Pin produk 18 | VSS — Digital ground |
| Pin produk 19 | VDD — Digital supply voltage |
| Pin produk 20 | VREF+ — ADC reference voltage positive |
| Pin produk 21 | VDDA — Analog supply voltage |
| Pin produk 22 | VSSA — Analog ground |
| Pin produk 23 | PA0 — GPIO A0 / ADC1_IN1 |
| Pin produk 24 | PA1 — GPIO A1 / ADC1_IN2 |
| Pin produk 25 | PA2 — GPIO A2 / USART2_TX |
| Pin produk 26 | PA3 — GPIO A3 / USART2_RX |
| Pin produk 27 | PA4 — GPIO A4 / DAC1_OUT1 |
| Pin produk 28 | PA5 — GPIO A5 / DAC1_OUT2 |
| Pin produk 29 | PA6 — GPIO A6 / SPI1_MISO |
| Pin produk 30 | PA7 — GPIO A7 / SPI1_MOSI |
| Pin produk 31 | PB6 — GPIO B6 / I2C1_SCL |
| Pin produk 32 | PB7 — GPIO B7 / I2C1_SDA |
| Pin produk 33 | VSS — Digital ground |
| Pin produk 34 | VDD — Digital supply voltage |
| Pin produk 35 | PB8 — GPIO B8 / CAN1_RX |
| Pin produk 36 | PB9 — GPIO B9 / CAN1_TX |
| Pin produk 37 | PB12 — GPIO B12 / SPI2_NSS |
| Pin produk 38 | PB13 — GPIO B13 / SPI2_SCK |
| Pin produk 39 | PB14 — GPIO B14 / SPI2_MISO |
| Pin produk 40 | PB15 — GPIO B15 / SPI2_MOSI |
| Pin produk 41 | PC13 — GPIO C13 (tamper) |
| Pin produk 42 | PC14 — GPIO C14 / OSC32_IN |
| Pin produk 43 | PC15 — GPIO C15 / OSC32_OUT |
| Pin produk 44 | VSS — Digital ground |
| Pin produk 45 | VDD — Digital supply voltage |
| Pin produk 46 | OSC_IN — HSE oscillator input |
| Pin produk 47 | OSC_OUT — HSE oscillator output |
| Pin produk 48 | NRST — Reset input (active low) |
| Pin produk 49 | VSSA — Analog ground |
| Pin produk 50 | VDDA — Analog supply voltage |
| Pin produk 51 | VREF- — ADC reference voltage negative |
| Pin produk 52 | PB3 — GPIO B3 / SWO |
| Pin produk 53 | PB4 — GPIO B4 / SPI1_NSS |
| Pin produk 54 | PB5 — GPIO B5 / SPI1_SCK |
| Pin produk 55 | PC0 — GPIO C0 / ADC1_IN7 |
| Pin produk 56 | PC1 — GPIO C1 / ADC1_IN8 |
| Pin produk 57 | PC2 — GPIO C2 / ADC1_IN9 |
| Pin produk 58 | PC3 — GPIO C3 / ADC1_IN10 |
| Pin produk 59 | VSS — Digital ground |
| Pin produk 60 | VDD — Digital supply voltage |
| Pin produk 61 | PA13 — SWDIO (alternate) |
| Pin produk 62 | PA14 — SWCLK (alternate) |
| Pin produk 63 | VSS — Digital ground |
| Pin produk 64 | VDD — Digital supply voltage |
Aplikasi Umum
STM32G474RET6 cocok untuk 7 aplikasis: 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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
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.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk STM32G474RET6 — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | 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 |
Diferensiator Kunci
- Highest-density LQFP-64 part with full HRTIM and 512 KB flash (vsSTM32G474RBT6)
- Includes high-resolution timer (HRTIM) with 184 ps PWM resolution (vsSTM32G473RCT6)
- CORDIC and FMAC hardware accelerators for deterministic DSP (vsGD32G474RET6)
Catatan Desain
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.
Informasi Konformitas
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.