STM32G431KBT6 - 170MHz Cortex-M4F MCU, 128KB Flash, 32-LQFP | STMicroelectronics
MPN: STM32G431KBT6 ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $7.2 | $7.20 |
| 10 | $6.48 | $64.80 |
| 100 | $5.4 | $540.00 |
| 500 | $4.75 | $2,375.00 |
| 1,000 | $4.2 | $4,200.00 |
STM32G431KBT6 Overview
An MCU (microcontroller unit) is a single-chip computer integrating a processor core, memory, and programmable peripherals. The Cortex-M4F is a Cortex-M4 core with single-precision floating-point unit and DSP extensions, sitting in Arm's mainstream 32-bit MCU hierarchy: Cortex-M0/M0+ (lowest power) -> Cortex-M3 (mainstream) -> Cortex-M4/M4F (DSP + FPU mainstream) -> Cortex-M7 (high performance). STM32G4 series parts extend the Cortex-M4 lineage with CORDIC math accelerator and FMAC filter math accelerator for trigonometric and DSP operations.
Key features include 213 DMIPS / 469 CoreMark performance from the ART Accelerator enabling zero-wait-state Flash execution, an internal voltage reference buffer (VREFBUF), multiple timers including HRTIM advanced timer variants, and rich communication peripherals (USB Type-C Power Delivery capable, CAN-FD, I2C, SPI, USART/UART). Supply range is 1.71 V to 3.6 V with operating temperature from -40C to +85C (or +105C for industrial S variants).
The architecture pairs an adaptive real-time accelerator with a multi-AHB bus matrix, delivering deterministic interrupt response and parallel DMA access. Math accelerator (CORDIC) handles sin/cos/atan2 in hardware for sensor-less motor control, and FMAC performs FIR/IIR filtering. Five 12-bit DACs, four comparators, and three op-amps form a complete analog front-end on chip.
Typical applications include digital power conversion (SMPS, LLC, PFC), motor control (FOC for BLDC/PMSM), LED lighting drivers, solar micro-inverters, USB Type-C PD controllers, and industrial sensor hubs. The combination of math accelerator and high-resolution timer makes G431 particularly suited to digital control loops.
When designing with this MCU, ensure VDDA/VREF+ decoupling is per datasheet recommendations (typically 100 nF + 1 uF) and configure BOOT0 correctly. The 32-LQFP (7x7 mm) package is footprint-compatible with STM32G441 and most STM32G0/STM32F4 series 32-pin variants, enabling migration paths.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, providing engineers with a single-source reference for sourcing, selection, and implementation.
Drop-in alternatives for STM32G431KBT6 — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
STM32G431KBT3
✅ Drop-In📋 Reference alternative (not in catalog)
STM32G431KBT7
✅ Drop-In📋 Reference alternative (not in catalog)
STM32G431KBT6U
✅ Drop-In📋 Reference alternative (not in catalog)
STM32G431KBT6TR
✅ Drop-In📋 Reference alternative (not in catalog)
STM32G441KBT6
✅ Drop-In📋 Reference alternative (not in catalog)
STM32G431KBT6 Maximum Ratings & Electrical Characteristics
| Core | Arm Cortex-M4F with FPU |
| Maximum Clock Frequency | 170 MHz |
| DMIPS | 213 |
| Flash Memory | 128 KB |
| SRAM | 32 KB |
| Operating Voltage | 1.71 V to 3.6 V |
| Package | 32-LQFP (7x7 mm) |
| DAC | 4 x 12-bit (2 buffered 1 MSPS, 2 unbuffered 15 MSPS) |
| Comparators | 4 x ultra-fast rail-to-rail |
| Operational Amplifiers | 3 (PGA-capable) |
| Voltage Reference Buffer | Yes (VREFBUF) |
| Math Accelerator | CORDIC + FMAC |
| Operating Temperature | -40C to +85C |
| Mounting Type | Surface Mount (LQFP) |
| RoHS Status | Compliant |
STM32G431KBT6 Pin Configuration
| Pin 1 | PB7 — GPIO B7 / I2C1_SDA / USART1_RX / TIM4_CH2 (alternate functions) |
| Pin 2 | PB8 — GPIO B8 / I2C1_SCL / TIM4_CH3 / CAN1_RX (alternate functions) |
| Pin 3 | PB9 — GPIO B9 / I2C1_SDA / TIM4_CH4 / CAN1_TX (alternate functions) |
| Pin 4 | VDD — Digital supply voltage (1.71 V to 3.6 V) |
| Pin 5 | VSS — Digital ground |
| Pin 6 | VDDA — Analog supply voltage |
| Pin 7 | VREF+ — ADC positive reference voltage |
| Pin 8 | PA0 — GPIO A0 / ADC1_IN1 / TIM2_CH1 / COMP1_INP (alternate functions) |
| Pin 9 | PA1 — GPIO A1 / ADC1_IN2 / TIM2_CH2 / OPAMP1_VINP (alternate functions) |
| Pin 10 | PA2 — GPIO A2 / ADC1_IN3 / USART2_TX / TIM2_CH3 / OPAMP1_VOUT (alternate functions) |
| Pin 11 | PA3 — GPIO A3 / ADC1_IN4 / USART2_RX / TIM2_CH4 / OPAMP1_VINM (alternate functions) |
| Pin 12 | PA4 — GPIO A4 / ADC2_IN1 / SPI1_NSS / DAC1_OUT1 (alternate functions) |
| Pin 13 | PA5 — GPIO A5 / ADC2_IN2 / SPI1_SCK / DAC1_OUT2 / OPAMP2_VINP (alternate functions) |
| Pin 14 | PA6 — GPIO A6 / ADC2_IN3 / SPI1_MISO / DAC2_OUT1 / OPAMP2_VINM (alternate functions) |
| Pin 15 | PA7 — GPIO A7 / ADC2_IN4 / SPI1_MOSI / COMP2_INP (alternate functions) |
| Pin 16 | PB0 — GPIO B0 / ADC3_IN12 / TIM3_CH3 / OPAMP3_VINP (alternate functions) |
| Pin 17 | PB1 — GPIO B1 / ADC3_IN1 / TIM3_CH4 / OPAMP3_VOUT (alternate functions) |
| Pin 18 | PB2 — GPIO B2 / ADC2_IN12 / TIM3_CH1 / COMP4_INP (alternate functions) |
| Pin 19 | VSSA — Analog ground |
| Pin 20 | VDD — Digital supply voltage (1.71 V to 3.6 V) |
| Pin 21 | VSS — Digital ground |
| Pin 22 | PB10 — GPIO B10 / I2C2_SCL / USART3_TX / TIM2_CH3 (alternate functions) |
| Pin 23 | PB11 — GPIO B11 / I2C2_SDA / USART3_RX / TIM2_CH4 (alternate functions) |
| Pin 24 | PB12 — GPIO B12 / SPI2_NSS / TIM1_BKIN / CAN2_RX (alternate functions) |
| Pin 25 | PB13 — GPIO B13 / SPI2_SCK / TIM1_CH1N / CAN2_TX (alternate functions) |
| Pin 26 | PB14 — GPIO B14 / SPI2_MISO / TIM1_CH2N (alternate functions) |
| Pin 27 | PB15 — GPIO B15 / SPI2_MOSI / TIM1_CH3N (alternate functions) |
| Pin 28 | PA8 — GPIO A8 / TIM1_CH1 / USART1_CK / MCO (alternate functions) |
| Pin 29 | PA9 — GPIO A9 / TIM1_CH2 / USART1_TX / I2C1_SCL (alternate functions) |
| Pin 30 | PA10 — GPIO A10 / TIM1_CH3 / USART1_RX / I2C1_SDA (alternate functions) |
| Pin 31 | PA13 — GPIO A13 / SWDIO (debug data) |
| Pin 32 | PA14 — GPIO A14 / SWCLK (debug clock) / BOOT0 |
Typical Applications
STM32G431KBT6 is suitable for 7 applications: Field-Oriented Control of BLDC/PMSM Motors, Digital Switch-Mode Power Supplies (SMPS), Solar Micro-Inverters and String Inverters, USB Type-C Power Delivery Controllers, Industrial LED Lighting Drivers, Industrial Sensor Hubs and IoT Edge Nodes, Digital Hearing Aids and Audio Processing.
Field-Oriented Control of BLDC/PMSM Motors
The STM32G431KBT6 is purpose-built for FOC of three-phase BLDC and PMSM motors used in industrial drives, robotics, and HVAC fans. Its 170 MHz Cortex-M4F core with FPU and DSP instructions executes Park/Clarke transforms within microseconds, while the hardware CORDIC accelerator computes sin/cos and atan2 in dedicated cycles - offloading the CPU and enabling higher switching frequencies. Three on-chip op-amps with PGA mode directly interface with current-shunt sensors without external amplifiers. With 32 KB SRAM the device handles sensorless FOC state machines comfortably, and the 32-LQFP package fits compact motor-drive PCBs.
Recommended
Digital Switch-Mode Power Supplies (SMPS)
The STM32G431KBT6 excels at digital control loops in SMPS, LLC resonant converters, PFC boost stages, and phase-shifted full-bridge topologies. Its 170 MHz core delivers sub-microsecond PID loop execution, the CORDIC math accelerator speeds RMS/sine computations, and the FMAC unit implements FIR filters for input current averaging. The 32-LQFP package's small footprint (7x7 mm) suits compact PSU daughter-cards. The device's 12-bit DACs generate reference signals for analog comparators that implement peak-current-mode control, while HRTIM-equivalent high-resolution timer capability drives 100+ kHz PWM with nanosecond-edge resolution critical for GaN/SiC power stages.
Recommended
Solar Micro-Inverters and String Inverters
For solar micro-inverter and string-inverter MPPT controllers, the STM32G431KBT6 combines FPU math, CORDIC trigonometric acceleration, and rich analog peripherals in a 32-LQFP package sized for compact PV electronics. The Cortex-M4F at 170 MHz executes perturb-and-observe MPPT loops and INC/beta algorithms within 10 kHz control periods. Three op-amps with PGA mode handle DC-side and AC-side current sensing simultaneously, and the four DACs generate modulation references. The math accelerator handles park-transform for grid synchronization, and CAN-FD communication supports plant-level monitoring. STMicroelectronics' 85C operating grade suits outdoor inverter enclosures.
Recommended
USB Type-C Power Delivery Controllers
The STM32G431KBT6's integrated USB 2.0 Full-Speed peripheral with Type-C Power Delivery (UCPD) support makes it a strong choice for USB-PD source/sink controllers, role swap logic, and PPS (Programmable Power Supply) negotiation. The 170 MHz Cortex-M4F handles USB-PD 3.1 protocol stack and policy engine, while the 32 KB SRAM manages multi-port allocation tables. The on-chip 12-bit DACs generate voltage reference for closed-loop VBUS regulation, and the four comparators implement fast over-current/over-voltage protection. The 32-LQFP (7x7 mm) package suits compact wall-adapter and power-bank designs where PCB area is constrained.
Recommended
Industrial LED Lighting Drivers
The STM32G431KBT6 drives tunable-white and RGBW LED lighting systems with high-frequency PWM dimming and DMX/DALI protocol handling. The Cortex-M4F core processes color-mixing algorithms and smooth-dimming transitions, while CORDIC accelerates chroma calculations. The 32 KB SRAM buffers LED matrix frames for larger installations. Four 12-bit DACs and three op-amps generate constant-current reference loops for multi-channel LED drivers. The 32-LQFP package's compact footprint suits in-fixture driver PCBs. With -40C to +85C industrial temperature range, the device operates reliably in enclosed commercial lighting fixtures.
Recommended
Industrial Sensor Hubs and IoT Edge Nodes
The STM32G431KBT6 serves industrial IoT edge nodes aggregating data from multiple sensors (temperature, pressure, vibration) over I2C, SPI, and UART interfaces. The Cortex-M4F core executes edge-filtering and threshold detection, while the FMAC unit runs FIR/IIR filters on vibration data without CPU overhead. Three op-amps condition analog sensor signals directly on-chip, reducing external components. CAN-FD provides robust industrial-bus connectivity, and 128 KB Flash supports secure OTA firmware updates with dual-bank partitioning. The 32-LQFP package suits DIN-rail-mounted industrial gateways and PLC expansion modules.
Recommended
Digital Hearing Aids and Audio Processing
The STM32G431KBT6 suits digital hearing-aid and audio-processing applications where DSP performance, low power, and small package matter. The Cortex-M4F core with hardware FPU executes real-time FFT, WDRC (Wide Dynamic Range Compression), and noise-reduction algorithms. The FMAC unit accelerates FIR filtering for feedback cancellation. Four 12-bit DACs drive multi-channel audio outputs with PGA-capable op-amps providing pre-amplification. 32 KB SRAM holds audio buffers and filter coefficients, while 128 KB Flash stores algorithm libraries. The 32-LQFP (7x7 mm) package fits behind-the-ear form factors, and the 1.71 V low-voltage operation extends battery life.
Recommended
Recommended Products Summary
Engineering reference data for STM32G431KBT6 — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | STM32G431KBT3 | STM32G431KBT7 | STM32G431KBT6U | STM32G431KBT6TR | STM32G441KBT6 |
|---|---|---|---|---|---|---|
| Package | 32-LQFP (7x7 mm) | 32-LQFP (7x7 mm) - same | 32-LQFP (7x7 mm) - same | 32-LQFP (7x7 mm) - same | 32-LQFP (7x7 mm) - same | 32-LQFP (7x7 mm) - same |
| Brand | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics |
| Core | Cortex-M4F 170 MHz | Cortex-M4F 170 MHz | Cortex-M4F 170 MHz | Cortex-M4F 170 MHz | Cortex-M4F 170 MHz | Cortex-M4F 170 MHz |
| Flash Memory | 128 KB | 128 KB | 128 KB | 128 KB | 128 KB | 128 KB |
| SRAM | 32 KB | 32 KB | 32 KB | 32 KB | 32 KB | 32 KB |
| Operating Temperature | -40C to +85C (Grade 6) | -40C to +125C (Grade 3) | -40C to +105C (Grade 7) | -40C to +85C (Grade 6) | -40C to +85C (Grade 6) | -40C to +85C (Grade 6) |
| Math Accelerator | CORDIC + FMAC | CORDIC + FMAC | CORDIC + FMAC | CORDIC + FMAC | CORDIC + FMAC | CORDIC + FMAC + HRTIM |
| GPIO Count | 26 GPIO | 26 GPIO | 26 GPIO | 26 GPIO | 26 GPIO | 26 GPIO |
Key Differentiators
- Hardware CORDIC + FMAC math accelerator on-chip (vs STM32F302R8T6)
- Three internal op-amps with PGA mode (vs STM32F072CBT7)
- ART Accelerator zero-wait-state Flash execution (vs STM32F103Z (Cortex-M3))
- Medium analog tier with 4 DACs + 4 comparators (vs STM32G031K8T6 (Cortex-M0+))
Design Notes
Decouple VDD/VSS pairs with 100 nF ceramic capacitors placed within 3 mm of each supply pin. Add a 4.7 uF bulk capacitor on VDDA and a 100 nF + 1 uF decoupling pair on VREF+ when using the ADC reference. Per STMicroelectronics design recommendations, the VSSA pin must connect to the same ground plane as VSS using a star-ground topology to avoid ADC reference noise injection. Do not leave VDDA unconnected even if ADCs are unused, as it powers internal analog blocks.
Place the external 8 MHz HSE crystal within 5 mm of OSC_IN/OSC_OUT with symmetric trace lengths and a ground guard ring to minimize EMI. Route the SWD pins (PA13/SWDIO, PA14/SWCLK) away from analog signals to prevent digital switching noise coupling into sensitive ADC channels. Keep high-current PWM traces (TIM1_CHx for motor drive) short and wide, with a ground return path directly under the trace to minimize loop inductance and radiated emissions.
Estimated: At maximum 170 MHz operation with all peripherals active, the 32-LQFP package dissipates approximately 200-300 mW (typical 90 mA core current at 3.3 V). With theta_JA of ~70 C/W on a standard JEDEC test PCB (4-layer, 1 oz copper), junction temperature rise above ambient is approximately 14-21C, keeping Tj well below 125C maximum. For designs near 85C ambient with no airflow, reduce peripheral clocking or use the lower-power STM32G431KBT3 variant which extends the operating range.
Three common pitfalls when migrating from STM32F4 to STM32G4: (1) The G4 series boots from Flash at 0x08000000 by default but supports boot from system memory via BOOT0 pin; ensure BOOT0 is pulled low for normal operation. (2) The VREFBUF internal voltage reference must be enabled in RCC before use - it does not auto-start. (3) CORDIC and FMAC math accelerators require HAL/MSC initialization including CSS (Clock Security System) for safety-critical applications. Read RM0440 reference manual before enabling these peripherals.
When routing USB DM/DP signals (PA11/PA12 on G431), use 90-ohm differential impedance with 22-27 ohm series ferrite beads near the connector. Add a 1.5 kV ESD protection array (e.g., USBLC6-2SC6) on the connector side. For CAN-FD signals, add a 120-ohm termination resistor at each bus end, with common-mode chokes (e.g., DLW43SH core) for noise-sensitive applications. The high-speed timer outputs (TIM1_CH1/CH1N) require matched trace lengths within 50 mils for proper complementary PWM operation.
Compliance Information
RoHS compliant per STMicroelectronics product documentation. AEC-Q100 qualified variants available in STM32G4 family (search G4 automotive grade). MSL3 per JEDEC J-STD-020 for moisture sensitivity at 260C peak reflow.