|
From: | Nils Springob |
Subject: | Re: [avr-chat] Interrupts from assync timer in sleepmode |
Date: | Thu, 22 Sep 2005 13:18:51 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2 (X11/20050317) |
Yes, that is how I did it first. When the sleepmode is idle, it works fine.But when sleepmode is power-save, and the output-compare-match happens in the interrupt-disabled part just before sleep.
Perhaps this is the problem:Timer 0 will not work in power-save mode, the datasheet states(ATmega128 p. 43, 44): "... contents of the registers in the asynchronous timer should be considered undefined after wake-up in Power-save mode if AS0 is 0."
Regards, Nils
[Prev in Thread] | Current Thread | [Next in Thread] |