Skip to main content
Abhishek Kumar
Associate III
November 21, 2017
Question

Non-volatile data storage in STM32F7 mcu?

  • November 21, 2017
  • 2 replies
  • 1580 views
Posted on November 21, 2017 at 14:04

I am using STM32F777II mcu where I wanted to know how to store non-volatile data? I see that this controller's datasheet doesn't say it has any EEPROM.

#eeprom #stm32-f7 #non-volatile #flash
This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
November 21, 2017
Posted on November 21, 2017 at 15:11

There should be 4KB of BKPSRAM (NVRAM) powered by the battery attached to VBAT, this should be part of the PWR/RTC block.

http://www.st.com/content/ccc/resource/technical/document/datasheet/group3/8a/34/ed/7e/4c/04/4b/7a/DM00225424/files/DM00225424.pdf/jcr:content/translations/en.DM00225424.pdf

 

0x40024000 - 0x40024FFF BKPSRAM

Use a pointer to access, or create a structure for your data and use a pointer to the structure.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Abhishek Kumar
Associate III
November 21, 2017
Posted on November 21, 2017 at 16:17

Isn't there any storage which does not needs external battery backup?

waclawek.jan
Super User
November 21, 2017
Posted on November 21, 2017 at 16:25

Yes, it is - the FLASH; but there are inconveniences related to using it as a backup memory (code execution from FLASH stalls, erase granularity is high, endurance limited).

JW

Joerg Wagner
Senior III
November 21, 2017
Posted on November 21, 2017 at 23:59

I use FRAM, it's fast and very reliable.

For projects Flash will not be used very often, I shift my app to another address (i.e. 0x80020000)

to use the 32kB section(s). I believe in 100K erase operations under normal temperature conditions

and 10-20 years data retention, but nothing is forever...