Skip to main content
matic
Associate III
March 24, 2016
Question

Any way to store data (one word) to flash in case of disconnecting device?

  • March 24, 2016
  • 3 replies
  • 640 views
Posted on March 24, 2016 at 09:20

Hi. We have a variable (one word) which is changing constantly. Up to 200 times per second. We would like to store its value even if power goes down. Do you have any idea how to do that in the most elegant way?

We have STM32F303.

Thanks
    This topic has been closed for replies.

    3 replies

    Radosław
    Associate II
    March 24, 2016
    Posted on March 24, 2016 at 09:45

    1. Flash or option bytes.  Use PVD and program flash after this event. Flash programing is uses more current.

    Tesla DeLorean
    Guru
    March 24, 2016
    Posted on March 24, 2016 at 11:21

    Does the part have battery backed RAM or RTC registers for such?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    matic
    maticAuthor
    Associate III
    March 24, 2016
    Posted on March 24, 2016 at 14:50

    Yes, it has. That's it, if you take a look:

    http://www.st.com/web/en/catalog/mmc/SC1169/SS1576/LN1531/PF253449