On Wednesday 13 December 2006 08:25 am, Matteo Andretto wrote:
> 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.

This is a known deficiency in the test code that I believe is documented in 
code comments.  To get it to work as is, the slave's own address must be 
placed within the configuration structure (aka SlaveI2CConfC.nc).

> Another strange thing is that slave mote does not answer with an
> acknowledge neither if master calls it with address 0x18.

If you want to post your code, I can take a look at it.

>
> 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
> Tinyos-help@Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
>
>
> !DSPAM:458031a0296089716080633!

-- 
R. Steve McKown
Titanium Mirror, Inc.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to