Tagged: backup

Library 45- Interface backup SRAM on STM32F4 7

Library 45- Interface backup SRAM on STM32F4

Almost all (with few exceptions) STM32F4xx MCUs have internal backup SRAM, which stores data, if power is available at least on Vbat rails. These MCUs have internal 4-kBytes of SRAM. Backup SRAM can be also used as EEPROM, if your Vbat supply is always active, so you can store data which will stay there also if you reset your device. You just have to make sure that you don’t shut down your power supply or re-write them during startup sequence of MCU. Difference...

Library 19- Use internal RTC on STM32F4 97

Library 19- Use internal RTC on STM32F4

It’s been some time when I post last library. Next one is internal RTC library. STM32F4xx devices have Real Time Clock (RTC) inside, with support of internal calibrated 32768 Hz oscillator or external (more accurate) 32768 Hz oscillator. RTC peripheral has also backup register support, which means that when you reset MCU, registers are not reset or if power is off and you have battery connected on Vbat pin, clock is still working. RTC can also wakeup MCU from all...