I have solved my problem!
There are some differences in module HplMsp430I2C0P.nc between the
command HplI2C.setModeI2C in post on 9/28/06 and current version in
TinyOS tree.
Using the most recent code the slave mote works well.
Thanks a lot for the help.
Matteo
Quoting "R. Steve McKown" <
On Friday 15 December 2006 02:53 am, Matteo Andretto wrote:
> Quoting "R. Steve McKown" <[EMAIL PROTECTED]>:
> > If you want to post your code, I can take a look at it.
>
> The code is yours, I have changed only the salve address and add the
> address check reading three bit at a time with leds.
I
Quoting "R. Steve McKown" <[EMAIL PROTECTED]>:
If you want to post your code, I can take a look at it.
The code is yours, I have changed only the salve address and add the
address check reading three bit at a time with leds.
#include
module SlaveI2CC {
uses {
interface Boot;
i
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 t
I have already checked possible electrical problems (pull-up and wires).
I use the last TinyOs version, I will try to analyze the behaviour of
the mote step by step at low level with leds.
Matteo
Quoting "R. Steve McKown" <[EMAIL PROTECTED]>:
My code was a hack used to do some bench testi
On Wednesday 13 December 2006 04:02 am, Matteo Andretto wrote:
>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 wit
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
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 sugges