Product overview
Description
The microcontrollers in the STM32C0 series, STM32G0 series, STM32G4 series, STM32H5 series, STM32L4 series, STM32L4+ series, STM32L5 series, STM32U0 series, STM32U3 series, STM32U5 series, STM32WB series, and STM32WL series feature an internal low-power flash memory that is able to store code and data.
The applications in the X-CUBE-EEPROM Expansion Package demonstrate how to emulate an EEPROM using the internal flash memory, thus saving the cost of external components.
For the host board in P-NUCLEO-WB55, a specific example maintaining a Bluetooth® LE connection and communication while processing EEPROM operations is provided. For this example, a mechanism to share the flash memory efficiently between the two STM32WB microcontroller cores is implemented.
For the NUCLEO-H563ZI, an example using the high-cycle data area to perform the EEPROM operations is provided.
For more details, refer to the How to use EEPROM emulation on STM32 MCUs application note (AN4894), available on www.st.com.
-
All features
- Lightweight implementation and reduced footprint
- Simple API that consists of a few functions to format, initialize, read and write data, and clean up flash memory pages
- User-configured EEPROM size
- Supports 8-bit, 16-bit, and 32-bit variables; supports 96-bit variables for the STM32U5 series
- Supports high-cycle data area for the STM32H5 series
- Clean-up simplified for the user (background page erase)
- Interrupt servicing is possible during program and erase operations
- At least two flash memory pages to be used for internal data management
- Wear leveling algorithm to increase emulated EEPROM cycling capability
- Increased EEPROM memory endurance versus flash memory endurance
- Robust against asynchronous resets and power failures
- Optional protection for flash memory sharing between the two cores of the STM32WB series microcontrollers
- Maintenance of cache coherency
Get Software
| Part Number | General Description | Latest version | ECCN (EU) | ECCN (US) | Supplier | Download | All versions |
|---|---|---|---|---|---|---|---|
| X-CUBE-EEPROM | EEPROM emulation expansion software for STM32Cube | 8.0.0 | NEC | 3D991 | ST |
Recommended Tools & Software
All tools & software
All resources
| Resource title | Version | Latest update |
|---|
Product Specifications (1)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 8.0 | 13 Mar 2025 | 13 Mar 2025 |
Application Notes (1)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 11.0 | 24 Mar 2025 | 24 Mar 2025 |
User Manuals (3)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 5.0 | 24 Jun 2022 | 24 Jun 2022 | ||
| 2.0 | 10 Sep 2020 | 10 Sep 2020 | ||
| 2.0 | 10 Jan 2023 | 10 Jan 2023 |
Presentations (4)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 1.0 | 10 Aug 2022 | 10 Aug 2022 | ||
| 1.0 | 21 Mar 2024 | 21 Mar 2024 | ||
| 1.0 | 13 Dec 2023 | 13 Dec 2023 | ||
| 1.0 | 10 Aug 2022 | 10 Aug 2022 |
License Agreement (1)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| 8.0 | 16 Oct 2025 | 16 Oct 2025 |
Additional License Terms (4)
| Resource title | Version | Latest update | ||
|---|---|---|---|---|
| HTML | 8.0.0 | 25 Mar 2025 | 25 Mar 2025 | |
| HTML | 7.0.0 | 18 Mar 2024 | 18 Mar 2024 | |
| HTML | 6.1.0 | 29 Nov 2023 | 29 Nov 2023 | |
| HTML | 6.0 | 17 Jul 2023 | 17 Jul 2023 |