Core and memory budget for a 28-pin MCU
The STM32G031G6U6 runs an ARM Cortex-M0+ core at 64 MHz — the throughput ceiling for this entry-level STM32G0 part is set by the flash wait-state profile, not the core clock. With 32 KB of program flash and 8 KB of SRAM, the firmware and data budget is tight: a full HAL plus a lightweight RTOS leaves roughly 4–6 KB for the application heap and stack.
I/O and peripheral count
With 26 I/O in a 28-pin package, nearly every pin is functional — there is little headroom for expansion beyond the listed connectivity (I²C, SPI, USART, IrDA, LIN, SmartCard). The 17-channel 12-bit SAR ADC covers analog inputs, but the lack of a DAC limits closed-loop analog output applications without external components.
