STM32WB5MMG LSE clock 32.774 kHz?
Hello all,
I want to use the STM32WB5MMG module for a project which requires an RTC.
The datasheet states the module integrates a 32.774 kHz LSE crystal. That seems a bit strange to me because the standard clock for LSE is normally 32.768 kHz. Checking the reference manual RM0434 there does not seem to be any reference to using a 32.774 kHz clock.
I would like the RTC time to be as accurate as possible, is 32.774 kHz ok to use for the RTC? I guess I would need to somehow offset the faster clock to keep correct time.
Here are some calculations I did, which I have no idea if they are correct.
It seems that a 32.774 kHz clock divided by 2^15 = 1.000183105.
That equals 0.001000183 ms offset from the ideal 1 second per clock period.
Multiply by the number of seconds in a day, 0.001000183×86400 seconds = 86ms offset per day.
If you have any thoughts on the matter, let me know!
Thanks!
-Eric
