> So you're saying that the current goes up to 1.1 mA and *stays there*, even 
> when the eeprom write is finished?

I found that the problem was, that I was putting the part to sleep
*before* the EEPROM write finished, then
the current does stay at 1.1 mA.  Addeding eeprom_busy_wait() after
the block write fixed the problem.

I'm guessing the internal EEPROM oscillator misses the command to go
to sleep while it is busy.


_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to