STM32G474CBT3 - 170MHz Cortex-M4 MCU, 128KB Flash, LQFP-48 | STMicroelectronics
MPN: STM32G474CBT3 ✓ פעילSTM32G474CBT3 סקירה
An ARM Cortex-M4 microcontroller is a 32-bit RISC processor core licensed by Arm Holdings that combines Thumb-2 instruction set efficiency with optional single-precision floating-point unit (FPU), DSP extensions, and a deterministic nested vectored interrupt controller. The Cortex-M4 sits in the hierarchy ARM Cortex-M family -> ARM Cortex-M processor -> 32-bit MCU -> microcontroller, and the STM32G4 family extends this lineage with high analog integration that bridges the gap between digital MCUs and dedicated mixed-signal DSPs.
Key features of the STM32G474CBT3 include: 170 MHz Cortex-M4F with FPU + DSP instructions; 128 KB Flash with ECC and 128 KB SRAM (including 16 KB SRAM with parity); five 12-bit 5Msps ADCs totaling 60 Msps aggregate throughput; four 12-bit DAC channels (12 MHz sample rate); seven comparators with rail-to-rail inputs; six op-amps with programmable gain up to 16x; HRTIM 184 ps resolution with 12 channels and 10 PWM outputs; and a math accelerator (CORDIC + FMAC) for trigonometric and filtering algorithms offloaded from the CPU.
The architecture uses ST's 90 nm embedded Flash process with dual-bank Flash supporting read-while-write, four DMA controllers with 16 streams, and communication peripherals including three FDCAN, three SPI (50 Mbit/s), three I2C fast-mode plus, four USART/UART, one USB 2.0 FS device/host, and one SDMMC interface. The device supports operating voltages from 1.71 V to 3.6 V, has four low-power modes (Sleep, Stop0/1/2, Standby, Shutdown), and integrates a 4 KB backup SRAM with optional battery domain.
Typical applications include digital switched-mode power supplies (SMPS), field-oriented control (FOC) motor drives, solar micro-inverters, LED lighting controllers, wireless charging transmitters, audio amplifiers and effects processors, industrial PLCs, and USB Type-C power delivery controllers. The integrated op-amps and comparators allow direct current sensing without external analog front-end components, reducing BOM cost in motor and power designs.
When designing with the STM32G474CBT3, ensure VDD is decoupled with 100 nF + 4.7 uF close to each supply pin, and respect the absolute maximum of 4.0 V on VDD. For high-dt/di motor drive outputs, place the MCU at least 10 mm away from switching node traces to avoid coupling into the analog inputs. Use STM32CubeMX and the HAL/LL driver library for firmware scaffolding, and the STM32CubeIDE for debug and build.
This page synthesizes real-time distributor stock and pricing, the official ST datasheet, drop-in same-package alternatives from STMicroelectronics and competitor brands, and practical design notes that go beyond the datasheet application-curcuit section.
חלופות תחליף ישיר עבור STM32G474CBT3 — אותו מארז, תואם פין-לפין. חלקים במארז שונה הדורשים עיבוד מחדש של ה-PCB אינם נכללים.
וריאנטים בסדרה זו
דגמים מאותה סדרה התואמים Drop-in עם STM32G474CBT3 (אותו גורם צורה וטביעת רגל) — שונים ב Comparators, Package, SRAM, ADC, Operational Amplifiers.
STM32G484CBT3
✅ Drop-In📋 חלופה להתייחסות (לא בקטלוג)
STM32G473QCT6
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←STM32G431CBU6
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←STM32G474RBT3
✅ Drop-In ⚠️ מפרטים לא מאומתיםצור קשר לקבלת מחיר
הצג גיליון נתונים ←GD32G553RBT3
✅ Drop-In📋 חלופה להתייחסות (לא בקטלוג)
STM32G474CBT3 דירוגים מרביים ומאפיינים חשמליים
| Core | Arm Cortex-M4F with FPU and DSP instructions |
| תדר שעון מקסימלי | 170 MHz |
| DMIPS | 213 DMIPS |
| Flash Memory | 128 KB |
| SRAM | 128 KB (includes 16 KB parity SRAM) |
| Operating Voltage Range | 1.71 V to 3.6 V |
| מארז | 48-LQFP (7x7 mm) |
| מספר פינים | 48 |
| ADC | 5 x 12-bit, 5 Msps (60 Msps aggregate) |
| DAC | 4 x 12-bit, 12 MHz sample rate |
| Comparators | 7 (rail-to-rail inputs) |
| Operational Amplifiers | 6 (PGA up to 16x) |
| High-Resolution Timer | 184 ps resolution, 12 channels |
| Math Accelerator | CORDIC + FMAC |
| CAN | 3 x FDCAN |
| USB | USB 2.0 FS device/host |
| טווח טמפרטורת פעולה | -40C to +125C (industrial) |
| סטטוס RoHS | Compliant |
תצורת פינים של STM32G474CBT3
| פין 1 | PB9 — GPIO PB9, I2C1_SDA, TIM4_CH4, HRTIM_CHE1 |
| פין 2 | VDD — Digital supply voltage (1.71V-3.6V) |
| פין 3 | VSS — Digital ground |
| פין 4 | NRST — Reset input (active low) |
| פין 5 | VSSA — Analog ground |
| פין 6 | VDDA — Analog supply voltage |
| פין 7 | PA0 — GPIO PA0, ADC1_IN1, TIM2_CH1, COMP1_INP |
| פין 8 | PA1 — GPIO PA1, ADC1_IN2, TIM2_CH2, OPAMP1_VINP |
| פין 9 | PA2 — GPIO PA2, ADC1_IN3, USART2_TX, OPAMP1_VOUT |
| פין 10 | PA3 — GPIO PA3, ADC1_IN4, USART2_RX, OPAMP1_VINM |
| פין 11 | PA4 — GPIO PA4, ADC2_IN1, SPI1_NSS, DAC1_OUT1 |
| פין 12 | PA5 — GPIO PA5, ADC2_IN2, SPI1_SCK, DAC1_OUT2 |
| פין 13 | PA6 — GPIO PA6, ADC2_IN3, SPI1_MISO, COMP1_OUT |
| פין 14 | PA7 — GPIO PA7, ADC2_IN4, SPI1_MOSI, OPAMP2_VINP |
| פין 15 | PB0 — GPIO PB0, ADC3_IN1, TIM3_CH3, OPAMP2_VOUT |
| פין 16 | PB1 — GPIO PB1, ADC3_IN2, TIM3_CH4, OPAMP2_VINM |
| פין 17 | PB2 — GPIO PB2, BOOT0, LPUART1_RX |
| פין 18 | VSS — Digital ground |
| פין 19 | VDD — Digital supply voltage |
| פין 20 | PA8 — GPIO PA8, TIM1_CH1, USART1_CK, HRTIM_CHA1 |
| פין 21 | PA9 — GPIO PA9, TIM1_CH2, USART1_TX, HRTIM_CHA2 |
| פין 22 | PA10 — GPIO PA10, TIM1_CH3, USART1_RX, HRTIM_CHB1 |
| פין 23 | PA11 — GPIO PA11, USB_DM, CAN1_RX, HRTIM_CHB2 |
| פין 24 | PA12 — GPIO PA12, USB_DP, CAN1_TX, HRTIM_CHC1 |
| פין 25 | PA13 — GPIO PA13, SWDIO, LPUART1_RX |
| פין 26 | PA14 — GPIO PA14, SWCLK, LPUART1_TX |
| פין 27 | PA15 — GPIO PA15, SPI3_NSS, TIM2_CH1, HRTIM_CHD1 |
| פין 28 | PB3 — GPIO PB3, SPI3_SCK, TIM2_CH2, HRTIM_CHE1 |
| פין 29 | PB4 — GPIO PB4, SPI3_MISO, TIM3_CH1, HRTIM_CHF1 |
| פין 30 | PB5 — GPIO PB5, SPI3_MOSI, TIM3_CH2, HRTIM_CHG1 |
| פין 31 | PB6 — GPIO PB6, I2C1_SCL, USART1_TX, HRTIM_CHB2 |
| פין 32 | PB7 — GPIO PB7, I2C1_SDA, USART1_RX, HRTIM_CHC2 |
| פין 33 | BOOT0 — Boot mode selection |
| פין 34 | VSS — Digital ground |
| פין 35 | VDD — Digital supply voltage |
| פין 36 | PB8 — GPIO PB8, I2C1_SCL, TIM4_CH3, HRTIM_CHD2 |
| פין 37 | PB9 — GPIO PB9, I2C1_SDA, TIM4_CH4, HRTIM_CHE2 |
| פין 38 | PC13 — GPIO PC13, RTC_OUT, TAMPER |
| פין 39 | PC14 — GPIO PC14, OSC32_IN, LSE crystal |
| פין 40 | PC15 — GPIO PC15, OSC32_OUT, LSE crystal |
| פין 41 | VREF+ — ADC reference voltage |
| פין 42 | VDDA — Analog supply voltage |
| פין 43 | VSSA — Analog ground |
| פין 44 | PB10 — GPIO PB10, I2C2_SCL, USART3_TX, COMP3_OUT |
| פין 45 | PB11 — GPIO PB11, I2C2_SDA, USART3_RX, COMP4_OUT |
| פין 46 | VSS — Digital ground |
| פין 47 | VDD — Digital supply voltage |
| פין 48 | PB12 — GPIO PB12, SPI2_NSS, TIM1_BKIN, HRTIM_CHF2 |
יישומים טיפוסיים
STM32G474CBT3 מתאים עבור 8 יישוםs: Digital Switched-Mode Power Supply (SMPS), Field-Oriented Control (FOC) Motor Drive, Solar Micro-Inverter and String Inverter, Wireless Charging Transmitter (Qi/WPC), Class-D Audio Amplifier and DSP Effects, Industrial PLC and Programmable Logic Controller, LED Lighting Controller (Commercial / Architectural), USB Type-C Power Delivery (PD) Sink/Source Controller.
Digital Switched-Mode Power Supply (SMPS)
The STM32G474CBT3 is engineered for digital SMPS control loops because it integrates a 184 ps high-resolution timer (HRTIM) with 12 channels and 10 PWM outputs capable of driving multi-phase buck, boost, PFC, and LLC topologies with sub-nanosecond switching accuracy. Its CORDIC math accelerator offloads trigonometric calculations needed for PFC and digital averaging, freeing the 170 MHz Cortex-M4F core for control law execution at kHz loop rates. The five 12-bit 5 Msps ADCs enable simultaneous voltage and current sensing on each phase, while the six integrated op-amps (with PGA up to 16x) directly condition current-sense shunt signals without external analog front-end, reducing BOM cost and PCB area in compact PSU designs.
מומלץ
Field-Oriented Control (FOC) Motor Drive
For sensorless and encoder-based FOC motor control, the STM32G474CBT3 provides three simultaneous 12-bit ADC samples per PWM cycle (essential for back-EMF sensing), the HRTIM for center-aligned switching at up to 200 kHz, and the FMAC filter math accelerator for sliding-mode observers and Luenberger estimators. The 128 KB Flash stores both FOC firmware and field weakening tables; the CORDIC engine computes Park/Clarke transforms in a few cycles, allowing full sensorless operation of PMSM motors at >20,000 RPM. The op-amp/comparator analog front-end integrates current-sense conditioning directly, enabling compact 3-phase inverter boards under 25 mm x 25 mm.
מומלץ
Solar Micro-Inverter and String Inverter
Solar micro-inverter and string inverter designs benefit from the STM32G474CBT3's combination of high-performance PWM (HRTIM 184 ps), five ADCs for MPPT voltage/current sensing and grid voltage/frequency monitoring, and four 12-bit DACs for analog reference generation. The FDCAN peripherals enable module-to-module communication in string inverter arrays without adding a separate communication MCU. Hardware crypto acceleration (in the G484 sibling) and secure firmware update via the dual-bank Flash support utility-grade anti-tamper requirements. Integrated op-amps interface directly to Hall-effect current sensors, eliminating the analog front-end typically needed for grid-tie certification.
מומלץ
Wireless Charging Transmitter (Qi/WPC)
Qi-compliant wireless charging transmitters require precise coil-current zero-crossing detection and foreign-object metal detection (FOD) which the STM32G474CBT3 handles natively using its seven rail-to-rail comparators and 12-bit 5 Msps ADCs. The HRTIM generates the 100-200 kHz bridge drive signals with adjustable dead-time resolution at 184 ps, and the CORDIC engine performs real-time coil impedance calculations for adaptive tuning and efficiency optimization. USB Type-C power delivery (UCPD) peripheral support allows integration of PD negotiation alongside the wireless charging state machine, enabling single-IC USB-PD + wireless charger designs for phones and earbuds.
מומלץ
Class-D Audio Amplifier and DSP Effects
The STM32G474CBT3's combination of 170 MHz Cortex-M4F DSP capability, four 12-bit DACs (for stereo + subwoofer + headphone amp), and the FMAC filter accelerator makes it well-suited for Class-D amplifier implementations with integrated digital audio effects processing. The HRTIM drives the Class-D output stage at 250-500 kHz switching frequency with zero dead-time mismatch thanks to its 184 ps resolution. Sample-rate converters (via SPs or external codec) handle USB audio at 48 kHz/96 kHz/192 kHz; the hardware FPU executes biquad filter chains for parametric EQ, dynamics, and crossover without CPU loading.
מומלץ
Industrial PLC and Programmable Logic Controller
Industrial PLC I/O modules use the STM32G474CBT3 to consolidate digital I/O, analog acquisition, and communication interfaces into a single chip. The five ADCs handle 0-10 V analog inputs from sensors with 12-bit precision, the four DACs drive analog outputs (e.g., valve positioners), the FDCAN interfaces communicate with industrial CANopen/CAN-FD networks, and the USB supports field-service diagnostics. The 128 KB Flash stores IEC 61131-3 runtime (e.g., CODESYS or Beremiz), ladder logic, and configuration; the 4 KB backup SRAM retains process variables during power cycles. The Cortex-M4F FPU runs PID loops at sub-millisecond intervals with deterministic jitter.
מומלץ
LED Lighting Controller (Commercial / Architectural)
Architectural and stage lighting controllers benefit from the STM32G474CBT3's high-resolution PWM (the HRTIM 184 ps resolution translates to 16-bit+ PWM at 4 kHz update rates, essential for smooth dimming below 1% brightness without flicker) and the four 12-bit DACs for analog 0-10 V or DALI dimmer outputs. The USB and FDCAN peripherals support DMX512 over USB, Art-Net, or CAN-based lighting protocols, and the 170 MHz CPU executes color-space conversions (XYZ/Lab) and gamma correction in real time for >1000-pixel arrays. The op-amps interface directly to LED current-sense resistors, enabling per-string current regulation for horticulture and tunable-white applications.
מומלץ
USB Type-C Power Delivery (PD) Sink/Source Controller
The STM32G474CBT3 integrates the UCPD (USB Type-C Power Delivery) peripheral with BMC encoding and the analog front-end for PD 3.1 negotiation up to 100 W (28 V / 3.5 A EPR) without an external PD controller. Combined with the five ADCs (for VBUS voltage and current sensing) and the four DACs (for adjustable output voltage or current programming), the G474 implements a complete PD sink or source in one chip. The Cortex-M4F handles the PD protocol stack, and the HRTIM can drive synchronous buck/boost converter stages for variable VBUS output. The FDCAN and USB HS peripherals enable simultaneous data and power negotiation for docking stations and monitor hubs.
מומלץ
סיכום מוצרים מומלצים
נתוני עזר הנדסיים עבור STM32G474CBT3 — השוואה, הנחיות תכנון ומידע על תאימות.
מדריך בחירה
השוואה עם חלופות
| פרמטר | מוצר זה | STM32G484CBT3 | STM32G473QCT6 | STM32G431CBU6 | STM32G474RBT3 | GD32G553RBT3 |
|---|---|---|---|---|---|---|
| Brand | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | GigaDevice |
| Package | 48-LQFP (7x7 mm) | 48-LQFP - same | 48-LQFP - same | 48-LQFP - same | 64-LQFP - larger footprint, NOT 48-LQFP pinout | 64-LQFP - larger footprint, NOT 48-LQFP pinout |
| Core | Cortex-M4F 170 MHz | Cortex-M4F 170 MHz | Cortex-M4F 170 MHz | Cortex-M4F 170 MHz | Cortex-M4F 170 MHz | Cortex-M4F 240 MHz |
| Flash / SRAM | 128 KB / 128 KB | 512 KB / 128 KB | 128 KB / 128 KB | 128 KB / 128 KB | 128 KB / 128 KB | 512 KB / 96 KB |
| ADC Count / DAC Count | 5 / 4 | 5 / 4 | 5 / 4 | 3 / 2 | 5 / 4 | 3 / 2 |
| HRTIM Resolution | 184 ps, 12 channels | 184 ps, 12 channels | 184 ps, 12 channels | No HRTIM | 184 ps, 12 channels | No HRTIM (advanced PWM) |
| Op-amps / Comparators | 6 / 7 | 6 / 7 | 6 / 7 | 3 / 4 | 6 / 7 | 2 / 2 |
| Crypto Acceleration | No | Yes (AES-256) | No | No | No | AES (vendor IP) |
| Estimated 1k Price (USD) | 6.10 | 9.20 | 6.50 | 4.40 | 7.80 | 4.80 |
מבדילים עיקריים
- Only Cortex-M4F at 170 MHz with integrated 184 ps HRTIM + CORDIC + FMAC + 5 ADCs + 4 DACs + 6 op-amps + 7 comparators in 48-LQFP (לעומתSTM32G431CBU6)
- Higher analog integration than competitor Cortex-M4 MCUs in 48-LQFP (לעומתGD32G553RBT3)
- Industrial -40C to +125C temperature grade in same package (לעומתSTM32F302R8T6)
הערות תכנון
Decouple VDD with 100 nF X7R ceramic capacitors placed within 5 mm of each VDD pin (4 pins total on the 48-LQFP) and add a bulk 4.7 uF X5R capacitor on each VDD/VDD pair. Tie VDDA to a separate filtered LDO rail (e.g., AP2112 or ST's own LDO) with a ferrite bead if the application uses ADC channels at 5 Msps; otherwise tie VDDA directly to VDD. Per ST application note AN5419, separate VREF+ to a low-noise reference if the DAC outputs are used as analog references.
Estimated: in worst-case motor-control scenarios (170 MHz active, 5 ADCs sampling at 5 Msps, HRTIM generating 200 kHz PWM, all op-amps active), the STM32G474CBT3 in 48-LQFP dissipates approximately 180 mW; the package theta_JA of ~70 C/W on a standard 4-layer JEDEC board yields a junction temperature rise of ~13 C above ambient at room temperature. No heatsink is needed for normal industrial use, but ensure copper pour covers at least 50% of the inner layers under the QFP paddle area to keep junction temperature within the -40C to +125C rating during continuous high-CPU activity.
Place the MCU at least 10 mm from any switching power stage traces carrying >20 V/ns dV/dt (e.g., Class-D audio outputs, LLC transformer primary side) to avoid coupling into analog inputs via the exposed pins or package bond wires. Route the HSE 8 MHz crystal traces symmetrically with 5 mil width and a ground guard ring; the LSE 32.768 kHz crystal traces should be even shorter (<10 mm) and surrounded by ground copper pour. Add a 4.7 kohm pull-up on NRST and a 100 nF cap to ground for proper reset signaling.
Do not exceed 4.0 V on any VDD/VDDA/VREF+ pin; the absolute maximum is 4.0 V per the datasheet, and the recommended operating range tops out at 3.6 V. Always sequence VDDA before VDD when using separate analog and digital supplies, or use a soft-start circuit on VDDA to avoid latchup. The BOOT0 pin must be held low (GND) for normal Flash boot or pulled high only when entering bootloader via System Memory; floating BOOT0 can result in boot failures. The UCPD peripheral requires an external 5.1 kohm CC pull-up/pull-down resistor pair for Type-C detection.
מידע על תאימות
STM32G474CBT3 is industrial-grade (not AEC-Q100). For AEC-Q100 qualified automotive variants, see STM32G474CBT7 or STM32G474CBT3-A. RoHS and REACH compliance per ST product page.