cancel
Showing results for 
Search instead for 
Did you mean: 

Backup registers

cyrildufoing
Associate II
Posted on January 19, 2016 at 15:08

Hi,

I need to write on the backup registers when a falling edge is detected on PA0. So I put some capacitors on Vbat but now I need some advice to write the stmcube code. 

Then I have to be sure that the value stay in the backup register when my capacitors will be discharged.

I'm working with STM32F100.

Someone could help me please? 

Cyril

#!stm32 #backup #- #rtc
2 REPLIES 2
Posted on January 19, 2016 at 17:33

Unless I missed something the backup registers need a power source.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
jpeacock
Associate III
Posted on January 19, 2016 at 19:22

The backup registers are in the Vbat power domain and are part of the RTC.  Not sure what the cube supports, don't use it, but it's the same setup as RTC except you don't need to start the LSE oscillator.