On Oct 25, 2006, at 9:32 AM, Tie Luo wrote:
If radio is busy, I think CC2420Config.sync will fail, or may
return SUCCESS and signal syncDone at some time later. I do not
understand what you said "if sync were to never signal done, then
it is unlikely that the radio is receiving/transmitting packets."
Did you mean if syncDone is not signalled, then radio is likely to
be free? I am confused since free radio should be easier for
switching channels.
I mean that if syncDone never signals, then it is unlikely that the
other parts of the radio are able to access the bus. If they can't
access the bus, then it is unlikely that the stack can send/receive
packets.
For the tests you mentioned before, I found some channels can be
switched to while some cannot. But I had not run thorough tests on
all channels.
Can you name one which cannot?
The bug that I mentioned, and has been fixed by Tinyos team, is in
CC2420ControlP.nc line 273, SyncResource.release() is added.
OK.
Answering your last question, I am not using SPI for other things
like large storage op; what I am doing is purely radio
communications and computations.
OK. If you were using the bus for other operations, then this might
cause syncDone to be delayed for a long time.
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help