cancel
Showing results for 
Search instead for 
Did you mean: 

RTC writing counter register while running

hhosburg
Associate II
Posted on April 25, 2011 at 16:58

RTC writing counter register while running

2 REPLIES 2
Posted on May 17, 2011 at 14:32

You are probably missing

  /* Enable PWR and BKP clocks */

  RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR | RCC_APB1Periph_BKP, ENABLE);

  /* Allow access to BKP Domain */

  PWR_BackupAccessCmd(ENABLE);

or you haven't actually disabled to the RTC interrupt.

The examples for the RTC are not particularly complete/comprehensive.
Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
hhosburg
Associate II
Posted on May 17, 2011 at 14:32

Thanks for this,

now setting RTC clock registers are working.