STMicroelectronics STM32G4A1REI6
- Part No.:
- STM32G4A1REI6
- Manufacturer:
- STMicroelectronics
- Category:
- Microcontrollers
- Package:
- 64-UFBGA
- Datasheet:
-
STM32G4A1REI6.pdf
- Description:
- IC MCU 32BIT 512KB FLASH 64UFBGA
- Quantity:
- Payment:

- Shipping:

Inventory:5,975
Please send an inquiry. Send us your inquiry, and we will respond immediately.
Product details
Overview
STM32G4A1REI6 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, 112 KB SRAM (96 KB + 16 KB CCM), and integrated analog peripherals including three 16-bit ADCs, four 12-bit DACs, four rail-to-rail comparators, and four operational amplifiers - deployed in motor control, digital power conversion, and industrial sensing systems.
For engineers reviewing the STM32G4A1REI6 datasheet, STM32G4A1REI6 pinout, STM32G4A1REI6 application, or STM32G4A1REI6 equivalent, key selection criteria include its CORDIC/FMAC math accelerators, dual FDCAN 2.0B interfaces with flexible data rate, UCPD controller for USB Type-C™ PD, and 5 V-tolerant GPIOs supporting mixed-voltage system interfacing.
Technical Context
The STM32G4A1REI6 implements an Adaptive Real-time Accelerator (ART) enabling zero-wait-state execution from Flash at 170 MHz. Its interconnect matrix routes 16 DMA channels across multiple AHB/APB buses, supporting concurrent high-bandwidth peripheral access without arbitration bottlenecks.
It integrates dual FDCAN controllers compliant with ISO 11898-1:2015, supporting bit rates up to 5 Mbps in FD mode, alongside a dedicated USB Type-C™/PD controller (UCPD) with hardware CRC and protocol state machine - enabling native source/sink role negotiation without external PHY.
Key Specifications
| Parameter | Value and Actual Design Meaning |
|---|---|
| CPU Core | Arm Cortex-M4 with FPU and MPU, 170 MHz max frequency (213 DMIPS), ART Accelerator for 0-wait-state Flash execution |
| Memory | 512 KB Flash with ECC and PCROP; 96 KB SRAM + 16 KB CCM-SRAM (parity-checked); 1 KB OTP |
| Analog Peripherals | 3 × 16-bit ADCs (0.25 µs conversion, up to 36 channels); 4 × 12-bit DACs (2 buffered @ 1 MSPS, 2 unbuffered @ 15 MSPS) |
| Timers & Control | 15 timers including 3 × 16-bit advanced motor control timers (8 PWM channels, dead-time, emergency stop), LPTIM, SysTick, and watchdogs |
| Communication | 2 × FDCAN FD, 5 × USART/UART (LIN/IrDA/ISO7816), 3 × I²C (Fast Mode Plus), 3 × SPI, 1 × SAI, 1 × USB FS (LPM/BCD), 1 × UCPD |
| Security & Math | AES-128/256 hardware accelerator; true RNG; CORDIC (trig/log/exp); FMAC (filtering); 96-bit unique ID; CRC unit |
| Supply & Power | 1.71–3.6 V operation; POR/PDR/BOR; programmable voltage detector (PVD); sleep/stop/standby/shutdown modes; VBAT RTC support |
Pinout & Package
STM32G4A1REI6 is packaged in UFQFPN48 (7 × 7 mm, 0.5 mm pitch), a 48-pin near-chip-scale package with exposed thermal pad, rated for industrial temperature range (–40 °C to +85 °C) and ECOPACK2 compliance.
| Pin/Terminal | Circuit Role | Design Meaning |
|---|---|---|
| VDD, VDDA | Core & Analog Supply | 1.71–3.6 V main supply; separate analog domain for precision ADC/DAC/OPAMP operation |
| VSS, VSSA | Digital & Analog Ground | Independent ground planes minimize noise coupling between digital switching and analog signal paths |
| PA0–PA15, PB0–PB15, PC0–PC15, PD0–PD2, PF0–PF1 | General-purpose I/O | Up to 86 fast I/Os; most support 5 V tolerance, external interrupts, and configurable alternate functions |
| NRST | Active-low Reset Input | Asynchronous reset pin with internal pull-up; accepts external push-button or supervisor IC assertion |
| BOOT0 | Boot Mode Selection | High at power-up selects system memory bootloader; low selects user Flash; internal pull-down |
| SWCLK, SWDIO | Debug Interface | Two-pin Serial Wire Debug (SWD) interface for programming and real-time trace; no JTAG required |
Key Features
| Feature | Design Value |
|---|---|
| CORDIC Engine | Hardware-accelerated sine/cosine/tangent/log/exp computation - reduces CPU load by >90% vs software implementation in motor FOC or sensor fusion |
| FMAC Unit | Dedicated filter math accelerator supporting real-time FIR/IIR filtering on ADC streams without CPU intervention |
| UCPD Controller | Fully integrated USB Type-C™ Power Delivery controller with hardware PD protocol engine - eliminates need for external PD MCU or transceiver |
| OPAMP PGA Mode | Four rail-to-rail op-amps with all terminals accessible; configurable as programmable-gain amplifiers for sensor signal conditioning |
| VREFBUF Output | Internal voltage reference buffer with selectable 2.048 V / 2.5 V / 2.9 V outputs - enables precise ADC/DAC reference without external components |
Applications
| Industrial Motor Control | Digital Power Supply |
|---|---|
Use Scenario: Field-oriented control (FOC) of 3-phase BLDC/PMSM motors in HVAC compressors and industrial drives. IC Role / Device Role / Timing Role: Primary controller executing real-time FOC loop, PWM generation, current/voltage sensing, and protection logic. Use Value: CORDIC and FMAC offload trigonometric and filtering math; advanced timers deliver synchronized 6-channel PWM with <1 ns dead-time accuracy. |
Use Scenario: Closed-loop regulation in AC-DC and DC-DC SMPS with adaptive compensation and digital PFC. IC Role / Device Role / Timing Role: Digital power controller managing feedback sampling, PID computation, and gate drive timing via advanced PWM timers. Use Value: Dual 16-bit ADCs sample voltage/current simultaneously; 12-bit DACs generate precise reference waveforms; UCPD manages auxiliary USB-C PD port. |
| Programmable Logic Controller (PLC) | USB-C Enabled Industrial Gateway |
Use Scenario: Compact modular PLC I/O module handling analog input (4–20 mA), digital I/O, and fieldbus communication. IC Role / Device Role / Timing Role: Central processing unit for deterministic scan-cycle execution, analog signal conditioning, and local bus interface (SPI/I²C). Use Value: Four OPAMPs condition sensor signals; 16-bit ADCs achieve <0.1% INL; 5 V-tolerant GPIOs interface directly with legacy 24 V control logic. |
Use Scenario: Edge gateway connecting industrial sensors to cloud via USB-C host/device with PD negotiation and data tunneling. IC Role / Device Role / Timing Role: Dual-role USB-C controller with embedded PD stack, SAI for audio diagnostics, and FDCAN for fieldbus bridging. Use Value: Integrated UCPD handles full PD contract negotiation; USB FS + SAI enable firmware updates and audio-based fault reporting over single cable. |
Equivalent & Alternatives
The following parts are listed as comparable options for similar microcontroller applications.
| Alternative Part | Technical Difference | Application Difference | Selection Advice |
|---|---|---|---|
| STM32G474RET6 | Same G4A1 core but with 512 KB Flash, 128 KB SRAM, and added crypto/hash accelerators (SHA-256, PKA); no UCPD | Better suited for secure firmware updates and TLS offload; lacks native USB-C PD capability | Select when cryptographic acceleration is prioritized over USB-C PD integration |
| STM32H723ZGT6 | Higher-performance Cortex-M7 (550 MHz), 1 MB Flash, dual-bank OCTOSPI, no CORDIC/FMAC; includes DSI and JPEG codec | Targeted at HMI-rich edge devices; over-specified for cost-sensitive motor/power apps | Choose only if >300 DMIPS, advanced graphics, or external Octo-SPI memory is required |
Compared with STM32G474RET6, the G4A1REI6 trades crypto acceleration for integrated UCPD and math accelerators optimized for real-time control; versus STM32H723ZGT6, it delivers better power efficiency and lower BOM cost for deterministic analog/motor workloads without needing M7-class throughput.
Availability
STM32G4A1REI6 is available at Aetrix Electronics and suitable for industrial motor control, digital power conversion, programmable logic controllers, and USB-C enabled gateways requiring stable component supply across multi-year production cycles.
Supply support for STM32G4A1REI6 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 management ICs, sensors, and automotive semiconductors.
The STM32G4 series targets high-efficiency digital power, motor control, and industrial automation - combining real-time analog integration, math acceleration, and USB-C PD in a single chip to reduce system complexity and bill-of-materials cost.
FAQ
What is the maximum operating frequency and associated performance metric of the STM32G4A1REI6?
The STM32G4A1REI6 operates at up to 170 MHz with an integer performance rating of 213 DMIPS (Dhrystone 2.1). This is achieved using the Adaptive Real-time Accelerator (ART) to eliminate Flash wait states, and includes a single-precision FPU for floating-point intensive tasks like motor control algorithms.
Does the STM32G4A1REI6 support USB Type-C™ Power Delivery, and how is it implemented?
Yes - the STM32G4A1REI6 integrates a dedicated USB Type-C™/Power Delivery controller (UCPD) with hardware CRC, protocol state machine, and VBUS discharge circuitry. It supports both source and sink roles, handles PD message exchange, and manages VCONN switching without external components or firmware overhead.
How many analog-to-digital converters does the STM32G4A1REI6 include, and what are their key resolution and speed specifications?
The device includes three independent 16-bit ADCs with hardware oversampling, capable of 0.25 µs conversion time (up to 4 MSPS effective sampling rate). Each supports up to 16 external channels plus internal sensors (temperature, VREFINT, VBAT), with full 0–3.6 V input range and configurable sampling windows.
What packaging and thermal specifications apply to the STM32G4A1REI6 variant?
The STM32G4A1REI6 uses the UFQFPN48 package (7 × 7 mm body, 0.5 mm pitch, exposed thermal pad), qualified for industrial temperature range (–40 °C to +85 °C). Its θJA is 40.5 °C/W, and it complies with ECOPACK2 environmental standards including halogen-free and RoHS requirements.
STM32G4A1REI6 Specifications
- Product attributes
- Attribute value
- Manufacturer:
- STMicroelectronics
- Package/Case:
- 64-UFBGA
- 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, IRTIM, LINbus, SAI, SPI, UART/USART, USB
- Peripherals:
- Brown-out Detect/Reset, DMA, I2S, POR, PWM, WDT
- Number of I/O:
- 52
- Program Memory Size:
- 512KB (512K x 8)
- Program Memory Type:
- FLASH
- EEPROM Size:
- -
- RAM Size:
- 112K x 8
- Voltage - Supply (Vcc/Vdd):
- 1.71V ~ 3.6V
- Data Converters:
- A/D 24x12b; D/A 4x12b
- Oscillator Type:
- Internal
- Operating Temperature:
- -40°C ~ 85°C (TA)
- Grade:
- -
- Qualification:
- -
- Mounting Type:
- Surface Mount
- Supplier Device Package:
STM32G4A1REI6 FAQ
1.How can I place an order for STM32G4A1REI6 through Aetrix?
Please submit a Request for Quotation (RFQ) for STM32G4A1REI6 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 STM32G4A1REI6 reliable?
The price and inventory of STM32G4A1REI6 are updated periodically and may fluctuate due to market conditions. Stock and pricing data are typically refreshed every 24 hours. Quotation validity for STM32G4A1REI6 is usually 5 days.
3.What payment methods are accepted for STM32G4A1REI6?
We accept Wire Transfer, PayPal, Credit Card, Western Union, MoneyGram, and Escrow for STM32G4A1REI6 transactions.
Note: Certain payment methods may incur a processing fee.
4.How is shipping managed for STM32G4A1REI6?
STM32G4A1REI6 orders can be shipped via leading logistics carriers, including DHL, UPS, FedEx, TNT, or Registered Mail.
Once your STM32G4A1REI6 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 STM32G4A1REI6?
For technical support, including STM32G4A1REI6 datasheets, pinout diagrams, or application guidance, please contact our engineering support team. They can provide detailed documentation and assistance for your STM32G4A1REI6 requirements.
6.How does Aetrix verify that STM32G4A1REI6 is sourced from the original manufacturer or authorized distributors?
All STM32G4A1REI6 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 STM32G4A1REI6 meets industry standards.
7.What is the process for return or replacement of STM32G4A1REI6?
All STM32G4A1REI6 units undergo pre-shipment inspection (PSI). If there is an issue with STM32G4A1REI6, 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 STM32G4A1REI6 part is unused and in its original packaging.
Return procedure for STM32G4A1REI6:
1.Submit a request within 90 days.
2.Obtain a Return Material Authorization (RMA) from Aetrix.
STM32G4A1REI6 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…

