The recommended crystal oscillator frequency for the DS1337S+T&R is 32.768 kHz.
To ensure proper power-up and initialization, apply power to VCC, then connect the battery (if used), and finally, connect the crystal oscillator. Wait for the power-on reset (POR) to complete before accessing the device.
The RST pin is an active-low reset input that resets the device when pulled low. It can be used to reset the device in case of a fault or to initialize the device during power-up.
The time and date can be set by writing to the corresponding registers (seconds, minutes, hours, day, date, month, and year) using the I2C interface. Refer to the datasheet for the register addresses and formats.
The internal oscillator on the DS1337S+T&R has an accuracy of ±10 ppm (parts per million) over the operating temperature range of -40°C to +85°C.