1. Documentation conventions

1.1 General information

The STM32G0x1 devices have an Arm ®(a) Cortex ® -M0+ core.

Arm logo
Arm logo

1.2 List of abbreviations for registers

The following abbreviations (b) are used in register descriptions:

read/write (rw)Software can read and write to this bit.
read-only (r)Software can only read this bit.
write-only (w)Software can only write to this bit. Reading this bit returns the reset value.
read/clear write0 (rc_w0)Software can read as well as clear this bit by writing 0. Writing 1 has no effect on the bit value.
read/clear write1 (rc_w1)Software can read as well as clear this bit by writing 1. Writing 0 has no effect on the bit value.
read/clear write (rc_w)Software can read as well as clear this bit by writing to the register. The value written to this bit is not important.
read/clear by read (rc_r)Software can read this bit. Reading this bit automatically clears it to 0. Writing this bit has no effect on the bit value.
read/set by read (rs_r)Software can read this bit. Reading this bit automatically sets it to 1. Writing this bit has no effect on the bit value.
read/set (rs)Software can read as well as set this bit. Writing 0 has no effect on the bit value.
read/write once (rwo)Software can only write once to this bit and can also read it at any time. Only a reset can return the bit to its reset value.
toggle (t)The software can toggle this bit by writing 1. Writing 0 has no effect.
read-only write trigger (rt_w1)Software can read this bit. Writing 1 triggers an event but has no effect on the bit value.
Reserved (Res.)Reserved bit, must be kept at reset value.

a. Arm is a registered trademark of Arm Limited (or its subsidiaries) in the US and/or elsewhere.

b. This is an exhaustive list of all abbreviations applicable to STMicroelectronics microcontrollers, some of them may not be used in the current document.

1.3 Glossary

This section gives a brief definition of acronyms and abbreviations used in this document:

1.4 Availability of peripherals

For availability of peripherals and their number across all devices, refer to the particular device datasheet.

The following table shows per-device availability of peripherals that are not common to all STM32G0x1 devices. The “X” means that the peripheral is available, “-” not available.

Table 1. Peripherals versus devices

FeatureSTM32G031STM32G041STM32G051STM32G061STM32G071STM32G081STM32G0B1STM32G0C1
CRS------XX
RNG-X-X-X-X
AES-X-X-X-X
DAC--XXXXXX
COMP1, COMP2--XXXXXX
COMP3------XX
TIM4------XX
TIM6 and TIM7--XXXXXX
TIM15--XXXXXX
I2C2X (1)X (1)X (1)X (1)X (1)X (1)X (2)X (2)
I2C3------X (1)X (1)
SPI3------XX
I2S2------XX

Table 1. Peripherals versus devices (continued)

FeatureSTM32G0
31
STM32G0
41
STM32G0
51
STM32G0
61
STM32G0
71
STM32G0
81
STM32G0
B1
STM32G0
C1
USART2X (1)X (1)X (1)X (1)X (2)X (2)X (2)X (2)
USART3----X (1)X (1)X (2)X (2)
USART4----X (1)X (1)X (1)X (1)
USART5,
USART6
------X (1)X (1)
LPUART2------XX
USB------XX
UCPD1, UCPD2----XXXX
FDCAN1,
FDCAN2
------XX
CEC----XXXX
DMA2------XX
MCO2------XX
HSI48 RC------XX
CRS------XX
GPIO port E------XX
Switchable I/O
clamping diode
XXXX--XX
V DDIO2 monitor------XX

1. Basic configuration

2. Full configuration