[Tinyos-help] moteIV and i2c

Joe Polastre joe.polastre at gmail.com
Fri Mar 11 20:37:47 PST 2005


I believe I have fixed the bug.  It was a stupid logic bug in the
NoAck interrupt handler of MSP430I2CM.nc

Please check out from CVS and let me know.

-Joe


On Fri, 11 Mar 2005 18:09:25 +0100, Anders Blomdell
<anders.blomdell at control.lth.se> wrote:
> Hi,
> 
> We need to use i2c on our moteIVs(revb), and if
> MSP430I2CPacket.writePacket is called with length = 1 or length = 2,
> everything works as expected, i.e if no slave acks the address
> writeDone is called indicating an error, and if a slave responds
> writeDone is called indicating success.
> 
> But if MSP430I2CPacket.writePacket is invoked with length > 2,
> writeDone is neither called
>    1. after transmitting the slave address and no slave responds
> nor
>    2. after transmitting slave address and two bytes and then silence
> 
> Regards
> 
> Anders Blomdell
> 
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help
>


More information about the Tinyos-help mailing list