[Tinyos-help] tinyos2 i2c example on telosb

2008-03-13 Thread Carloalberto Torghele
Hi! I'm trying to communicate with a i2c eeprom with a telosb. What i need now is just to communicate with the memory in i2c with the radio turned off (avoiding in this way arbitration issues). Is there any pratical example of how to communicate in i2c? I'm a tinyos newbeI'll be grateful for an

Re: [Tinyos-help] tinyos2 i2c example on telosb

2008-03-17 Thread Nilesh Mishra
Please search the archives and you might find more relevant details. For telosb in tinyos-1.x you can have a look at the two files available at \opt\tinyos-1.x\tos\platform\telosb called I2CPacketC.nc I2CPacketM.nc . For tinyos-2.x please look at files inside \opt\tinyos- 2.x\tos\chips\msp430\usa

Re: [Tinyos-help] tinyos2 i2c example on telosb

2008-03-18 Thread Carloalberto Torghele
I have already looked in \opt\tinyos-2.x\tos\chips\msp430\usart (I'm using tinyos 2) but the code i wrote doesn't work well. I checked the I2c bus with an oscilloscope but what I saw is not what It was supposed to be. In particular the frequency in the waveforms is not right. I don't understand how