July 2024 RM0490 Rev 4 1/909
1
RM0490
Reference manual
STM32C0 series advanced Arm
®
-based 32-bit MCUs
Introduction
This reference manual complements the datasheets of the STM32C0 series
microcontrollers, providing information required for application and in particular for software
development. It pertains to the superset of feature sets available on STM32C0 series
microcontrollers.
For feature set, ordering information, and mechanical and electrical characteristics of a
particular STM32C0 series device, refer to its corresponding datasheet.
For information on the Arm
®
Cortex
®
-M0+ core, refer to the Cortex
®
-M0+ technical
reference manual.
The STM32C0 series microcontrollers include ST state-of-the-art patented technology.
Related documents
“Cortex
®
-M0+ Technical Reference Manual”, available from:
http://infocenter.arm.com
PM0223 programming manual for Cortex
®
-M0+ core
(a)
STM32C0 series datasheets
(a)
STM32C0 series errata sheets
(a)
AN2606 application note on booting STM32 MCUs
(a)
a. Available on STMicroelectronics website www.st.com
www.st.com
Contents RM0490
2/909 RM0490 Rev 4
Contents
1 Documentation conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
1.1 General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
1.2 List of abbreviations for registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
1.3 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
1.4 Availability of peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
2 Memory and bus architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
2.1 System architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
2.2 Memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2.2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2.2.2 Memory map and register boundary addresses . . . . . . . . . . . . . . . . . . 43
2.3 Embedded SRAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
2.4 Flash memory overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3 Boot modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.1 Boot configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.1.1 Physical remap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.1.2 Embedded boot loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.1.3 Forcing boot from main flash memory . . . . . . . . . . . . . . . . . . . . . . . . . . 49
3.1.4 Empty check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4 Embedded flash memory (FLASH) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.1 FLASH Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.2 FLASH main features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.3 FLASH functional description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.3.1 Flash memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
4.3.2 FLASH read access latency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
4.3.3 Flash memory acceleration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.3.4 FLASH program and erase operations . . . . . . . . . . . . . . . . . . . . . . . . . 53
4.3.5 FLASH main memory erase sequences . . . . . . . . . . . . . . . . . . . . . . . . 54
4.3.6 FLASH main memory programming sequences . . . . . . . . . . . . . . . . . . 55
4.4 FLASH option bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
4.4.1 FLASH option byte description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59