> -----Original Message-----
> From: Bob Paddock [mailto:[email protected]] 
> Sent: Thursday, May 14, 2009 2:36 PM
> To: Weddington, Eric
> Cc: [email protected]
> Subject: Re: [avr-libc-dev] Calls to eeprom_write_block on 
> CAN64 increase sleepcurrent?
> 
> > 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.

You're probably right. 

Glad you found a solution. :-) 


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

Reply via email to