[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [uracoli-devel] Sleeping
From: |
Vasilakes, Keith |
Subject: |
Re: [uracoli-devel] Sleeping |
Date: |
Wed, 16 May 2012 11:26:45 -0500 |
Yea, I've done this before, once or twice..
It's something simple, or out of sequence like Daniel says.
I have some state machine work to do, then I'll get back on the sleep issue
-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Joerg Wunsch
Sent: Wednesday, May 16, 2012 11:06 AM
To: address@hidden
Subject: Re: [uracoli-devel] Sleeping
As Joerg Wunsch wrote:
> Make sure the OCDEN fuse it set to `1' (ie., turned off).
Oh, other pitfalls I've been trapped into ... make sure about the
state of *each* of your IO lines. In my case, I once ran into the
situation where a PWM output line was still active, and depending on
the timer state when the device fell asleep, it could be either 0 or
1. In `1' state, the output sourced a substantial amount of current
into the surrounding circuitry ... so while the timer stops
automatically during sleep, things like PWM outputs are better turned
off before. ;-)
Also make sure there are no floating IO pins. Either make them inputs
with pull-ups enabled, or outputs tied to GND.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)