AnsweredAssumed Answered

STM32L1 not writing to EEPROM after exiting STOP

Question asked by almeida.bruno on Mar 29, 2014
Latest reply on Mar 30, 2014 by almeida.bruno

I'm entering in STOP mode with the command:

PWR_EnterSTOPMode(PWR_Regulator_LowPower, PWR_STOPEntry_WFI);

But, when it resume from STOP, I cannot write to EEPROM anymore.
I'm unlocking EEPROM with the command:


And writing to EEPROM:

DATA_EEPROM_ProgramByte(address++, *s);

If I remove only the line to enter in STOP mode, it works as well.

Am I missing something?

Thank you.