I have observed that after boot sequence in slave mote the value in
register I2C0A is 0x18, this is the slave address. I cannot change
it using command I2CSlave.listen(OUR_ADDR) of component Msp430I2CP,
modified by Steve, or directly HplMsp430I2C.setOwnAddress(OUR_ADDR) of
component HplMsp430I2C0P.
Another strange thing is that slave mote does not answer with an
acknowledge neither if master calls it with address 0x18.
I am bewildered
Matteo
Quoting Matteo Andretto <[EMAIL PROTECTED]>:
Hi,
I would connect 2 Tmote Sky by I2C bus in TinyOS 2, one as master
and the other as slave, but I have some problems.
Master mote starts write operation, it sends slave address on bus, but
slave mote does not answer with acknowledge signal.
I have programmed slave mote with code suggested by Steve McKown in this post
http://tinyurl.com/ynyqhk
It seems slave mote doesn't recognize its address, but I have checked
and it is correct in SlaveI2CConfC.nc
Has Anyboy suggests?
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help