STMicroelectronics STM32G474QBT6
- Part No.:
- STM32G474QBT6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 128-LQFP
- Datasheet:
-
STM32G474QBT6.pdf
- Description:
- IC MCU 32BIT 128KB FLASH 128LQFP
- Quantity:
- Payment:

- Shipping:

Inventory:1,349
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G474QBT6 from STMicroelectronics is a 32-bit Arm® Cortex®-M4 microcontroller with FPU, operating up to 170 MHz (213 DMIPS), featuring 512 KB Flash with ECC, 96 KB SRAM (32 KB with hardware parity), and integrated mathematical accelerators (CORDIC, FMAC). It includes 5×12-bit ADCs (0.25 µs conversion), 7×12-bit DACs, HRTIM with 184 ps resolution, and 3×FDCAN controllers - deployed in precision motor control, digital power conversion, and industrial sensing systems.
For engineers reviewing the STM32G474QBT6 datasheet, STM32G474QBT6 pinout, STM32G474QBT6 application, or STM32G474QBT6 equivalent, key selection criteria include high-resolution timing (HRTIM), analog integration (ADC/DAC/OPAMP/COMP), dual-bank Flash for seamless firmware updates, FDCAN FD support for automotive-grade communication, and low-power operation across sleep/stop/standby modes.
Technical Context
The STM32G474QBT6 implements an adaptive real-time accelerator (ART) enabling zero-wait-state execution from Flash memory, critical for deterministic real-time control loops. Its interconnect matrix supports concurrent access to peripherals and memory by multiple masters including CPU, DMA, and USB.
It integrates three independent FDCAN controllers compliant with ISO 11898-1:2015 (CAN FD), supporting flexible data-rate up to 5 Mbit/s and payload lengths up to 64 bytes. The HRTIM subsystem provides six 16-bit counters with 184 ps resolution, programmable dead time, emergency stop, and complex waveform generation for multi-phase power converters.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M4 with FPU, 170 MHz max frequency → enables real-time DSP operations (e.g., PID, observer, SVM) without external co-processor |
| Flash Memory | 512 KB with ECC and dual-bank read-while-write → supports safe over-the-air (OTA) firmware updates with no code interruption |
| SRAM | 96 KB total: 32 KB CCM-SRAM (parity-checked, instruction/data bus), 64 KB general-purpose → separates critical control code from data buffers |
| Analog Peripherals | 5×12-bit ADCs (42 ch, 0.25 µs), 7×12-bit DACs (3 buffered ext./4 unbuffered int.), 6×OPAMPs, 7×COMP → enables closed-loop analog signal chain in single-chip motor drives |
| High-Resolution Timer | HRTIM: 6×16-bit counters, 184 ps resolution, 12 PWM outputs, dead-time insertion, fault protection → meets IEC 60335 Class B requirements for appliance inverters |
| Communication | 3×FDCAN (CAN FD), 5×USART, 4×I²C, 4×SPI, USB FS, UCPD → supports battery management (BMS), EV charging handshaking, and industrial fieldbus bridging |
| Math Acceleration | CORDIC (trig/log/exp), FMAC (filtering) → reduces CPU load for sensor fusion and digital filter execution by >70% vs. software-only implementation |
Pinout & Package
STM32G474QBT6 uses the LQFP48 (7 × 7 mm) package with 48 pins, rated for industrial temperature range (–40 °C to +85 °C) and 1.71–3.6 V supply. Pin functions are validated per STMicroelectronics Doc ID032288 Rev 6, Section 4.2 (LQFP48 pinout description).
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VSS | Power supply / Ground | Dual VDD/VSS pairs ensure stable core/analog domain separation; decoupling required per datasheet layout guidelines |
| PA0–PA15, PB0–PB15, PC0–PC15, PD0–PD2, PF0–PF1 | General-purpose I/O | 107 fast I/Os; up to 5 V tolerant on selected pins → simplifies level-shifting in mixed-voltage systems |
| NRST | Active-low reset input | Internal pull-up; accepts external reset sources or watchdog assertion; supports brown-out detection (BOR) |
| BOOT0 | Boot mode selection | High at power-on selects system memory boot (for DFU); low selects user Flash → enables field firmware recovery |
| PA13/PA14/PA15 | SWD debug interface | Serial Wire Debug (SWD) only - no JTAG pins exposed in LQFP48 → reduces PCB routing complexity for production units |
| PA11/PA12 | USB D+/D− | Full-speed USB 2.0 physical layer with built-in transceivers → eliminates need for external USB PHY in cost-sensitive designs |
Key Features
| Feature | Design Value |
|---|---|
| Adaptive Real-Time Accelerator (ART) | Enables 0-wait-state execution from Flash at 170 MHz → eliminates cache misses in time-critical ISR paths |
| CORDIC & FMAC hardware accelerators | Offloads trigonometric and FIR/IIR filtering computations → frees >60% CPU cycles for application logic in motor control |
| Dual-bank Flash with PCROP | Allows secure firmware update via bank swap while executing from active bank → meets IEC 62443-3-3 SL2 functional safety requirements |
| HRTIM with 184 ps resolution | Supports <1 ns timing granularity for gate driver dead-time tuning → essential for SiC/GaN-based 100+ kHz power converters |
| Integrated analog front-end | 5 ADCs + 7 DACs + 6 OPAMPs + 7 COMP in one die → replaces discrete signal conditioning circuitry in servo drives and UPS systems |
Applications
| Industrial Motor Control | Digital Power Supply |
|---|---|
Use Scenario: Field-oriented control (FOC) of 3-phase BLDC/PMSM motors in HVAC compressors and industrial pumps. IC Role / Device Role / Timing Role: Main controller executing FOC algorithm, ADC sampling, PWM generation, and fault monitoring - coordinated via HRTIM and CORDIC. Use Value: 184 ps HRTIM resolution enables precise dead-time compensation for SiC MOSFETs, reducing shoot-through risk and improving efficiency by ≥1.2% at full load. |
Use Scenario: Digital AC-DC and DC-DC power supplies (e.g., telecom rectifiers, server PSUs) requiring adaptive voltage regulation and PMBus compliance. IC Role / Device Role / Timing Role: System manager handling voltage/current loop control, thermal monitoring, fault logging, and PMBus communication via I²C. Use Value: Integrated 12-bit ADCs with hardware oversampling (up to 16-bit effective) deliver ±0.5% output voltage accuracy across line/load/temp variations. |
| Battery Management Systems | Smart Industrial Sensors |
Use Scenario: Cell-level voltage, temperature, and current monitoring in 12–24S Li-ion battery packs for energy storage and e-mobility. IC Role / Device Role / Timing Role: Analog acquisition hub interfacing with external precision ADCs or directly measuring cell voltages using internal 12-bit ADCs and VREFBUF. Use Value: Internal VREFBUF with selectable 2.048 V / 2.5 V / 2.9 V outputs ensures stable reference for ratiometric measurements - eliminating external voltage reference ICs. |
Use Scenario: Condition monitoring nodes in predictive maintenance systems, acquiring vibration, temperature, and acoustic emission signals. IC Role / Device Role / Timing Role: Edge intelligence node performing FFT-based spectral analysis using CORDIC/FMAC, then transmitting alerts via UART/LPUART. Use Value: FMAC accelerator executes 64-tap FIR filters in <2 µs - enabling real-time noise suppression before feature extraction, reducing host MCU bandwidth demand by 4×. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar high-performance mixed-signal microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G473RBT6 | Same package and pinout, but 256 KB Flash, no HRTIM, no CORDIC/FMAC, 3×ADC (not 5×), no FDCAN | Limited to simpler motor control (e.g., 1-shunt FOC) and basic power conversion without CAN FD or ultra-high-res timing | Select when cost sensitivity outweighs need for dual-bank Flash, advanced timers, or math acceleration |
| STM32H743VIT6 | ARM Cortex-M7 @ 480 MHz, 2 MB Flash, 1 MB SRAM, DSI, Ethernet, no HRTIM or CORDIC; LQFP100 package | Targeted at high-throughput applications (e.g., HMI, gateway processing) rather than analog-rich real-time control | Choose for applications requiring Linux-capable throughput or peripheral density, not sub-ns timing or embedded analog signal chains |
Compared with STM32G474QBT6, STM32G473RBT6 sacrifices advanced analog/timing features for lower BOM cost, while STM32H743VIT6 trades deterministic low-latency analog control for raw compute bandwidth and connectivity - making the G474QBT6 uniquely balanced for safety-critical, analog-intensive real-time systems.
Availability
STM32G474QBT6 is available at Aetrix Electronics and suitable for industrial motor drives, digital power supplies, battery management systems, and smart sensor nodes requiring stable component supply, long-term lifecycle assurance, and qualified industrial-grade reliability.
Supply support for STM32G474QBT6 includes scheduled delivery planning, volume procurement assistance, BOM continuity management, traceable sourcing, and lifecycle availability coordination for OEM customers, industrial embedded developers, connected-device designers, and electronics production programs.
Manufacturer
STMicroelectronics is a global semiconductor leader headquartered in Geneva, Switzerland, designing and manufacturing microcontrollers, power devices, sensors, and analog ICs for industrial, automotive, and consumer markets.
The STM32G4 series targets high-efficiency digital power conversion and precision motor control, integrating specialized analog peripherals, math accelerators, and ultra-precise timers to replace discrete signal-chain components in cost- and space-constrained applications.
FAQ
What is the maximum operating frequency and associated performance metric of the STM32G474QBT6?
The STM32G474QBT6 operates at up to 170 MHz with an integer performance rating of 213 DMIPS (Dhrystone MIPS), measured under conditions defined in ARM's standard benchmark methodology. This frequency is sustained using the Adaptive Real-Time Accelerator (ART) for zero-wait-state Flash execution, and includes full FPU support for floating-point intensive tasks like motor control algorithms.
Does the STM32G474QBT6 support CAN FD, and how many controllers are integrated?
Yes, the STM32G474QBT6 integrates three fully independent FDCAN controllers compliant with ISO 11898-1:2015, supporting Flexible Data-Rate (FD) up to 5 Mbit/s and payloads up to 64 bytes. Each controller has dedicated message RAM, filtering, and loopback/self-test modes - enabling redundant CAN networks or multi-bus architectures in battery management and vehicle charging systems.
What analog peripherals are included, and what is their practical resolution and speed?
The device includes five 12-bit ADCs (up to 42 channels total) with 0.25 µs conversion time and hardware oversampling supporting up to 16-bit effective resolution; seven 12-bit DACs (three buffered external, four unbuffered internal); six rail-to-rail operational amplifiers configurable as PGAs; and seven ultra-fast comparators. These enable full analog signal acquisition, conditioning, and actuation within a single chip for servo drives and power converters.
Is the STM32G474QBT6 pin-compatible with other members of the STM32G4 family, and which packages share identical pinouts?
Yes - the STM32G474QBT6 in LQFP48 is pin-compatible with all other STM32G47x devices offered in the same LQFP48 package (e.g., STM32G473RBT6, STM32G474CBT6), sharing identical pin functions and electrical characteristics. However, feature availability (e.g., HRTIM, FDCAN count, Flash size) varies across part numbers, requiring firmware validation during migration.
STM32G474QBT6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 128-LQFP
- Series:
- STM32G4
- Packaging:
- Tray
- Product Status:
- Active
- Programmable:
- Not Verified
- Core Processor:
- ARM® Cortex®-M4F
- Core Size:
- 32-Bit Single-Core
- Speed:
- 170MHz
- Connectivity:
- CANbus, I2C, IrDA, LINbus, QSPI, SPI, UART/USART
- Peripherals:
- Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 107
- Program Memory Size:
- 128KB (128K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 128K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.71V ~ 3.6V
- Data Converters:
- A/D 42x12b; D/A 7x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G474QBT6 FAQ
1.How can I place an order for STM32G474QBT6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G474QBT6 on Aetrix. Our sales agent will provide a competitive quotation and guide you through the order confirmation once you accept the terms.
2.Are the price and stock information for STM32G474QBT6 reliable?
The price and inventory of STM32G474QBT6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G474QBT6 is usually 5 days.
3.What payment methods are accepted for STM32G474QBT6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G474QBT6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G474QBT6?
STM32G474QBT6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G474QBT6 order is processed, you will receive an email with the shipment details and tracking number.
Note: Tracking information may take up to 24 hours to appear. Express delivery typically takes 3–5 business days.
5.How can I obtain technical support or documentation for STM32G474QBT6?
For technical support, including STM32G474QBT6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G474QBT6 requirements.
6.How does Aetrix verify that STM32G474QBT6 is sourced from the original manufacturer or authorized distributors?
All STM32G474QBT6 products on Aetrix are procured from qualified distributors and authorized channels. Our dedicated quality assurance team conducts strict verification, including traceability checks and, if necessary, third-party testing. This ensures that STM32G474QBT6 meets industry standards.
7.What is the process for return or replacement of STM32G474QBT6?
All STM32G474QBT6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G474QBT6, returns or replacements are accepted under the following conditions:
1.Quantity discrepancies, incorrect items, or visible external defects (such as breakage or corrosion), acknowledged by Aetrix.
2.The issue is reported within 90 days of delivery.
3.The STM32G474QBT6 part is unused and in its original packaging.
Return procedure for STM32G474QBT6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G474QBT6 Tags

-
ATTINY4-TSHR
Microchip Technology

-
ATTINY10-TSHR
Microchip Technology

-
ATTINY10-TS8R
Microchip Technology

-
ATTINY202-SSNR
Microchip Technology

-
ATTINY202-SSFR
Microchip Technology

-
ATTINY402-SSNR
Microchip Technology

-
PIC16F15213T-I/MF
Microchip Technology

-
PIC16F15213-E/MF
Microchip Technology

-
PIC10F200T-I/OT
Microchip Technology

-
ATTINY412-SSNR
Microchip Technology

-
PIC10F202T-I/OT
Microchip Technology

-
ATTINY404-SSNR
Microchip Technology
Tech Hub
A practical engineering guide to 3.3V and 5V logic compatibility, input thresholds, resistor dividers, translator ICs, MOSFET level shifting, I2C pull-ups, timing limits and power-sequencing risks.
The 74HC595 uses push-pull logic outputs, while the TPIC6B595 uses 50 V open-drain DMOS sinks for higher-power loads. This guide compares timing, current limits, 3.3 V interfacing, load wiring, thermal…
The 74HC595 converts serial data into eight stable parallel outputs. This guide covers pin functions, shift and storage timing, OE and MR behavior, drive-current limits, cascading, voltage compatibilit…
A technical comparison of level-sensitive latches and edge-triggered flip-flops, covering timing windows, setup and hold limits, master–slave operation, time borrowing, race-through, HDL inference and…
A D latch stores one bit while Enable controls when data can pass. This reference covers gate-level operation, truth tables, transparency, setup and hold timing, LE versus OE, common ICs and practical …
An SR latch stores one bit through cross-coupled feedback. This engineering reference covers NOR and NAND implementations, truth tables, forbidden-state recovery, gated operation, switch debouncing, fa…
Latch circuits retain one bit through feedback. This technical reference covers SR and D latches, truth tables, transparency, timing limits, latch-versus-flip-flop behavior, applications and common log…
An engineering guide to LED driver operation, constant-current and constant-voltage outputs, linear and switching topologies, dimming, IC selection, calculations, replacement compatibility, and fault c…
Operational amplifier guide covering op amp basics, feedback, ideal vs real op amps, common configurations, buffer circuits, offset, bias current, gain-bandwidth, slew rate, rail-to-rail limits and sel…
Jumper cables guide covering safe connection order, red and black clamp placement, final ground connection, cable gauge, length, clamp quality, copper vs CCA cables, jump starter comparison and battery…

