Document
STM32G474xB STM32G474xC STM32G474xE
Arm® Cortex®-M4 32-bit MCU+FPU, 170 MHz / 213 DMIPS, 128 KB SRAM, rich analog, math acc, 184 ps 12 chan Hi-res timer
Datasheet - production data
Features
Includes ST state-of-the-art patented technology
• Core: Arm® 32-bit Cortex®-M4 CPU with FPU, Adaptive real-time accelerator (ART Accelerator) allowing 0-wait-state execution from Flash memory, frequency up to 170 MHz with 213 DMIPS, MPU, DSP instructions
• Operating conditions: – VDD, VDDA voltage range: 1.71 V to 3.6 V
• Mathematical hardware accelerators – CORDIC for trigonometric functions acceleration
– FMAC: filter mathematical accelerator
• Memories – 512 Kbytes of Flash memory with ECC support, two banks read-while-write, proprietary code readout protection (PCROP), securable memory area, 1 Kbyte OTP
– 96 Kbytes of SRAM, with hardware parity check implemented on the first 32 Kbytes
– Routine booster: 32 Kbytes of SRAM on instruction and data bus, with hardware parity check (CCM SRAM)
– External memory interface for static memories FSMC supporting SRAM, PSRAM, NOR and NAND memories
– Quad-SPI memory interface
• Reset and supply management – Power-on/power-down reset (POR/PDR/BOR)
– Programmable voltage detector (PVD)
– Low-power modes: sleep, stop, standby and shutdown
– VBAT supply for RTC and backup registers
LQFP48 (7 x 7 mm) LQFP64 (10 x 10 mm) LQFP80 (12 x 12 mm) LQFP100 (14 x 14 mm) LQFP128 (14 x 14 mm)
UFQFPN48 (7 x 7 mm)
WLCSP81 (4.02 x 4.27 mm)
UFBGA121 (6 x 6 mm)
TFBGA100 (8 x 8 mm)
• Clock management – 4 to 48 MHz crystal oscillator – 32 kHz oscillator with calibration – Internal 16 MHz RC with PLL option (± 1%) – Internal 32 kHz RC oscillator (± 5%)
• Up to 107 fast I/Os – All mappable on external interrupt vectors – Several I/Os with 5 V tolerant capability
• Interconnect matrix
• 16-channel DMA controller
• 5 x 12-bit ADCs 0.25 µs, up to 42 channels. Resolution up to 16-bit with hardware oversampling, 0 to 3.6 V conversion range
• 7 x 12-bit DAC channels – 3 x buffered external channels 1 MSPS – 4 x unbuffered internal channels 15 MSPS
• 7 x ultra-fast rail-to-rail analog comparators
• 6 x operational amplifiers that can be used in PGA mode, all terminals accessible
• Internal voltage reference buffer (VREFBUF) supporting three output voltages (2.048 V, 2.5 V, 2.9 V)
• 17 timers:
– HRTIM (Hi-Resolution and complex waveform builder): 6 x16-bit counters, 184 ps resolution, 12 PWM
November 2021
This is information on a product in full production.
DS12288 Rev 6
1/236
www.st.com
STM32G474xB STM32G474xC STM32G474xE
– 2 x 32-bit timer and 2 x 16-bit timers with up to four IC/OC/PWM or pulse counter and quadrature (incremental) encoder input
– 3 x 16-bit 8-channel advanced motor control timers, with up to 8 x PWM channels, dead time generation and emergency stop
– 1 x 16-bit timer with 2 x IC/OCs, one OCN/PWM, dead time generation and emergency stop
– 2 x 16-bit timers with IC/OC/OCN/PWM, dead time generation and emergency stop
– 2 x watchdog timers (independent, window)
– 1 x SysTick timer: 24-bit downcounter
– 2 x 16-bit basic timers
– 1 x low-power timer
• Calendar RTC with alarm, periodic wakeup from stop/standby
• Communication interfaces – 3 x FDCAN controller supporting flexible data rate – 4 x I2C Fast mode plus (1 Mbit/s) with 20 mA current sink, SMBus/PMBus, wakeup from stop
– 5 x USART/UARTs (ISO 7816 interface, LIN, IrDA, modem control)
– 1 x LPUART
– 4 x SPIs, 4 to 16 programmable bit frames, 2 x with multiplexed half duplex I2S interface
– 1 x SAI (serial audio interface)
– USB 2.0 full-speed interface with LPM and BCD support
– IRTIM (infrared interface)
– USB Type-C™ /USB power delivery controller (UCPD)
• True random number generator (RNG)
• CRC calculation unit, 96-bit unique ID
• Development support: serial wire debug (SWD), JTAG, Embedded Trace Macrocell™
Reference STM32G474xB STM32G474xC STM32G474xE
Table 1. Device summary
Part number
STM32G474CB, STM32G474MB, STM32G474RB, STM32G474VB, STM32G474QB, STM32G474PB
STM32G474CC, STM32G474MC, STM32G474RC, STM32G474VC, STM32G474QC, STM32G474PC
STM32G474CE, STM32G474ME, STM32G474RE, STM32G474VE, STM32G474QE, STM32G474PE
2/236
DS12288 Rev 6
STM32G474xB STM32G474xC STM32G474xE
Contents
Contents
1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3
Functional overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.1 Arm® Cortex®-M4 core with FPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.2 Adaptive real-time memory accelerator (ART accelerator) . . . . . . . . . . . 18
3.3 Memory protection unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..