Skip to main content
Stepan Martinek
Associate II
Aug 31, 2021 3:58 PM UTC
Solved

Contradiction in Reference Manual RM0394

There is an inconsistency in RTC shadow register update frequency description. Some places in text mentions that shadow register update happens once every RTCCLK period:

34.3.5, 36.3.4: "Every RTCCLK periods, the current calendar value is copied into the shadow registers..."

34.3.10, 36.3.8: "The copy is performed every RTCCLK cycle."

And other place say that it actually happens every other RTCCLK cycle:

34.6.7, 36.6.3: "Calendar values (when reading from RTC_SSR, RTC_TR, and RTC_DR) are taken from the shadow registers, which are updated once every two RTCCLK cycles."

I assume that "every two RTCCLK cycles" is correct, because some other Reference Manuals state this consistently.

This topic has been closed for replies.
Imen.DBest answer
ST Technical Moderator
Sep 27, 2021 3:31 PM UTC

Hello @Stepan Martinek​ and welcome to the Community :)

The shadow registers are updated every ck_rtc cycle on RTC2_v2_0 and all versions after that. 

I think it was "every two cycles" for v1.

So, "every two RTCCLK cycles" is wrong and should be “every RTCCLK cycle�?.

Hope this answer your question.

When your question is answered, please close this topic by choosing Select as Best.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

6 replies

Imen.DBest answer
ST Technical Moderator
Sep 27, 2021 3:31 PM UTC

Hello @Stepan Martinek​ and welcome to the Community :)

The shadow registers are updated every ck_rtc cycle on RTC2_v2_0 and all versions after that. 

I think it was "every two cycles" for v1.

So, "every two RTCCLK cycles" is wrong and should be “every RTCCLK cycle�?.

Hope this answer your question.

When your question is answered, please close this topic by choosing Select as Best.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Stepan Martinek
Associate II
Sep 29, 2021 7:23 AM UTC

Hello and thank you for clarification.

waclawek.jan
Super User
Sep 27, 2021 5:03 PM UTC

Hi Imen,

> So, "every two RTCCLK cycles" is wrong and should be “every RTCCLK cycle�?.

This means to fix virtually every STM32 RM, except RM0008, isn't it?

And also AN4759

0693W00000FAZFBQA5.png(and yes, I still consider "modern feel and look" wrong.)

Also, AN4759 should mention in this very chapter the RTC v2 lock bug.

Jan

@Imen DAHMEN​ 

ST Technical Moderator
Sep 30, 2021 7:58 AM UTC

Thanks @[waclawek.jan]​ for your feedback.

I have escalated this issue to the appropriate Owner for further check all impacted docs and take the action for correction.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
waclawek.jan
Super User
Sep 30, 2021 9:41 AM UTC

Thanks, Imen!

Jan

waclawek.jan
Super User
Feb 12, 2024 12:46 PM UTC

Hi @Imen.D ,

AN4759 has seen rev.8 at 08-Nov-2022, yet the line in question hasn't been corrected.

JW