It might help to write the seconds register first. If you make sure not to write '59' as value, the seconds will not overflow during the write of the other registers.
It might help to write the seconds register first. If you make sure not to write '59' as value, the seconds will not overflow during the write of the other registers.