[Tinyos-devel] SimpleArbiterP bug

Philip Levis pal at cs.stanford.edu
Wed Oct 15 17:34:48 PDT 2008


On Oct 15, 2008, at 5:28 PM, Kevin Klues wrote:

> The idea was first brought in for implementing the priority scheme
> used to arbitrate access to USART0 between the Tda5250 radio driver
> and the flash chip on the eyes platform.  I don't remember the
> details, and Vlado will have to comment, but I think the
> ResourceRequested interface was used to allow the radio to keep
> control of the USART while listening for incoming packets, but
> optionally allow the flash chip to take control if it had things it
> needed to write quickly.  Making the radio driver the dfault owner
> complicated things because there were times when a normal power
> manager would be used to shutdown the USART if neither the radio or
> the flash needed access to it.

Right -- so the answer here is that you need to mux/demux between  
multiple default owners. When the radio is on, it's the default owner.  
When it's off, the power manager is. This mux/demux can be done  
outside the arbiter.

Phil


More information about the Tinyos-devel mailing list