‎2019-02-07 11:56 PM
‎2019-02-08 06:18 AM
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
‎2019-02-08 06:18 AM
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
‎2019-02-08 08:02 AM
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:
‎2019-02-12 08:34 AM
Hello @kurta999​ ,
It will be better do not delete discussions as it may be helpful for other users.
Thanks,
Imen