cancel
Showing results for 
Search instead for 
Did you mean: 

is there any eeprom in stm32f0 to save couple of byte?

navid ansari
Associate III
Posted on July 23, 2017 at 05:37

hi

im wondering is there any eeprom that i can save some byte in it?

if there is how to access it and how to write to it?

im not using cubemx and im writing in registers directly

#stm32f0 #eeprom #flash-memory
2 REPLIES 2
Posted on July 23, 2017 at 09:58

Hello!

There is not exist internal EEPROM

STOne-32
ST Employee
Posted on July 23, 2017 at 19:45

Dear

ansari.navid

‌,

On these STM32 series we have only Flash pages of 1Kbytes or 2 Kbytes depending on the device. You can dedicate one or two pages to emulate an EEPROM and store bytes, On the flash defaut state is 0xFF {initially erased} and when you write a data you will store 0x 0 to erased bits. For more details on advanced techniques refer to our EEPROM emulation App notes. Latest published one is on L4 series very similar.

Cheers,

STOne -32