AnsweredAssumed Answered

unlocking Data EEPROM on STM32L1xx

Question asked by Mr_M_from_G on Jul 30, 2014
Latest reply on Jul 30, 2014 by Clive One

to unlock data EEPROM on STM32 I need to write a sequence of two values to the FLASH_PEKEYR. Any failure in the sequence will permanently lock the EEPROM.
Now there are some questions:
- Do I need to disable interrupt during this sequence ie is there also a timing criteria?
- Is it wise to open EEPROM once at startup and check if it succeeded and then leave it open or is it better to only open it for write purposes and then lock it again?