[En-Nut-Discussion] Using Power Save Modes with Ethernut + Thread/Timer-Management

Matthias Ringwald mringwal at inf.ethz.ch
Tue Oct 5 21:11:54 CEST 2004


hi matthias,

I've recently changed the idle thread to go to sleep for a while. check 
the idle thread sources.
actually, we currently use the NUT_CPU_CLOCK option. with this option 
the real time clock
generates an interrupt every 1 ms instead of every 62.5 ms. I guess we 
should change this anyway..

matthias

On 05.10.2004, at 18:02, Harald Kipp wrote:

> Matthias,
>
> Ethernut uses the 32 kHz timer oscillator, which is still
> running in power save mode. This way it is possible to
> get woken up every 62.5 ms without any external hardware
> and check the timer queue.
>
> (Page 44 of the ATmega128 datasheet)
>
> Regards,
>




More information about the En-Nut-Discussion mailing list