Ops, read the ps's just now, haha. I was already happy with what I read before so I replied before the end :) I am forwarding your message to the list also, and I do not speak very much of spanish, but I can understand it, as I speak portuguese, which is very similar.
Thanks, Fernando. > Hi Fernando, > > In my case I have succesfully shut-down the micaz module to the minimun of > 25uA. The steps are the same in every platform. I have done this steps in > order to get a low power state: > > - Turn-off ADC > - Turn-off Radio > - Turn-off MCU > > 1.- You have to turn-off the ADCConverter. A call to the > SplitControl.stop(). (SplitControl that corresponds to ADC) > 2.- Once the ADCConverter is succesfully power-down an event like > SplitContrl.stopDone(error_t error) is generated. Inside the stopDone > event > you have to make a call to the SpliControl.stop() that corresponds to your > radio. If you are using an ActiveMessage interface to rule the radio > protocol use its SplitControl interface. > 3.- As it had happened with the ADC, a new SplitControl.stopDone(error_t > error) has happened. At that point, both the ADC and radio are in a > shut-down. Over 5mA is consuming your motes, but you could reduce it to > hundreds of uA or even dozens of it, if you use the MCUSleep interface. > This > interface leads to a sleep state of the MCU. Include a call to > MCUSleep.sleep() inside SplitControl.stopDone(error_t error) generated by > the ActiveMessage interface. > > There are another issues that need to be further explained, like what > happend with timers when radio is turn-off, but I think is better to know > first the order you need to shut-down the components rather than giving > all > the instructions at one time. > > Sorry for my english! > > Regards, > Carlos > > PS: I think that only use MCUSleep is not a fair idea, because it only > puts > the MCU in a low power state if there is no interruptions and, if you have > an ADC and the radio on, I think it will do nothing. > > PS2: If you could post this message in the mailing list I will be grateful > because i don't know how to do it! ;D > > PS3: do you talk spainsh? I think that if you have not understood sth. > i've > write, you could write me back in spanish! > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
