The access line ultra-low-power STM32L031G6 family incorporates the high-performance ARM® Cortex®-M0+ 32-bit RISC core operating at a 32 MHz frequency, high-speed embedded memories (up to 32 Kbytes of Flash program memory, 1 Kbytes of data EEPROM and 8 Kbytes of RAM) plus an extensive range of enhanced I/Os and peripherals. The STM32L031G6 devices provide high power efficiency for a wide range of performance. It is achieved with a large choice of internal and external clock sources, an internal voltage adaptation and several low-power modes. The STM32L031G6 devices offer several analog features, one 12-bit ADC with hardware oversampling, two ultra-low-power comparators, several timers, one low-power timer (LPTIM), three general-purpose 16-bit timers, one RTC and one SysTick which can be used as timebases. They also feature two watchdogs, one watchdog with independent clock and window capability and one window watchdog based on bus clock. Moreover, the STM32L031G6 devices embed standard and advanced communication interfaces: one I2C, one SPI, one USART, and a low-power UART (LPUART).
GPIOs:- 21/23 Ultra-low-power platform Core: ARM® 32-bit Cortex®-M0+ Reset and supply management Clock sources Pre-programmed boot loader Development support Up to 38 fast I/Os (31 I/Os 5V tolerant) Memories Rich Analog peripherals 7-channel DMA controller, supporting ADC, SPI, I2C, USART, Timers 5x peripherals communication interface 1x USART (ISO 7816, IrDA), 1x UART (low power) Up to 2 SPI interfaces, up to 16 Mbits/s 1x I2C (SMBus/PMBus) 8x timers: 1x 16-bit with up to 4 channels, 2x 16-bit with up to 2 channels, 1x 16-bit ultra-low-power timer, 1x SysTick, 1x RTC and 2x watchdogs (independent/window) CRC calculation unit, 96-bit unique ID All packages are ECOPACK®2