AnsweredAssumed Answered

using the flash as an EEPROM of STM32F3

Question asked by khalo.hilwane on Nov 25, 2013
Latest reply on Dec 31, 2015 by Clive One
Hi,
This is a post that was posted before in a wrong thread, this post was :
I would like to store my data in memory when the computing is done and used the data for the next use.
I don't have the EEPROM memory on my STM32F3, can i use the flash as an EEPROM?

Thanks in advance for any help.

Clive response was :

I don't have the EEPROM memory on my STM32F3, can i use the flash as an EEPROM?

Is that a design oversight, or you just don't want to attach one?

You could, however it is not designed for frequent, or multiple writing. Writing and Erasing Flash will cause the processor to stall quite significantly if you are also executing code from it.

ST has some EEPROM emulation examples, but they are not really designed for large structures.

fm response :

I don't have the EEPROM memory on my STM32F3, can i use the flash as an EEPROM?

In theory yes, but most probably not.
See the datasheet for FLASH erase/program times, which is in the millisecond range. For a higher data rate, you can evaluate serial SRAM/NVSRAM.


Outcomes