cancel
Showing results for 
Search instead for 
Did you mean: 

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

matic
Associate III
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
3 REPLIES 3
Radosław
Senior
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.

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
Up vote any posts that you find helpful, it shows what's working..
matic
Associate III
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