cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L1 internal EEprom (user data in NVM)

ferrarofcf
Associate II
Posted on May 29, 2016 at 23:18

In STM32L1 how works the internal small EEPROM? (The Data EEPROM memory block. It contains user data)

For example the Page 0 0x0800 0000 - 0x0800 00FF = 256 bytes, to use it must be first erased?

For write is DATA_EEPROM_FastProgramWord(,,) in stm32l1xx_flash.c the correct EEprom firmware function?

After reset, Data EEPROM block are not accessible in write mode?

My doubt is: in the STM32L1 there is a real NVM and then it is useless to use ''EEPROM emulation microcontrollers (AN2594)''

#stm32l1-eeprom-nvm
1 REPLY 1
Nesrine M_O
Lead II
Posted on June 02, 2016 at 12:57

Hi  ferraro.francesc.001,

1. I recommend you to have a look to the “Flash program memory and data EEPROM (FLASH)� section in your related STM32L1 product reference manual

2. STM32L1 portfolio covers from 32 to 512 Kbytes of Flash memory with up to 16 Kbytes of true embedded EEPROM

3. For write is DATA_EEPROM_FastProgramWord(,,) in stm32l1xx_flash.c the correct EEprom firmware function?:

DATA_EEPROM_FastProgramWord()is used to Write a Byte at a specified address in data memory.

Note that you find some descriptions for every function implemented in the driver.

-Syrine-