Skip to main content
Explorer
April 1, 2024
Solved

How to use emulated EEPROM for STM32F series MCU

  • April 1, 2024
  • 1 reply
  • 1587 views

Hello everybody!
Can anybody advise me on a simple way to emulate EEPROM for STM32f… MCU?
Right now I need it for STM32f373C8T6 MCU.
Yes I have X-CUBE-EEPROM, but there is no “STM32F” series at all
Yes, I have read the "AN4056 EEPROM emulation in STM32F30x/STM32F31x, STM32F37x/STM32F38x microcontrollers" and have the corresponding code. And of course, it was very useful some 10 years ago, before STM force using their HAL drivers instead of “StdPerif”. But now any attempts to use it inside native STM32Cube IDE lids to errors because of incompatibility between these two drivers.
I understand how to emulate the EEPROM, but to be honest, I have no wish to do it by hand. And I wonder if nobody needs EEPROM in their projects? Or maybe is there so simple way that I can’t see it myself?
So help, please! Show me the way, how to use emulated EEPROM for STM32f373C8T6 MCU (and any STM32F MCU) with HAL, or even better LL drivers?

This topic has been closed for replies.
Best answer by mƎALLEm

Hello,

Available in cube package. Refer to that link from github:

https://github.com/STMicroelectronics/STM32CubeF3/tree/master/Projects/STM32373C_EVAL/Applications/EEPROM/EEPROM_Emulation

1 reply

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
April 1, 2024
To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.