Non-volatile data storage in STM32F7 mcu?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-21 5:04 AM
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- Labels:
-
EEPROM devices
-
Flash
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-21 6:11 AM
There should be 4KB of BKPSRAM (NVRAM) powered by the battery attached to VBAT, this should be part of the PWR/RTC block.
0x40024000 - 0x40024FFF BKPSRAM
Use a pointer to access, or create a structure for your data and use a pointer to the structure.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-21 8:17 AM
Isn't there any storage which does not needs external battery backup?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-21 8:25 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-21 8:48 AM
why these mcus don't have eeproms like the classic old mcus?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-21 9:47 AM
Because the size and process/geometry don't work well.
You can place small/cheap external components in the footprint of a 40pin DIP socket, along with the processor.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-21 2:59 PM
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-11-21 5:23 PM
How frequently is the data going to change? I tend to put user configuration data in FLASH, because it doesn't change all the time, and unlikely to change more than 100 times during the product life span. Things that don't change like MAC addresses, serial numbers or security keys could be written to OTP
Up vote any posts that you find helpful, it shows what's working..
