2025-06-02 8:48 AM
Hello!
Is it possible to save data to EEPROM in STM8S001J3 after VDD drops (power outage)?
I would appreciate any case indication.
I appreciate any help in advance.
Solved! Go to Solution.
2025-06-02 9:04 AM
You would likely need to implement a custom supply, which can detect the departure of the primary source, and enough reserve supply to keep the STM8 running long enough to write what you need to EEPROM.
The alternative would be to periodically flush updated content to EEPROM along the way.
Or have a battery/supercap adequate to maintain data in NVRAM over the anticipate outage of the primary supply.
2025-06-02 9:04 AM
You would likely need to implement a custom supply, which can detect the departure of the primary source, and enough reserve supply to keep the STM8 running long enough to write what you need to EEPROM.
The alternative would be to periodically flush updated content to EEPROM along the way.
Or have a battery/supercap adequate to maintain data in NVRAM over the anticipate outage of the primary supply.
2025-06-02 9:39 AM
Thanks Tesla.