Hi everyone,
In CC2420 stack, channel switch can done through *
CC2420ControlP$CC2420Config$setChannel() *and then* **
CC2420ControlP$CC2420Config$sync()**, *which goes to the following event:
* event void SyncResource.granted() {
** call CSN.clr();
** call SRFOFF.strobe();
** writeFsctrl();
** writeMdmctrl0();
** writeId();
** call CSN.set();
** call CSN.clr();
** call SRXON.strobe();
** call CSN.set();
** call SyncResource.release();
** post syncDone();
** }*
Can anyone please give me some hint why SRFOFF and SRXON strobes are
necessary here? Thanks.
--
-Xiaohui Liu
TelosB
TinyOS 2.1.2
www.cs.wayne.edu/xliu/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help