Hi, if my understanding of Watchdog is correct, in normal operation mode, if WDT is not clear, it will reset the PIC. In sleep mode, if WDT is not cleared, it will wake up the PIC from sleep.
If that is the case, then if we use WDT to reset the PIC if it hang, we can't cause the PIC to sleep for a very long time (hours) because the WDT will time out very fast which will wakeup the PIC.
Just wondering, lets say I want the PIC to reset itself (if it hangs) but only wake up the PIC by using interrupt-on-change (not WDT time-out). Is it possible to write my own 'Watchdog' feature? What is the function that will reset the PIC..?
If that is the case, then if we use WDT to reset the PIC if it hang, we can't cause the PIC to sleep for a very long time (hours) because the WDT will time out very fast which will wakeup the PIC.
Just wondering, lets say I want the PIC to reset itself (if it hangs) but only wake up the PIC by using interrupt-on-change (not WDT time-out). Is it possible to write my own 'Watchdog' feature? What is the function that will reset the PIC..?