I am using an PCA85073A RTC in my design. On some boards w the supercapacitor is getting discharged very fast (5V to 1.1V in half an hour.) This happens when we turn off the microcontroller power supply.
Because we are feeding logic signals or voltages into a MCU that is unpowered.
To avoid this issue I decided to keep an switch between RTC CLK and Microcontroller. The switch will be powered from the same power supply used for powering the Microcontroller.
When the Microcontroller is off the Switch will be in off state.The RTC will be running and signal is coming upto S pin of the switch.
My question is will the super cap discharge via input protection diodes of Switch(ADG801) when it is off
You gain nothing.
In first case the current will be drawn via the microcontroller internal protection diodes.
in the other case ... the current will be drawn via the analog switch internal protection diodes.
Why don´t you power the analog switch from the super capacitor?
BTW: what´s the clock frequency?
Why not switch OFF the CLK with an I2C command?
Why not using an 74LVC1Gxx buffer (powered from microcontroller side)?
Why no passive solution? Like a schottky diode between RTC (C) and microcontroller (A) and a pull up resistor at the microcontroller side.
This happens because you are using an 1A schottky rectifier diode instead of a lower capacitance signal diode.
In the real circuit, any capacitance between RTC Clkout pin and other circuit nodes (diode/switch/buffer input whatsoever capacitance) causes a certain current spike, creating an additional amount of RTC supply current proportional to clock frequency. Even the unloaded Clkout pin does when activated. The point is to reduce it to an acceptable value.
In the real circuit, any capacitance between RTC Clkout pin and other circuit nodes (diode/switch/buffer input whatsoever capacitance) causes a certain current spike, creating an additional amount of RTC supply current proportional to clock frequency.
R2: Makes no sense. If you want to simulate the microcontroller, then don´t use (only) an R, because C and D may have more influence on the spike behaviour. Especially when the microcontroller is powered OFF.
Did you tell what kind of microcontroller you use? (so we
Spike: Again, don´t post riddles. What´s your concern with the spike? Do you think it´s good or bad? And FvM already told you where it comes from.
So: Talk to us.