Solved
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.