STM32L4 series microcontrollers feature an internal low-power Flash memory that is able to store code and data.

The X-CUBE-EEPROM application demonstrates how to emulate an EEPROM using the internal Flash memory, thus saving the cost of external components.

For further details refer to the application note ‘EEPROM emulation in STM32L4 series microcontrollers' (AN4894).


  • 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
    • 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.



Description バージョン サイズ
DB3326 DB3326: EEPROM emulation software expansion for STM32Cube 1.0 115.96 KB
Description バージョン サイズ
AN4894 AN4894: EEPROM emulation techniques and software for STM32L4 and STM32L4+ Series microcontrollers 2.0 583.03 KB
Description バージョン サイズ
UM2312 UM2312: Development checklist for STM32Cube Expansion Packages 1.0 283.23 KB
UM2285 UM2285: Development guidelines for STM32Cube Expansion Packages 1.0 485.46 KB

プレゼンテーション & トレーニング資料

Description バージョン サイズ
STM32 and STM8 embedded software solutions 7.0 3.12 MB

Publications and Collaterals

Description バージョン サイズ
STM32 Open Development Environment Brochure 16.10 1.09 MB
Sensor & motion algorithm software pack for STM32Cube 1.0 675.19 KB


Description バージョン サイズ
SLA0048 SLA0048: Mix Ultimate Liberty+OSS+3rd-party V1 - SOFTWARE LICENSE AGREEMENT 5.2 87.58 KB


製品型番 General Description Software Version Supplier Marketing Status GitHub link ダウンロード
X-CUBE-EEPROM EEPROM emulation expansion software for STM32Cube 1.1.0 ST Active -


サポート & コミュニティ