On Feb 18, 2007, at 6:58 PM, Leijun Huang wrote:

Hello,

Could someone please tell me how to stop CC2420 radio in telosb while
allowing other components to continue working? At some point in my
program, I stopped the radio by calling CC2420's StdControl.stop()
before posting a task to write the flash, but it seems the writing was
not successful. I guess it's because some components are stopped as
well in CC2420's StdControl.stop(), for example, TimerC's StdControl.
So I'm wondering if there is a way to precisely stop the radio alone?
I am still using TinyOS-1.x. Thanks.

It's probably disabling the SPI bus. The easiest way to get around this is to stop() the radio, then start() the flash chip. I think the flash start() will reactivate the SPI.

Phil
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to