On Feb 13, 2007, at 2:52 PM, Xiaofan Jiang wrote:
ankur
If I remember correctly, Tinyos-1.x's implementation of I2C is not
correct / complete. It does not address arbitration appropriately.
Moteiv's implementation (i.e. boomerang) uses the resource
abstraction for usart arbitration and therefore more fully support
I2C.
Tinyos-2.x has also included a similar I2C implementation using
resource. In fact, I have been trying to port my I2C application
from boomerang to T2, but has encountered some problems. Maybe I
will start a separate thread for that.
TinyOS 2.x and Boomerang use deceptively similar but in reality quite
different resource management systems. The Boomerang version is
essentially a fork that occurred before power management was included
in T2. The two major differences are:
Ownership: Boomerang has the concept of an ownership "token" that
can be passed between components, while T2 uses a component model
Power management: The T2 arbiters incorporate power management,
such that when no client needs the resource it can power down
Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help