Hi, I was just thinking about using weak pull-ups in sleep mode to minimize current consumption in PIC12F615.
Lets say in normal operation, I use GP0/AN0 to read ADC and the ADC voltage is around 3V.. When I want to go into sleep mode, according to the datasheet, I can enable weak pull-up to prevent the pin from floating which will minimize current consumption. When I do that, the voltage at that input pin is 5V and if my understanding is correct, it has just turned an input into an 'output' because current is flowing into the 'thing' that i was trying to measure which is 3V (lower voltage). Of course I can add a diode to only allow the current to flow in one direction but that would increase the cost.
Is my understanding of weak pull-ups correct..? Is there a better way to minimize current consumption during sleep mode without imposing a voltage level onto the device which we are trying to measure and also without using external components..?
I don't know, i was just thinking about weak pull-ups and sleep mode.. Just trying to understand and learn more i guess.. Hmm..