STM32G431CBU6 - 170MHz Cortex-M4 MCU 128KB Flash | STMicroelectronics
N.º de pieza: STM32G431CBU6 ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 1 | $4.92 | $4,92 |
| 10 | $4.41 | $44,10 |
| 100 | $3.91 | $391,00 |
| 500 | $3.52 | $1.760,00 |
| 1.000 | $3.14 | $3.140,00 |
| 3.000 | $2.78 | $8.340,00 |
STM32G431CBU6 Descripción general
Mainstream microcontrollers (MCUs) such as the STM32G4 family sit in the 32-bit Cortex-M tier between low-power Cortex-M0/M0+ devices and high-performance Cortex-M7 parts. The G4 sub-family is optimized for mixed-signal real-time control: where M0+ targets simple battery-driven sensing, and M7 targets graphics-rich gateways, the G4 adds high-resolution timers, fast comparators and a math accelerator to drive power-conversion loops with deterministic latency. This positions the G4 in the system hierarchy as: Cortex-M4 MCU -> mainstream MCU -> microcontroller -> embedded IC -> semiconductor.
Key features include a 170 MHz core delivering 213 DMIPS, an Adaptive Real-Time (ART) accelerator for zero-wait-state Flash execution, 213 DMIPS performance, 128 KB Flash with ECC, 32 KB SRAM, and 4 KB CCM-SRAM for time-critical routines. Peripherals include USB Type-C Power Delivery 3.0, CAN 2.0B, three I2C, four USART/UART, three SPI, and an FDCAN interface. The integrated CORDIC and FMAC accelerators offload trigonometric and digital-filter math, reducing CPU load in field-oriented motor control loops. The operating voltage range is 1.71 V to 3.6 V and the part is qualified to -40 C to +85 C (grade 6 suffix) or -40 C to +105 C depending on order code.
Typical applications include field-oriented control (FOC) of PMSM and BLDC motors, digital switched-mode power supplies (digital SMPS), LED lighting drivers, photovoltaic micro-inverters, wireless chargers, and industrial PLC modules. The combination of fast ADCs, comparators and op-amps enables single-chip current/voltage sensing with hardware over-current protection, eliminating external analog front-ends in many power topologies.
When designing with this part, route the analog supply (VDDA) and reference (VREF+) pins through ferrite beads and decouple them with 100 nF plus 1 uF ceramic capacitors placed within 5 mm of the pins. The math accelerator reduces the FOC loop time from ~3 us to ~1 us compared with software-only implementations, freeing CPU bandwidth for housekeeping and communications.
Alternativas directas para STM32G431CBU6 — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.
Variantes de esta serie
Modelos de la misma serie compatibles directamente con STM32G431CBU6 (mismo factor de forma y huella) — difiere en Package, Core, SRAM, ADC, Flash Memory.
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
STM32G431CBT6
✅ Sustitución directa✓ En stock
$3.9773 / unidad
Ver hoja de datos →STM32G441CBU6
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
STM32G431CBU7
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
STM32G431RBT6
✅ Sustitución directa✓ En stock
$3.65 / unidad
Ver hoja de datos →STM32G030F6P6
✅ Sustitución directa✓ En stock
$0.75 / unidad
Ver hoja de datos →STM32G431CBU6 Valores máximos y características eléctricas
| Core | Arm Cortex-M4F with FPU and DSP instructions |
| Frecuencia de reloj máxima | 170 MHz |
| CoreMark / DMIPS | 213 DMIPS |
| Program Memory (Flash) | 128 KB |
| SRAM | 32 KB (plus 4 KB CCM-SRAM) |
| Operating Voltage Range | 1.71 V to 3.6 V |
| Temperatura de funcionamiento | -40 C to +85 C (grade 6) |
| Encapsulado | 48-pin UFQFPN (7x7 mm) |
| ADC | 3 x 12-bit, up to 5 Msps |
| DAC | 4 x 12-bit |
| Op-Amps | 4 internal |
| Comparators | 4 internal |
| Math Accelerator | CORDIC + FMAC hardware |
| Communication Interfaces | USB Type-C PD 3.0, FDCAN, 3x I2C, 4x USART, 3x SPI |
| Timers | Advanced-control timers, HRTIM |
| RoHS Compliance | ROHS3 Compliant |
| MSL (Moisture Sensitivity Level) | MSL 3 |
| REACH Compliance | REACH Compliant |
Configuración de pines de STM32G431CBU6
| Pin 1 | PB11 — GPIO B11 / HRTIM_CHF1 / TIM2_CH4 |
| Pin 2 | PB10 — GPIO B10 / HRTIM_CHE1 / I2C2_SCL |
| Pin 3 | PB1 — GPIO B1 / ADC1_IN12 / COMP3_INP / OPAMP3_VINP |
| Pin 4 | PB0 — GPIO B0 / ADC1_IN15 / OPAMP3_VINP / HRTIM_SCIN |
| Pin 5 | PA0 — GPIO A0 / ADC1_IN1 / COMP1_INP / OPAMP1_VINP |
| Pin 6 | PA1 — GPIO A1 / ADC1_IN2 / COMP1_INP / OPAMP1_VINM |
| Pin 7 | PA2 — GPIO A2 / ADC1_IN3 / USART2_TX / OPAMP1_VOUT |
| Pin 8 | VDD — Digital supply 1.71-3.6 V |
| Pin 9 | VSS — Digital ground |
| Pin 10 | PA3 — GPIO A3 / ADC1_IN4 / USART2_RX / OPAMP1_VINP |
| Pin 11 | PA4 — GPIO A4 / ADC2_IN1 / DAC1_OUT1 / SPI1_NSS |
| Pin 12 | PA5 — GPIO A5 / ADC2_IN2 / DAC1_OUT2 / OPAMP3_VINP |
| Pin 13 | PA6 — GPIO A6 / ADC2_IN3 / OPAMP2_VINP / SPI1_MISO |
| Pin 14 | PA7 — GPIO A7 / ADC2_IN4 / OPAMP2_VINM / SPI1_MOSI |
| Pin 15 | PB2 — GPIO B2 / ADC1_IN18 / LPTIM1_OUT / SPI1_SCK |
| Pin 16 | VDDA — Analog supply 1.62-3.6 V |
| Pin 17 | VREF+ — ADC/DAC/OpAmp reference voltage (typ. VDDA) |
| Pin 18 | VREF- — Analog reference ground (tie to VSSA) |
| Pin 19 | PB12 — GPIO B12 / I2C2_SDA / TIM1_BKIN |
| Pin 20 | PB13 — GPIO B13 / SPI2_SCK / TIM1_CH1N |
| Pin 21 | PB14 — GPIO B14 / SPI2_MISO / TIM1_CH2N |
| Pin 22 | PB15 — GPIO B15 / SPI2_MOSI / TIM1_CH3N |
| Pin 23 | PA8 — GPIO A8 / TIM1_CH1 / MCO |
| Pin 24 | PA9 — GPIO A9 / TIM1_CH2 / USART1_TX / I2C1_SCL |
| Pin 25 | PA10 — GPIO A10 / TIM1_CH3 / USART1_RX / I2C1_SDA |
| Pin 26 | PA11 — GPIO A11 / USB_DM / CAN1_RX / TIM1_CH4 |
| Pin 27 | PA12 — GPIO A12 / USB_DP / CAN1_TX / TIM1_ETR |
| Pin 28 | PA13 — GPIO A13 / SWDIO |
| Pin 29 | VSS — Digital ground |
| Pin 30 | VDD — Digital supply 1.71-3.6 V |
| Pin 31 | PA14 — GPIO A14 / SWCLK |
| Pin 32 | PA15 — GPIO A15 / TIM2_CH1 / SPI1_NSS |
| Pin 33 | PB3 — GPIO B3 / TIM2_CH2 / SPI1_SCK / SWO |
| Pin 34 | PB4 — GPIO B4 / TIM3_CH1 / SPI1_MISO |
| Pin 35 | PB5 — GPIO B5 / TIM3_CH2 / SPI1_MOSI / I2C1_SMBA |
| Pin 36 | PB6 — GPIO B6 / USART1_TX / I2C1_SCL / TIM4_CH1 |
| Pin 37 | PB7 — GPIO B7 / USART1_RX / I2C1_SDA / TIM4_CH2 |
| Pin 38 | BOOT0 — Boot mode select (0=Flash, 1=System memory bootloader) |
| Pin 39 | PB8 — GPIO B8 / TIM4_CH3 / I2C1_SCL / CAN1_RX |
| Pin 40 | PB9 — GPIO B9 / TIM4_CH4 / I2C1_SDA / CAN1_TX |
| Pin 41 | VSS — Digital ground |
| Pin 42 | VDD — Digital supply 1.71-3.6 V |
| Pin 43 | PC13 — GPIO C13 / TAMP_IN1 / WKUP2 (TC tamper / wakeup) |
| Pin 44 | PC14 — GPIO C14 / LSE oscillator in (32.768 kHz crystal) |
| Pin 45 | PC15 — GPIO C15 / LSE oscillator out (32.768 kHz crystal) |
| Pin 46 | VSSA — Analog ground (tie to VSS) |
| Pin 47 | NRST — Active-low reset (drive low to reset) |
| Pin 48 | EP — Exposed pad / die attach paddle - must be soldered to PCB ground |
Aplicaciones típicas
STM32G431CBU6 es adecuado para 6 aplicacións: Field-Oriented Motor Control (PMSM / BLDC), Digital Switched-Mode Power Supply (SMPS), Solar Micro-Inverter and Optimizer, Wireless Charging Transmitter (Qi / WPC), Industrial PLC Mixed-Signal Module, High-Density LED Lighting Driver.
Field-Oriented Motor Control (PMSM / BLDC)
The STM32G431CBU6 is purpose-built for field-oriented control of PMSM and BLDC motors. Its 170 MHz Cortex-M4F executes the FOC algorithm in under 2 microseconds when paired with the on-chip CORDIC accelerator, while three synchronized 12-bit ADCs at 5 Msps sample phase currents at the PWM switching instant for sub-percent torque ripple. The four internal op-amps condition shunt-resistor signals without an external analog front-end, and the four comparators enable hardware over-current protection with <100 ns response time. With 128 KB Flash and 32 KB SRAM it runs the full motor-control library (MCSDK 6.x) plus a USB-PD or CAN stack, making it a single-chip solution for industrial servo, e-bike and drone ESC designs up to 5 kW.
Recomendado
Digital Switched-Mode Power Supply (SMPS)
In digital SMPS designs the STM32G431CBU6 closes the voltage and current loops digitally using its high-resolution timer (184 ps PWM resolution) and fast 12-bit ADC. The hardware CORDIC and FMAC handle the Park transform and digital compensator math, freeing CPU cycles for housekeeping, telemetry and PMBus/CAN-FD communications. ST's STEVAL-DIGPFC-1 reference design implements a 1 kW totem-pole PFC at 100 kHz switching on a G431-class part, achieving >99 percent efficiency and THD below 3 percent. The 48-pin UFQFPN-48 package fits compact 1U server PSU form factors while exposing four op-amps for current sensing and four DACs for reference trimming.
Recomendado
Solar Micro-Inverter and Optimizer
The STM32G431CBU6 is used in photovoltaic micro-inverters and module-level power optimizers where it implements MPPT, anti-islanding and grid synchronization in firmware. Its 128 KB Flash holds a full C2000-style control loop plus a Modbus RTU or Sunspec stack, while the 32 KB SRAM buffers ADC sample streams for synchronous DSP processing. The integrated comparators provide sub-microsecond grid-voltage zero-crossing detection for anti-islanding compliance per IEEE 1547, and the four op-amps condition DC-bus and AC-line currents from LEM-style transducers. Operative from 1.71 V to 3.6 V and -40 C to +85 C, the part tolerates outdoor inverter enclosures in most climate zones.
Recomendado
Wireless Charging Transmitter (Qi / WPC)
Inductive and resonant wireless-charging transmitters use the STM32G431CBU6 to drive an LCOH or LCLC tank at 100-205 kHz while performing foreign-object detection (FOD) on the receiver-side telemetry. The HRTIM generates the precise PWM with hardware dead-time insertion and adaptive frequency modulation required by the Qi 1.3 / 2.0 specifications, while the four DACs and op-amps condition the resonant-capacitor voltage and current sense signals. CORDIC acceleration enables fast Fourier analysis of the demodulated FSK signal between power transfers, ensuring robust bi-directional communication without dropping the regulated output. The 7x7 mm UFQFPN-48 footprint enables a 50 mm diameter transmitter pad design.
Recomendado
Industrial PLC Mixed-Signal Module
Compact industrial PLCs and remote I/O modules use the STM32G431CBU6 to condition and digitize analog sensor signals, perform on-module control loops and bridge to the fieldbus. The three 12-bit ADCs at 5 Msps handle multi-channel thermocouple, RTD and 4-20 mA current-loop inputs, while the four 12-bit DACs drive analog outputs for valve-positioning and actuator control. Hardware CORDIC accelerates math used in PID and auto-tuning algorithms, and the FDCAN interface connects to CANopen or DeviceNet networks at 1 Mbaud. The 1.71 V to 3.6 V supply and industrial -40 to +85 C operating range satisfy IEC 61131-2 environmental requirements for factory-floor deployment.
Recomendado
High-Density LED Lighting Driver
Architectural and stage-lighting LED drivers leverage the STM32G431CBU6 to drive multi-channel constant-current PWM outputs with 16-bit dimming resolution and zero-crossing dimmer compatibility for hobbyist drivers. The HRTIM generates complementary PWM pairs with programmable dead-time and phase-shift for full-bridge LLC resonant topologies, while the four op-amps close the average-current control loop on each channel. The 4 KB CCM-SRAM holds time-critical dimming code so the main 32 KB SRAM can run DMX-512 / RDM / Art-Net / sACN stacks simultaneously - in high-density stage-light fixtures this avoids a separate protocol coprocessor.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para STM32G431CBU6 — comparación, orientación de diseño e información de cumplimiento.
Guía de selección
Comparación con alternativas
| Parámetro | Este producto | STM32G431CBT6 | STM32G441CBU6 | STM32G431CBU7 | STM32G431RBT6 | STM32G030F6P6 |
|---|---|---|---|---|---|---|
| Brand | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics |
| Package | UFQFPN-48 (7x7 mm) | LQFP-48 (7x7 mm) - footprint change | UFQFPN-48 (7x7 mm) - same | UFQFPN-48 (7x7 mm) - same | LQFP-64 (10x10 mm) - footprint change | TSSOP-20 - footprint change |
| Core | Cortex-M4F @ 170 MHz | Cortex-M4F @ 170 MHz - same | Cortex-M4F @ 170 MHz - same | Cortex-M4F @ 170 MHz - same | Cortex-M4F @ 170 MHz - same | Cortex-M0+ @ 64 MHz - downgraded |
| Flash | 128 KB | 128 KB - same | 128 KB - same | 128 KB - same | 128 KB - same | 32 KB - downgraded (-75%) |
| SRAM | 32 KB + 4 KB CCM | 32 KB + 4 KB CCM - same | 32 KB + 4 KB CCM - same | 32 KB + 4 KB CCM - same | 32 KB + 4 KB CCM - same | 8 KB - downgraded (-75%) |
| Operating Voltage | 1.71 V to 3.6 V | 1.71 V to 3.6 V - same | 1.71 V to 3.6 V - same | 1.71 V to 3.6 V - same | 1.71 V to 3.6 V - same | 2.0 V to 3.6 V - similar |
| Operating Temperature | -40 C to +85 C | -40 C to +85 C - same | -40 C to +85 C - same | -40 C to +105 C - extended | -40 C to +85 C - same | -40 C to +85 C - same |
| 12-bit ADC | 3 x 12-bit (5 Msps) | 3 x 12-bit (5 Msps) - same | 3 x 12-bit (5 Msps) - same | 3 x 12-bit (5 Msps) - same | 3 x 12-bit (5 Msps) - same | 1 x 12-bit (2 Msps) - downgraded |
| Math Accelerator | CORDIC + FMAC | CORDIC + FMAC - same | CORDIC + FMAC - same | CORDIC + FMAC - same | CORDIC + FMAC - same | None - removed |
Diferenciadores clave
- Hardware CORDIC + FMAC math accelerator versus software-only on Cortex-M0+ (frente a STM32G030F6P6)
- Three synchronized 5 Msps 12-bit ADCs versus single 2 Msps ADC on cost-down MCUs (frente a STM32G030F6P6)
- USB Type-C Power Delivery 3.0 with integrated PHY versus external transceiver (frente a STM32G030F6P6)
- Higher-resolution HRTIM (16-bit, 184 ps) versus standard 16-bit timer in G0 family (frente a STM32G030F6P6)
Notas de diseño
Estimated: The STM32G431CBU6 VDD core current at 170 MHz with all peripherals enabled is approximately 60 mA (per datasheet typical IDD graph). When deriving the 3.3 V rail from a 5 V supply, plan a 100 mA headroom and use a 4.7 uF X7R bypass on each VDD pin pair. Place a ferrite bead between VDD and VDDA to isolate switching noise from the analog domain, with separate 100 nF + 1 uF decoupling within 5 mm of each analog supply pin.
Estimated: The UFQFPN-48 EP (exposed pad, pin 48) must be soldered to a continuous PCB ground pour with at least 8 thermal vias (0.3 mm drill, 0.5 mm pitch) on a 4-layer board to keep theta_JA below 35 C/W. Route all four VSS pins to the same ground plane as the EP, and never split the ground under the package - this causes high di/dt currents to flow through the analog ground and degrades ADC SNR by ~5 dB.
Estimated: The three ADC1/ADC2 analog inputs are multiplexed on PA0-PA7 and PB0-PB2. Route these traces as matched-length pairs from each current shunt to within 0.5 mm length mismatch, and guard them with a ground trace on each side. Avoid running PWM traces (HRTIM_CH1, HRTIM_CH2, TIM1_CHx) parallel to the analog input traces within 3 mm to minimize capacitive coupling that would otherwise show as ADC sampling noise.
Common pitfalls: (1) Failing to populate the 32.768 kHz LSE crystal on PC14/PC15 if RTC is required - the internal LSI drift of 1 percent/day is too high for calendar applications. (2) Driving BOOT0 high during reset to enter bootloader, but forgetting to release it after programming - many bricked parts result from a floating BOOT0 that drifts high in humid environments. (3) Using the USB DP/DM pins without a common-mode choke and ESD protection - the STM32G431 internal USB PHY lacks IEC 61000-4-2 immunity.
Información de cumplimiento
ROHS3 compliant (Directive 2015/863) and REACH compliant (EC 1907/2006) per ST product page and Mouser/DigiKey listings. MSL 3 rating per JEDEC J-STD-020. Not AEC-Q100 qualified - choose STM32G474 family with 'Y' or 'Q' suffix for automotive applications. Lead-free UFQFPN-48 package uses NiPdAu lead-finish.