[Tinyos-devel] Problem with SFLUSHTX strobe on micaz and telosb
Jun
yanjunrockets at gmail.com
Mon Mar 24 10:18:23 PDT 2008
Hello All,
I recently observed some unexpected behavior of cc2420 radio, which happened
when I try to send a high priority packet that would cancel pending packet
that has been loaded to cc2420 TXFIFO.
(I'm sorry if you have received the duplicate message on tinyos-help.)
It seems that SFLUSHTX strobe does not flush the loaded data from TXFIFO.
I first called CSN.clr, SFLUSHTX.strobe, CSN.set to cancel the pending data
which is 40 bytes.
Then I wrote a new packet of 11 bytes (just cc2420 header) to TXFIFO using
loadTXFIFO and no error is observed.
The strange behavior from this point. After calling the STXONCC strobe,
a receiving node got a packet of 40 bytes rather than the newly loaded
packet
which is only 11 bytes. I ran same code on micaz and telosb and got exactly
the same results.
Did I do anything wrong when involving SFLUSHTX.strobe?
Does anyone have any idea on this strange behavior of cc2420?
Thanks in advance for your help,
Jun
--
--
Mailto: yanjunrockets at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080324/4d3b88c5/attachment.htm
More information about the Tinyos-devel
mailing list