Hi,
I've lashed together a circuit without really thinking about it and now I've got it running I've realised I'm not getting the most out of it.
I'm using the NXP PCF85063A RTC, but I'm powering it from a 3V3 rail through a BAV170VL diode - which also charges a 1F supercap.
I've had that 'doh'

moment that I'm only managing to charge the supercap to ~2.7V due to the diode and it's rated to 5V, so I'm not getting the maximum energy stored in it.
The reason I've done this is because it's connected to a micro running on from the 3V3 and I have to admit I just didn't think abut it

So, I'm looking at ways to improve it. I suppose the real way to do it is to connect the anode of the diode to 5V (I have this available too) and levelshift the I2C which should be possible with a couple of fets. I could also potential divide the interupt out pin as that's only unidirectional. However this way I'll still only charge the supercap to ~4.4V.
Is my idea the best way? Are there any leakage paths that I haven't thought about that could cause trouble?
Or is there a more clever way?
Many thanks,
G