Skip to main content
kurta999
Senior
Feb 8, 2019 7:56 AM UTC
Solved

delete this thread

delete this thread

This topic has been closed for replies.
waclawek.jan
waclawek.janBest answer
Super User
Feb 8, 2019 2:18 PM UTC

1 << 8 = 256 and not 255.

It's okay if LL_RCC_SetRTCClockSource does not perform a further shift (which you can look up in Cube's sources that it does not).

JW

3 replies

waclawek.jan
waclawek.janBest answer
Super User
Feb 8, 2019 2:18 PM UTC

1 << 8 = 256 and not 255.

It's okay if LL_RCC_SetRTCClockSource does not perform a further shift (which you can look up in Cube's sources that it does not).

JW

kurta999
kurta999Author
Senior
Feb 8, 2019 4:02 PM UTC

Yes, you're right. Please delete this thread, it's OK.I tried to write that value into RTCSEL bits which is only 2 bit long. :grinning_face_with_sweat:

ST Technical Moderator
Feb 12, 2019 4:34 PM UTC

Hello @kurta999​ ,

It will be better do not delete discussions as it may be helpful for other users.

Thanks,

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