cancel
Showing results for 
Search instead for 
Did you mean: 

Save info from RAM before VDD shutdown

tran
Associate II
Posted on June 09, 2009 at 07:34

Save info from RAM before VDD shutdown

2 REPLIES 2
tran
Associate II
Posted on May 17, 2011 at 13:14

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 all

ccowdery9
Associate III
Posted on May 17, 2011 at 13:14

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.