cancel
Showing results for 
Search instead for 
Did you mean: 

RTC in STM32F103 looses PRLL setting after RESET

vaclav23
Associate II
Posted on October 08, 2010 at 10:19

RTC in STM32F103 looses PRLL setting after RESET

3 REPLIES 3
damh
Associate II
Posted on May 17, 2011 at 14:10

How did you see, that RTC->PRLL is lost? (it is writeonly)

vaclav23
Associate II
Posted on May 17, 2011 at 14:10

Ehh, I am sorry, I did not notice that it is write-only. I just read the value and it was allways 0x8000. That is why I thought the settings is lost. Then my question is answered. Thank you for opening my eyes.

damh
Associate II
Posted on May 17, 2011 at 14:10

If you look at [0x4000280C], you will see the content of the shadow register. This content is 0x8000 after each reset. The RTC interface marks every written shadow register in config mode for writetrough into the real RTC registers.