Hi, I want to store a SOC value in EEPROM and read it at start up. Is there way to flash to EEPROM just before the device switches off? The power of the device is directly controlled by a PSU so I am assuming not as once that it switched off the application code instantly stops?
Thanks!