The microcontrollers in the STM32G0 Series, STM32G4 Series, STM32L4 Series, STM32L4+ Series, STM32L5 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® Low Energy connection and communication while processing EEPROM operations is provided. For this example, a mechanism to share efficiently the Flash memory between the two STM32WB microcontroller cores is implemented.
For more details, refer to the EEPROM emulation techniques and software for STM32 microcontrollers application note (AN4894), available on www.st.com.