Turning on brownout detection did the trick. The voltage at the chip via the serial line was about 3.2v so setting BOD to 4.3 keeps the chip from staying awake when the power switch is turned off.
Thanks,
Eddy
↧