cancel
Showing results for 
Search instead for 
Did you mean: 

Internal Sram Read And Write

htc
Associate
Posted on June 16, 2013 at 06:32

Hey guys,I would be very grateful if someone help me for the following issue.I want to compile and save some information in an indoor internal SRAMmicrocontroller when power supply of microcontroller goes offline,those information stay in internal SRAM.For instance, an LED is on and the information about it is saved inSRAM, so when power supply goes offline the information about LED willmaintain in the internal SRAM.Is there any solution for this issue?Plase Code And Sample.....

1 REPLY 1
Posted on June 16, 2013 at 14:35

For what board and part?

For the STM32F4 you'd need to have a battery attached, and place the data in the BACKUP SRAM (BKPSRAM), 4KB at 0x40024000

STM32F4xx_DSP_StdPeriph_Lib_V1.1.0\Project\STM32F4xx_StdPeriph_Examples\RTC\RTC_BKPDomain\main.c
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..