The recommended crystal oscillator frequency for the DS1302Z+ is 32.768 kHz.
To ensure correct startup, the VCC pin should be powered up before the X1 pin, and the X1 pin should be driven low during power-up to prevent the oscillator from starting prematurely.
The RST pin is an active-low reset input that resets the DS1302Z+ when driven low. It can be used to reset the device during power-up or to recover from a fault condition.
The time and date can be set by writing to the hour, minute, second, day, month, and year registers using the I2C interface. The device uses a binary-coded decimal (BCD) format for the time and date registers.
The DS1302Z+ oscillator has an accuracy of ±20 ppm over the operating temperature range of -40°C to +85°C.