Skip to main content
tran
Associate III
June 9, 2009
Question

Save info from RAM before VDD shutdown

  • June 9, 2009
  • 2 replies
  • 527 views
Posted on June 09, 2009 at 07:34

Save info from RAM before VDD shutdown

    This topic has been closed for replies.

    2 replies

    ccowdery9
    Associate III
    May 17, 2011
    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.

    tran
    tranAuthor
    Associate III
    May 17, 2011
    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