Jonathan -
I have tested this fix out and it works correctly for the
micaz. Thanks a lot for locating the issue!
-David
On Tue, 16 Jan 2007 21:19:08 -0800
"Jonathan Hui" <[EMAIL PROTECTED]> wrote:
Hi David,
I looked at your code in tinyos-2.x-contrib. It looks
like there's a
bug in CC2420ControlP when using SRFOFF/SRXON.
Specifically, you need
to make sure the chip select line is enabled (e.g. CSN
is low) before
issuing a strobe.
I've checked in the changes for the stack in
tinyos-2.x/tos/chips/cc2420. Take a look and let me know
if that
helps.
--
Jonathan W. Hui
[EMAIL PROTECTED]
http://www.cs.berkeley.edu/~jwhui/
On 1/16/07, David Moss <[EMAIL PROTECTED]> wrote:
I can get the tmotes to change frequencies at runtime
after wrapping the SyncResource.granted() event in
CC2420ControlP with SRFOFF/SRXON, as seen in the
CC2420ControlP.nc found in
tinyos-2.x-contrib/rincon/tos/chips/cc2420_lpl/. But I
can't get the micaz to change frequencies at runtime
unless the radio is turn off, the frequency is changed,
and the radio is turned back on again (via
SplitControl).
More specifically, I believe the micaz seems receives
ok,
but will not transmit if the frequency is changed at
runtime.
From an application and CC2420ControlP standpoint, the
CC2420 registers are being set correctly on the micaz
with
no failures reported. So maybe the frequency really
does
change and the radio stack is failing? Anyone have time
to look into this?
By the way, that
tinyos-2.x-contrib/rincon/tos/chips/cc2420_lpl/ is the
most debugged CC2420 radio stack available so far.
-David
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help