Hello Marco, >The only doubt I have, using a 32 Khz unit, is a lowered capability in >frequency measure: or I'm wrong? > >Bye >Marco My ideas were: 1) you have two crystals 4MHz and 32KHz. First for measure-task, second for counting the time in sleep mode with timer1 and wake-up from sleep. MCU runs on 4MHz allways except in sleep. 2) principe is the same as in one, but you use internal RC for clock generation, so no external components are needed. The speed control bit changes the frequency into MCU to 4MHz in measure-task and before entering sleep it slows down to 37kHz and reduces power consuption. This mode is exactly what your application needs. More details are in datasheet. Andrej _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.