[document update request] RTC use NOT LSE BUT LSI clock source by default
etakata opened this issue · comments
etakata commented
I guess that RTC used as Wakeup source will configure it to use NOT LSE clock source BUT LSI clock source, in the current implementation.
If we are using the HSE_CLOCK, this library forces to change the clock source to LSI_CLOCK.
STM32LowPower/src/STM32LowPower.cpp
Line 193 in 35a49c4
The clock source is not changed anything if we are using the LSI_CLOCK or LSE_CLOCK.
So, I'd like to suggest to change from:
Line 54 in 35a49c4
to (for example):
RTC used as Wakeup source will configure it to use LSI clock source even if HSE clock source is selected.
The clock source is not changed anything if you are using the LSI or LSE clock source.