STM32F405RG's RTC time drifts by +/- 6s per day (compared to UTC)
External 32.786KHz crystal is connected to the terminals PC14, PC15 and 6.8pF, NPO Capacitors connected between crystal and GND.
Battery Back-up is provided.
Configured using the STM32CubeIDE (STM32CubeMX) -> Clock Configuration to use LSE (32.786KHz)
All units are synced with UTC at start-up. After running for a day some units show current time +6s while others show -6s - when compared to UTC.
Questions
1. How can we determine that the "LSE" is in use and the MCU has not failed-over to the "LSI RC"? (Assuming that there is something wrong with the PCB layout/components)
2. Assuming that the LSE is in use, since we see a fixed drift of 6s per day is there a way to compensate for this drift by configuration of the RTC?
