STM32F031G4U6 - 48MHz Cortex-M0 MCU 16KB Flash | STMicroelectronics
Артикул: STM32F031G4U6 ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $1.95 | $1,95 |
| 10 | $1.74 | $17,40 |
| 100 | $1.43 | $143,00 |
| 500 | $1.18 | $590,00 |
| 1.000 | $0.99 | $990,00 |
STM32F031G4U6 Обзор
A microcontroller (MCU) is a single-chip processor that integrates a CPU core, program memory (Flash), data memory (SRAM), and peripheral interfaces such as timers, communication controllers, and analog blocks. Within the broader semiconductor taxonomy, an MCU belongs to the microcontroller family, which sits inside the integrated-circuit (IC) hierarchy and the embedded-computing product domain. Cortex-M0 is ARM's smallest and most energy-efficient core, designed for deterministic real-time control with a minimal instruction set and ultra-low gate count.
Key specifications include a 12-bit ADC with up to 10 external channels, a 16-bit advanced-control timer for motor driving, multiple 16-bit and 32-bit general-purpose timers, communication interfaces (I2C, SPI, USART), an integrated voltage reference, brown-out reset (BOR), and a watchdog timer. The UFQFPN-28 footprint exposes 23 GPIO and embeds a 1-channel DMA controller for offloading data moves from the core, improving determinism in interrupt-driven loops.
The architecture uses a single AHB-Lite bus matrix connecting the Cortex-M0 core, Flash, SRAM, and peripherals. The advanced-control timer supports complementary PWM outputs with dead-time insertion and an emergency stop input, making the part well-suited for brushless-DC (BLDC) and permanent-magnet synchronous motor (PMSM) commutation. The 12-bit ADC achieves a 1 µs conversion time and supports hardware oversampling to reach 16-bit effective resolution when required.
Typical applications include BLDC and stepper motor control (small fans, pumps, e-bike throttles), sensor nodes and home-automation bridges, low-cost HMI panels and e-metering front-ends, industrial 24 V→3 V signal-conditioning modules, and consumer appliances requiring low pin-count, deterministic control. The wide 2.0–3.6 V range supports direct connection to a single Li-ion cell or to a regulated 3.3 V LDO downstream of a 5 V or 12 V bus.
When designing with this MCU, plan the decoupling network (100 nF + 4.7 µF close to VDD pins) and ensure NRST is pulled up with the recommended 10 kΩ and a 100 nF capacitor for noisy industrial enclosures. The BOOT0 pin must be tied to GND through a 10 kΩ resistor on production boards to lock the part into main-Flash boot; floating BOOT0 is a common field-failure cause.
Аналоги без доработки для STM32F031G4U6 — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с STM32F031G4U6 (тот же форм-фактор и посадочное место) — отличается по Core, Operating Temperature, Package.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
STM32F031G6U6
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
STM32G031G6U6
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
STM32G031G8U6
✅ Прямая замена✓ В наличии
$1.38 / шт.
Открыть даташит →HK32F031G4U6
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
STM32F031G4U6 Максимальные параметры и электрические характеристики
| Core | ARM Cortex-M0 32-bit RISC |
| Максимальная тактовая частота | 48 MHz |
| Program Memory (Flash) | 16 KB (16K x 8) |
| RAM | 4 KB |
| Supply Voltage (VDD) | 2.0 V to 3.6 V |
| Рабочая температура | -40 °C to +85 °C (industrial) |
| Корпус | 28-pin UFQFPN (4x4 mm) |
| GPIO Count | 23 |
| ADC | 1 × 12-bit, up to 10 external channels |
| Advanced-Control Timer | 1 × 16-bit (motor-control PWM) |
| General-Purpose Timers | Multiple 16-bit / 32-bit |
| Communication Interfaces | I2C, SPI, USART |
| DMA Channels | 1 |
| Watchdog | Yes (independent + window) |
| Reset / BOR | POR, PDR, NRST pin |
| Тип монтажа | Surface Mount |
| Статус RoHS | Compliant |
Конфигурация выводов STM32F031G4U6
| Контакт 1 | VDD — Power supply (2.0 V to 3.6 V) |
| Контакт 2 | PF4 — GPIO / ADC input / oscillator |
| Контакт 3 | PF5 — GPIO / oscillator / I2C1_SMBAI |
| Контакт 4 | PA0 — GPIO / ADC_IN0 / TAMP_IN2 / TIM2_CH1 / WKUP1 |
| Контакт 5 | PA1 — GPIO / ADC_IN1 / TIM2_CH2 |
| Контакт 6 | PA2 — GPIO / ADC_IN2 / TIM2_CH3 / TIM1_CH3 |
| Контакт 7 | NRST — External reset, internal pull-up |
| Контакт 8 | BOOT0 — Boot mode selection (tie to GND via 10 kΩ for main Flash boot) |
| Контакт 9 | PF0-OSC_IN — External 4.2 MHz crystal / GPIO |
| Контакт 10 | PF1-OSC_OUT — External crystal / GPIO |
| Контакт 11 | VSS — Digital ground |
| Контакт 12 | VDDA — Analog supply (tie to VDD on 28-pin package) |
| Контакт 13 | PA3 — GPIO / ADC_IN3 / TIM2_CH4 |
| Контакт 14 | PA4 — GPIO / ADC_IN4 / USART1_CK / SPI1_NSS |
| Контакт 15 | PA5 — GPIO / ADC_IN5 / SPI1_SCK |
| Контакт 16 | PA6 — GPIO / ADC_IN6 / SPI1_MISO / TIM3_CH1 |
| Контакт 17 | PA7 — GPIO / ADC_IN7 / SPI1_MOSI / TIM3_CH2 |
| Контакт 18 | PB0 — GPIO / ADC_IN8 / TIM3_CH3 |
| Контакт 19 | PB1 — GPIO / ADC_IN9 / TIM3_CH4 |
| Контакт 20 | PB2 — GPIO / BOOT1 (depends on option bit) |
| Контакт 21 | VSS — Ground |
| Контакт 22 | VDD — Power supply |
| Контакт 23 | PA8 — GPIO / TIM1_CH1 / RCC output |
| Контакт 24 | PA9 — GPIO / USART1_TX / TIM1_CH2 / I2C1_SCL |
| Контакт 25 | PA10 — GPIO / USART1_RX / TIM1_CH3 / I2C1_SDA |
| Контакт 26 | PA13 — GPIO / SWDIO (debug) |
| Контакт 27 | PA14 — GPIO / SWCLK (debug) |
| Контакт 28 | VSS_PAD — Exposed thermal pad / ground (must be soldered) |
Типичное применение
STM32F031G4U6 подходит для 6 применениеs: BLDC and Stepper Motor Control, Sensor Nodes and IoT Bridges, Home-Automation HMI Front-Ends, Industrial 24 V→3.3 V Signal Conditioning, e-Metering and Energy Measurement, Consumer Appliance Controllers.
BLDC and Stepper Motor Control
The STM32F031G4U6's 16-bit advanced-control timer with complementary PWM outputs and dead-time insertion drives 3-phase bridges for small BLDC and PMSM motors. At 48 MHz the Cortex-M0 executes Hall-sensor and 6-step commutation in well under 1 µs per loop, leaving headroom for start-up ramps and over-current trips. The 12-bit ADC samples back-EMF at 1 µs conversion time, and 1 DMA channel offloads the ADC-to-PWM update path for jitter-free commutation.
Рекомендуется
Sensor Nodes and IoT Bridges
Low pin count, 2.0–3.6 V supply, and 5 µA stop-mode current make the STM32F031G4U6 a strong fit for battery-powered sensor nodes that wake, sample, transmit on I2C/SPI/UART, and sleep. The 16 KB Flash fits LoRa WAN, Modbus, or BLE HCI host stacks on a single chip, and 4 KB SRAM is sufficient for typical sensor-acquisition buffers.
Рекомендуется
Home-Automation HMI Front-Ends
For low-cost wall switches, smart thermostats, and appliance HMI panels, the STM32F031G4U6 offers 23 GPIO to drive LED indicators, segmented LCD-like blink patterns, and quadrature rotary encoders. 48 MHz is more than enough for software debouncing and capacitive-touch acquisition through the touch-sensing library (TSC) peripheral on STM32F0, replacing mechanical buttons.
Рекомендуется
Industrial 24 V→3.3 V Signal Conditioning
The 2.0–3.6 V supply and industrial -40 to +85 °C temperature range let the STM32F031G4U6 sit on the cold side of an isolated 24 V industrial bus. The MCU reads analog inputs through its 12-bit ADC, conditions them, and pushes filtered values over UART or SPI to the upstream PLC or controller, replacing discrete op-amp signal chains with a single programmable solution.
Рекомендуется
e-Metering and Energy Measurement
In single-phase electricity meters, the STM32F031G4U6 reads current-sensor outputs through its 12-bit ADC with hardware oversampling, calculates RMS power, and drives a stepper motor display or LED pulse counter. The advanced-control timer captures zero-crossing for line-frequency measurement, and 4 KB SRAM is sufficient for short-term load-history buffers.
Рекомендуется
Consumer Appliance Controllers
The STM32F031G4U6 controls small kitchen and personal-care appliances such as blenders, coffee machines, and electric toothbrushes, where cost dominates the BOM and motor control plus UI feedback are the main tasks. The integrated watchdog and BOR protect against brown-out glitches from motor inrush, and the small UFQFPN-28 footprint fits tight enclosures.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для STM32F031G4U6 — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | STM32F031K4U6 | STM32F031G6U6 | STM32G031G6U6 | STM32G031G8U6 | HK32F031G4U6 |
|---|---|---|---|---|---|---|
| Brand | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | STMicroelectronics | HK (Hua Hong) |
| Package | UFQFPN-28 (4x4 mm) | UFQFPN-32 (NOT pin-compatible with UFQFPN-28) | UFQFPN-28 (4x4 mm) - same | UFQFPN-28 (4x4 mm) - same | UFQFPN-28 (4x4 mm) - same | UFQFPN-28 (4x4 mm) - same |
| Core | Cortex-M0 48 MHz | Cortex-M0 48 MHz (same) | Cortex-M0 48 MHz (same) | Cortex-M0+ 64 MHz (+33%) | Cortex-M0+ 64 MHz (+33%) | Cortex-M0 48 MHz (same) |
| Flash | 16 KB | 16 KB (same) | 32 KB (+100%) | 32 KB (+100%) | 64 KB (+300%) | 16 KB (same) |
| SRAM | 4 KB | 4 KB (same) | 4 KB (same) | 8 KB (+100%) | 8 KB (+100%) | 4 KB (same) |
| GPIO Count | 23 | 27 (+4, larger package) | 23 (same) | 26 (+3) | 26 (+3) | 23 (same) |
| Supply Voltage | 2.0 V to 3.6 V | 2.0 V to 3.6 V (same) | 2.0 V to 3.6 V (same) | 2.0 V to 3.6 V (same) | 2.0 V to 3.6 V (same) | 2.0 V to 3.6 V (same) |
| 12-bit ADC | 1 (10 channels) | 1 (10 channels, same) | 1 (10 channels, same) | 1 (up to 19 channels) | 1 (up to 19 channels) | 1 (similar channel count) |
Ключевые отличия
- Industry-standard 16 KB / 4 KB Cortex-M0 with 23 GPIO in UFQFPN-28 (против STM32F051K4U7TR (32-pin UFQFPN))
- Drop-in upgrade to 32 KB Flash and 64 MHz on same UFQFPN-28 footprint (против STM32G031G6U6)
- ST factory authenticity with broad distributor coverage (против HK32F031G4U6 (HK / Hua Hong))
Заметки по проектированию
Place a 100 nF ceramic decoupling capacitor as close as possible to each VDD pin, plus a 4.7 µF bulk capacitor at the UFQFPN package entry. For VDDA, add a dedicated 100 nF + 1 µF filter network and a ferrite bead if analog accuracy matters. A floating or weak VDD can cause the brown-out reset to mis-trigger, especially during in-rush events from companion motor drivers.
BOOT0 must be tied to GND through a 10 kΩ resistor on production boards; do not leave BOOT0 floating. A floating BOOT0 selects the system-memory bootloader at reset and prevents main-Flash boot, which is the most common field-failure cause of STM32F0 designs. NRST should be pulled up with 10 kΩ and decoupled with 100 nF in noisy industrial environments.
Estimated: at 48 MHz / 3.3 V with all peripherals active, the part consumes ~11 mA, dissipating ~36 mW and giving a junction temperature rise of only 1 °C above ambient with the UFQFPN-28 thermal pad soldered. The exposed thermal pad MUST be soldered to a copper pour of at least 10 mm² to meet published thermal resistance; an unsoldered pad can elevate internal temperatures by 10 °C during heavy load.
Route the SWD signals (PA13/PA14) to a 4-pin debug header placed at the board edge with no series resistors on PA13/PA14 unless the application explicitly needs them; 4.7 kΩ in series can mask the SWD handshake on some clones. Keep crystal traces (PF0/PF1) short and symmetric within 1 mm to avoid duty-cycle distortion. AGND and DGND should be connected at a single point near the chip's GND pins.
Информация о соответствии
RoHS and REACH compliant per ST product page. Industrial-grade part (not AEC-Q100 automotive qualified); for automotive applications, select STM32F031G4U6xxx with automotive screening or migrate to STM32G0 series.