NXP PCF85063A real-time-clock (RTC) with Arduino IDE

Dear Arduino-fellows,

Currently, I'm using a DS3231 real-time-clock that is well known. I'd like to switch to one of NXP's very efficient RTCs, e.g. the PCF85063A. At the moment, the DS3231 consumes a current of 75µA at a voltage of 5.2V. That's not bad but I'd like to reduce it further. For prototyping it is ideal that the NXP RTC it comes with a SO8 package.

I am developing my protype with Arduino and could rely on a large support base including libraries. May I ask you, how do you think I should best proceed to switch from the DS3231 to the NXP RTC?

Thank you!

I'd start by taking the library you are using for the DS3231 and make a copy of that and rename it PCF85063A. Then start changing it (different I2C address?, register definitions, etc.)

Did you search to see if a library already exists? It may already be available.

blh64:
I’d start by taking the library you are using for the DS3231 and make a copy of that and rename it PCF85063A. Then start changing it (different I2C address?, register definitions, etc.)

Did you search to see if a library already exists? It may already be available.

Thank you blh64. I will give this library a try: