Re: [Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-17 Thread Xiaohui Liu
Hi everyone, I have been stuck by this issue for quite a few days and tried many options. Still, none of them works as PIPdoes. Can anyone please help? On Fri, Sep 14, 2012 at 1:20 AM, Xiaohui Liu wrote: > Hi, > > I removed the

Re: [Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-13 Thread Xiaohui Liu
Hi, I removed the default resource arbitration of SPI bus. More specifically, all SPI resources are provided by a single instance of CC2420SpiC. SPI resource is only requested for the first time, after that, it is never released. But CC2420ReceiveP gets stuck. In particular, calls to RXFIFO.begin

Re: [Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-10 Thread Eric Decker
On Mon, Sep 10, 2012 at 11:28 PM, Eric Decker wrote: > > you might try getting rid of the arbitration that is used by default. > > That is make sure that the only thing hanging off USART0 is the CC2420 and > then get rid of the resource arbiter that by default is used on the TelosB > code. > The

Re: [Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-10 Thread Eric Decker
you might try getting rid of the arbitration that is used by default. That is make sure that the only thing hanging off USART0 is the CC2420 and then get rid of the resource arbiter that by default is used on the TelosB code. As long as your code is running as a task (the default programming para

Re: [Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-10 Thread Xiaohui Liu
Hi, To be precise, my channel switch delay is defined as the interval from when CC2420Config.sync() is called to CC2420Config.syncDone() event is triggered. On Mon, Sep 10, 2012 at 11:02 PM, Xiaohui Liu wrote: > Hi everyone, > > I'm developing a protocol which requires fast switch between two c

[Tinyos-help] make channel switch delay deterministic on TelosB

2012-09-10 Thread Xiaohui Liu
Hi everyone, I'm developing a protocol which requires fast switch between two channels. But I find the channel switch delay varies significantly from 16 to 600 jiffies, causing the sender and receiver out of sync. The major cause is the non-deterministic delay to access the SPI bus, whose distribu