Miklos, Look at the PowerManagementDemo application in the CVS. It implements start/stop methods for GenericComm which in that application allows the processor to go to sleep. We've been using that radio stack in gsk-devel branch, but at this point I did not want to do the full support required to put it in CVS trunk.
Rob > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:tinyos-users- > [EMAIL PROTECTED] On Behalf Of Miklos Maroti > Sent: Tuesday, March 18, 2003 5:36 PM > To: '[EMAIL PROTECTED]' > Subject: [Tinyos-users] stopping GenericComm > > Hi All, > > I have many applications where I need to stop the GenericComm component, > because other local processing needs the full CPU. For example, time of > flight measurement where I sample the microphone/tone detector at 4KH, or > recording from the mic with streaming (at 14 KHz). I wrote a very simple > RadioSuspend component (included) that worked for me in most of the cases. > It simply disables the Clock/Timer1 and Clock/Timer2 interrupts when the > radio stack is idle (looking for the start symbol). > So far, I was sampling the mic ADC from a Timer (at 4KHz) and everything > was > fine. However, when I start to stream the ADC, and the GenericComm is > included, then at some point the getContinuousData does not give more data. > I suspect that the GenericComm is trying to use the ADC to get the signal > strength measurement. > > So the real question: How can I completely disable the radio stack. Note > that StdControl.start/stop DOES NOT WORK with the GenericComm. This is > probably a bug, but had no time to investigate. > > Thanks, > Miklos _______________________________________________ Tinyos-users mailing list [EMAIL PROTECTED] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
