Skip to main content
costi
Associate III
January 29, 2021
Solved

STM32L1xx RTC counter

  • January 29, 2021
  • 4 replies
  • 1335 views

RTC used the LSE with 32768Hz oscillator and is configured for this option.

While DBP bit is set RTC counter is stopped .

Is it true or false?

This topic has been closed for replies.
Best answer by Peter BENSCH

False.

DBP is a bit to: Disable backup domain write protection. Setting it will enable the write access to RTC and backup registers, resetting it will disable it. But neither setting nor resetting will stop the RTC.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Good luck!

/Peter

4 replies

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
January 29, 2021

False.

DBP is a bit to: Disable backup domain write protection. Setting it will enable the write access to RTC and backup registers, resetting it will disable it. But neither setting nor resetting will stop the RTC.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Good luck!

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
costi
costiAuthor
Associate III
January 29, 2021

Thank you.

But why if I let always the DBP bit set the callendar is frozzen? That thing makes me to think that the RTC counter is stopped while DBP is set.