Under what circumstances will DS3231SN reset time to default value?
With the power supplied by a backup battery, the time and date registers will be reset to default value when DS3231SN receives a valid I2C address. The registers are also reset on the first application of power (Vcc) according to page 10 of the datasheet.