I have a DC3231 to read time on my Nano.
I've the following code and cabling: DS3231 - Wokwi ESP32, STM32, Arduino Simulator
When the Nano goes into deep sleep, the DS3231 seems to lost timing. The battery is brand new, and I've tested with various ones.
To be completely certain that there won't be any problem with the battery, I've removed the rechargeable capacity (by removing the diode on the board).
Booting up
RTC lost power. Set time to compilation one
Now: 16/12/2023 19:11:38
> Loop
Now: 16/12/2023 19:11:48
> Loop
Now: 16/12/2023 19:11:58
> Loop
Now: 1/1/2000 0:0:0
> Loop
Now: 1/1/2000 0:0:0
> Loop
Now: 1/1/2000 0:0:0
What could be the problem with my DS3231 ?