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

Attachment: RadioSuspendM.nc
Description: Binary data

Attachment: RadioSuspend.nc
Description: Binary data

Reply via email to