Hello everybody,
I recalled that some years ago I suceed in doing low voltage detection in PIC16 IC. By putting smaller capacitor with a resistor tied to voltage to a port, so when power being turned off, its voltage drop is faster than the main voltage drop which goes to MCU power that has larger value capacitor. So, MCU still has time to make detection on it and work in the program such as write some data to memory...It went very stable.
Now, in PIC18, there is LVD module, I make use of it. I follow what the data sheet mentioned, it suceed sometime but not every time. That is, sometimes, it don't store the data during turned off and so can't recover data when turned on again, I don't know why this happens, can anyone help and has some examples about it?
Thanks
I recalled that some years ago I suceed in doing low voltage detection in PIC16 IC. By putting smaller capacitor with a resistor tied to voltage to a port, so when power being turned off, its voltage drop is faster than the main voltage drop which goes to MCU power that has larger value capacitor. So, MCU still has time to make detection on it and work in the program such as write some data to memory...It went very stable.
Now, in PIC18, there is LVD module, I make use of it. I follow what the data sheet mentioned, it suceed sometime but not every time. That is, sometimes, it don't store the data during turned off and so can't recover data when turned on again, I don't know why this happens, can anyone help and has some examples about it?
Thanks