[Tinyos-devel] Re: I2C and SPI sharing

Philip Levis pal at cs.stanford.edu
Fri Oct 27 13:36:35 PDT 2006


On Oct 27, 2006, at 9:03 AM, Max CORTIANA wrote:

>
> Suppose a module is using I2C and it release it at the end.
> Suppose you are totally unlucky and the radio BackOff timer fires  
> while the release is in the atomic session. BackOff procedures will  
> run at the end of the atomic block.
> When the atomic quits, the BackOff Timer calls the ImmediateRequest  
> command.
> ouch, it gets the control even if the resource is unconfigured.

Nice catch!

Phil


More information about the Tinyos-devel mailing list