On Thu, 7 Jun 2001 14:32:38 -0400, you wrote: >At 10:58 AM 6/7/01 -0700, you wrote: >>I've never run into this combination before so I thought I would = forward >>this to the list for Soni... >> >>...I would assume the thing to do is disable the WDT before you SLEEP = and >>then re-enable it on wake up, but I've never had cause to use SLEEP so = I >>don't really know. > >You can't turn the WDT off (this is actually a valuable feature), it's >controlled by a configuration bit. Otherwise noise etc. could turn the >WDT off accidentally. > >I think I'd leave the WDT operating, and deal with the momentary = wake-ups >by using the STATUS register to distinguish between WDT resets and the = other >kind. If that negatively impacts battery life etc. too much, then I'd = look >at never turning it on, or using an external WDT. Of course you CAN change the prescaler, so you don't wake up very often. Doing this makes avarage power draw little more than the extra the WDT itself takes.=20 Remember to do a CLRWDT before changing the prescaler to a slower setting though - failing to do this can cause spurious resets. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.