STSPIN32G4
Product Specifications
STSPIN32G4 — ARM Cortex-M4F Microcontroller by STMicroelectronics
The STSPIN32G4 is an STMicroelectronics ARM Cortex-M4F MCU in - for Embedded control and general-purpose MCU applications. Supplied by SUPERB Automation.
Part Number Decoded — Field by Field
| Field | Value | Meaning |
|---|---|---|
| STSPIN32G4 | Full Part Number | STMicroelectronics ARM Cortex-M4F Microcontroller |
| STM32 | Product Family | STMicroelectronics 32-bit ARM-based MCU |
| ST | Series | ARM Cortex-M4F based MCU — ST series |
Quick Specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Part Number | STSPIN32G4 |
| Core | ARM Cortex-M4F |
| Package | - |
| Temperature Range | −40°C to +85°C |
| Supply Voltage | 1.8V–3.6V |
Product Overview
The STSPIN32G4 is an STMicroelectronics ARM Cortex-M4F microcontroller in - package. Part of ST's extensive STM32 portfolio, it delivers a high-performance processing platform with integrated Flash, SRAM, and a rich set of communication peripherals for Embedded control and general-purpose MCU applications. Supplied by SUPERB Automation with full traceability and competitive lead times.
Key Features & Benefits
ARM Cortex-M4F Core — Efficient Processing for Embedded Control
The ARM Cortex-M4F core provides deterministic real-time performance with hardware multiply/divide and optional FPU, executing control loops, communication stacks, and sensor fusion algorithms efficiently in resource-constrained embedded environments.
Rich Peripheral Set — GPIO, Timers, ADC, Communication Interfaces
Features a comprehensive set of on-chip peripherals including multi-channel DMA, 12/16-bit ADCs, advanced PWM timers for motor control, and multiple USART/SPI/I²C interfaces for sensor and communication module connectivity.
ST Ecosystem — CubeMX, HAL, LL, Middleware
Fully supported by ST's STM32Cube ecosystem including CubeMX graphical configuration, HAL/LL driver libraries, FreeRTOS integration, and extensive middleware stacks (USB, TCP/IP, FATFS, graphics) — accelerating firmware development and reducing time-to-market.
Target Applications
Embedded Control & IoT Systems
Functions as the main processing unit in embedded control systems, IoT endpoints, sensor hubs, motor controllers, and human-machine interfaces — leveraging the Cortex-M architecture for efficient, low-power operation.
Industrial Automation & Motor Control
Powers industrial motor drives, PLCs, sensor transmitters, and factory automation equipment — taking advantage of advanced PWM timers, high-speed ADCs, and CAN/RS-485 communication for distributed control architectures.
Consumer & Portable Electronics
Integrates into consumer devices, wearables, smart home products, and portable instruments — benefiting from the STM32 family's low-power modes, small packages, and extensive third-party firmware ecosystem.
Frequently Asked Questions
Is the STSPIN32G4 supported by STM32CubeIDE?
Yes, the STSPIN32G4 is fully supported in STM32CubeIDE with graphical pinout configuration, clock tree setup, and automatic peripheral initialization code generation — enabling rapid prototyping and production firmware development.
What firmware/RTOS options are available?
The STM32 family is supported by FreeRTOS, Zephyr, NuttX, ChibiOS, and bare-metal HAL programming. For drone applications, Betaflight, iNav, ArduPilot, and PX4 all have STM32 HAL targets.
What is the minimum order quantity (MOQ)?
Contact SUPERB Automation for a tailored quote. We support quantities from prototype tray to full production volumes.
Request a Quote
SUPERB Automation supplies genuine STMicroelectronics STSPIN32G4 MCUs with full traceability and batch-level QA documentation. Whether you need a single tray for prototype builds or pallet-level volumes for production, we source through verified channels with competitive lead times. Contact us with your target quantity and delivery date — we'll respond with a detailed quotation within 24 hours.
STSPIN32G4: a three phase gate driver with an STM32G4 inside
STSPIN32G4 puts a three phase brushless motor gate driver and an STM32G431 microcontroller in one package. The motor supply runs from 5.5 V to 75 V, the gate driver sources and sinks 1 A, three bootstrap diodes are integrated, and the microcontroller brings a Cortex-M4 with floating point unit at up to 170 MHz, 128 kB of flash, 32 kB of SRAM, two 12 bit converters at 4 Msps, four comparators, three operational amplifiers and a CAN interface.
The integration answers a specific problem in small drives: the gate drive, the current sense amplifiers and the controller have to sit within a few millimetres of each other for a clean current loop, and separating them into three packages forces compromises in the board and in the harness. One package removes that argument, at the cost of being tied to one microcontroller family.
Figures come from DS13630 Rev 3, dated May 2026, read this round.
The blocks inside the package
| Motor supply | 5.5 V to 75 V |
| Gate driver | Three half bridges, 1 A sink and source |
| Bootstrap | Three integrated diodes |
| Protection | Cross conduction prevention, VDS monitoring of the external MOSFETs, thermal shutdown, short circuit, overload, undervoltage lockout |
| Configuration | I2C accessible registers for driver settings and status |
| Core | STM32G431, 32 bit Cortex-M4 with floating point unit, up to 170 MHz |
| Memory | 128 kB flash with readout protection, 32 kB SRAM with parity check |
| Converters | Two 12 bit ADCs, up to 19 channels, 4 Msps, four 12 bit DAC channels |
| Analog | Four rail to rail comparators, three operational amplifiers with PGA mode |
| Interfaces | I2C, SPI, UART and CAN, up to 40 GPIOs |
| Internal supplies | Buck converter up to 200 mA with four selectable outputs, 3.3 V LDO up to 150 mA, standby regulator |
| Temperature range | Minus 40 to plus 125 degrees |
The self supplied structure
The only supply the board has to provide is the motor voltage. An internal buck converter with an embedded MOSFET produces the gate drive rail from the motor supply, and four output values can be selected through a configuration register: 8 V by default, 10 V, 12 V and 15 V. A 3.3 V low drop regulator then supplies the driver logic and the microcontroller, and a separate low quiescent regulator keeps the controller alive in standby.
That structure matters at 75 V, because a linear pre regulator from 75 V to 12 V at even 50 mA would dissipate over 3 W inside the package. The buck converter is what makes the high voltage end of the range usable, and the four selectable outputs let the same part drive logic level MOSFETs and standard threshold devices without an external rail.
The VDS monitoring and the current loop
Each of the six external MOSFETs is monitored for drain source voltage, and an over threshold condition switches off all gate outputs. The threshold is set by a dedicated pin, so the protection is a hardware function that runs without the microcontroller. That is the feature that lets a small drive claim a safe shutdown path without an external comparator network.
The three operational amplifiers and the four comparators are there for the current loop. A three shunt arrangement uses the amplifiers, a single shunt uses one amplifier and a comparator for the overcurrent trip, and the 4 Msps converter samples the shunt in the middle of the PWM on time. The software side of that timing is where most bring up time goes on this part, not the gate drive.
Where the part fits
The document names industrial and home automation, appliances such as vacuum cleaners and cleaning robots, servo drives, e-bikes, service robots, power and garden tools, pumps, fans and drones. The common thread is a three phase brushless motor between 12 V and 60 V with a control loop that needs a real microcontroller rather than a fixed function driver.
For a build that uses this part, the firmware is the customer's, and our scope is the board, the component supply and the assembly. The power management cross reference page lists the integrated driver family by voltage and current, the PCBA test coverage strategy page describes how a motor board is tested at assembly, and the one stop BOM sourcing route covers the MOSFETs, shunts and passives on the same shipment.
Three questions buyers ask about this string
Does the package include the power MOSFETs? No. It drives external MOSFETs and monitors their drain source voltage. The power stage is on the board, chosen by the customer.
Can the motor supply be 48 V? Yes. The window is 5.5 V to 75 V, and the internal buck converter produces the gate rail from that supply.
Is the microcontroller programmable in the usual toolchain? It is an STM32G431, so the standard STM32 toolchain and debug interface apply, with SWD or JTAG brought out on the board.