cancel
Showing results for 
Search instead for 
Did you mean: 

Save data to EEPROM after VDD drops

Vladix
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

View solution in original post

2 REPLIES 2

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Vladix
Associate

Thanks Tesla.