cancel
Showing results for 
Search instead for 
Did you mean: 

How to use emulated EEPROM for STM32F series MCU

Khtos
Associate

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?

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
SofLit
ST Employee

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.