[Tinyos-devel] More questions about using I2C on MicaZ / MTS300 (TinyOS 2)

Simon Kellner kellner at ira.uka.de
Fri Jul 17 07:38:34 PDT 2009


* Marina Kurmanova [2009-07-17 15:49 +0200]:
> I'm trying to use DS1921 i2c sensor with MICAz. As I met problems using it,
[...]
> 1.) The I2CPacket.write seems to succeed (the leds 0 and 2 are lightened)
> even if the I2C device is not connected (the Sensorboard is unplugged), is
> this possible?

Yes, because the current micaz i2c code doesn't seem to return anything
other than success.  A few weeks ago I spent some time to get the i2c
components on a mts board working, and I produced the attached patch.

Hope this helps, and if these are software errors, please feel free to
commit the attached patch into the TinyOS tree.


ciao
-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c.patch
Type: text/x-patch
Size: 4008 bytes
Desc: not available
Url : https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20090717/e2b1134f/attachment.bin 


More information about the Tinyos-devel mailing list