alexxx
Advanced Member level 4
In my application, I have the watchdog with 131 seconds timeout. The PIC wakes up, does some stuff and goes back to sleep. Under some circumstances, I would like to wake up not after 131 seconds, but after 10 seconds. I searched and came up to the conclusion that this is impossible to do with the watchdog, because I cannot change watchdog's prescaler during runtime.
It is not easy to add extra external components because the pcb is full. On the other hand, I cannot stay awake for 10 seconds, neither use an idle mode instead of sleep, because I need to have only some uA of consumption (<50 uA). So is there any way to achieve this without external components added?
I am using PIC18F25K20 and mplabX.
Thanks in advance
It is not easy to add extra external components because the pcb is full. On the other hand, I cannot stay awake for 10 seconds, neither use an idle mode instead of sleep, because I need to have only some uA of consumption (<50 uA). So is there any way to achieve this without external components added?
I am using PIC18F25K20 and mplabX.
Thanks in advance