2009-06-08 10:34 PM
Save info from RAM before VDD shutdown
2011-05-17 04:14 AM
Hello all,
Im using an STM32F101R6T6 , and im trying to use the flash memory to save some infomation from the RAM just before the VDD is shuted down ( when we have electrical problem, no source, micro cut of power...). How can i detect the micro cut? Can i have time after detecting it, to save some variables from RAM to Flash memory? Thanks you all2011-05-17 04:14 AM
You need a large enough capacitor to hold up VDD for long enough to backup your data, and a GPIO pin configured to generate an interrupt, which is connected to a circuit that detects power fail.
Chris.