[Tinyos-devel] Problem with SFLUSHTX strobe on micaz and telosb
Jan Hauer
jan.hauer at gmail.com
Wed Mar 26 02:00:35 PDT 2008
Are you sure that your component is owner of the SPI when you call
SFLUSHTX.strobe ? Have you checked the return value ?
Jan
On Mon, Mar 24, 2008 at 6:18 PM, Jun <yanjunrockets at gmail.com> wrote:
> 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
> _______________________________________________
> Tinyos-devel mailing list
> Tinyos-devel at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
>
>
More information about the Tinyos-devel
mailing list