STM32G071x8/xB Arm Cortex -M0+ 32-bit MCU, up to 128 KB Flash, 36 KB RAM, 4x USART, timers, ADC, DAC, comm. I/Fs, 1.7-3.6V Datasheet - production data Features Core: Arm 32-bit Cortex -M0+ CPU, frequency up to 64 MHz LQFP32 UFQFPN28 -40C to 85C/105C/125C operating WLCSP25 UFBGA64 7 7mm 4 4mm 2.3 2.5 mm 5 5mm temperature LQFP48 UFQFPN32 7 7mm 5 5mm Memories LQFP64 UFQFPN48 10 10 mm 7 7 mm Up to 128 Kbytes of Flash memory with protection and securable area Communication interfaces 36 Kbytes of SRAM (32 Kbytes with HW 2 Two I C-bus interfaces supporting Fast- parity check) mode Plus (1 Mbit/s) with extra current CRC calculation unit sink, one supporting SMBus/PMBus and Reset and power management wakeup from Stop mode Voltage range: 1.7 V to 3.6 V Four USARTs with master/slave Power-on/Power-down reset (POR/PDR) synchronous SPI two supporting ISO7816 interface, LIN, IrDA capability, auto baud Programmable Brownout reset (BOR) rate detection and wakeup feature Programmable voltage detector (PVD) One low-power UART Low-power modes: Two SPIs (32 Mbit/s) with 4- to 16-bit Sleep, Stop, Standby, Shutdown programmable bitframe, one multiplexed V supply for RTC and backup registers BAT 2 with I S interface Clock management HDMI CEC interface, wakeup on header 4 to 48 MHz crystal oscillator USB Type-C Power Delivery controller 32 kHz crystal oscillator with calibration Internal 16 MHz RC with PLL option (1 %) Development support: serial wire debug (SWD) Internal 32 kHz RC oscillator (5 %) 96-bit unique ID Up to 60 fast I/Os All packages ECOPACK 2 compliant All mappable on external interrupt vectors Multiple 5 V-tolerant I/Os Table 1. Device summary 7-channel DMA controller with flexible mapping Reference Part number 12-bit, 0.4 s ADC (up to 16 ext. channels) STM32G071C8, STM32G071G8, Up to 16-bit with hardware oversampling STM32G071x8 STM32G071K8, STM32G071R8 Conversion range: 0 to 3.6V Two 12-bit DACs, low-power sample-and-hold STM32G071CB, STM32G071EB, STM32G071xB STM32G071GB, STM32G071KB, Two fast low-power analog comparators, with STM32G071RB programmable input and output, rail-to-rail 14 timers (two 128 MHz capable): 16-bit for advanced motor control, one 32-bit and five 16- bit general-purpose, two basic 16-bit, two low- power 16-bit, two watchdogs, SysTick timer Calendar RTC with alarm and periodic wakeup from Stop/Standby/Shutdown September 2021 DS12232 Rev 4 1/135 This is information on a product in full production. www.st.comContents STM32G071x8/xB Contents 1 Introduction . 10 2 Description 11 3 Functional overview 14 3.1 Arm Cortex -M0+ core with MPU . 14 3.2 Memory protection unit . 14 3.3 Embedded Flash memory 14 3.3.1 Securable area . 15 3.4 Embedded SRAM . 16 3.5 Boot modes . 16 3.6 Cyclic redundancy check calculation unit (CRC) . 16 3.7 Power supply management . 17 3.7.1 Power supply schemes . 17 3.7.2 Power supply supervisor 18 3.7.3 Voltage regulator 18 3.7.4 Low-power modes . 19 3.7.5 Reset mode 20 3.7.6 VBAT operation . 20 3.8 Interconnect of peripherals 20 3.9 Clocks and startup 22 3.10 General-purpose inputs/outputs (GPIOs) . 22 3.11 Direct memory access controller (DMA) 23 3.12 DMA request multiplexer (DMAMUX) 23 3.13 Interrupts and events 23 3.13.1 Nested vectored interrupt controller (NVIC) 24 3.13.2 Extended interrupt/event controller (EXTI) 24 3.14 Analog-to-digital converter (ADC) 25 3.14.1 Temperature sensor 25 3.14.2 Internal voltage reference (V ) . 26 REFINT 3.14.3 V battery voltage monitoring . 26 BAT 3.15 Digital-to-analog converter (DAC) 26 3.16 Voltage reference buffer (VREFBUF) 27 2/135 DS12232 Rev 4