Re: [Tinyos-help] [tinyos-help] Help with I2CPacket.nc

2010-10-08 Thread Ronald Eliseo Reyes López
Hello ... No, I could not use I2CPacket and found no code guide. what you could do is implement the code for I2C from HPL. Good luck ... 2010/10/8 You Lizhao youlizhao2...@gmail.com Hi, sorry if it bothers you. I find your email from TinyOS-Maillist, and i have encountered the same problem

Re: [Tinyos-help] [tinyos-help] Help with I2CPacket.nc

2010-10-08 Thread You Lizhao
It is fine. Thanks! In fact, i notice that Msp430I2CC.nc and Msp430I2CP.nc can be used. However, i still can not figure out how to use them. From the maillist, i can not find useful codes for implementing I2C in T2 with telosb(msp430). Regards, Lizhao 2010/10/8 Ronald Eliseo Reyes López

Re: [Tinyos-help] [tinyos-help] Help with I2CPacket.nc

2010-05-19 Thread Ronald Eliseo Reyes López
Hi MS. Thanks for answer... The T2 impl is not like the T1 version, more explicitly... I want to use the Msp430I2CC.nc configuration that provide the I2CPacket.nc, this interface use the header file I2C.h where there are defined this flags: #ifndef _I2C_H #define _I2C_H typedef struct { }

Re: [Tinyos-help] [tinyos-help] Help with I2CPacket.nc

2010-05-19 Thread Michael Schippling
Ok, not much help then... It looks like you may want to use I2C_START, and ACK is the default. The ADDR_8BITS_FLAG was a bad idea that seems to have been corrected. I expect that you would provide the actual I2C bus address and the system will shift it and add the read/write bit as needed. But

Re: [Tinyos-help] [tinyos-help] Help with I2CPacket.nc

2010-05-18 Thread Michael Schippling
If the T2 impl is like the T1 version there are four bits you can send to I2C read/write, which are conveniently not defined or described anywhere: /* ** I2CPacket read/write command flags, ** defined in I2CPacketM.nc but not in a header file... */ #define STOP_FLAG 0x01 //send stop/end

[Tinyos-help] [tinyos-help] Help with I2CPacket.nc

2010-05-17 Thread Ronald Eliseo Reyes López
-- Forwarded message -- From: Philip Levis p...@cs.stanford.edu Date: 2010/5/17 Subject: Re: Help with I2CPacket.nc To: Ronald Eliseo Reyes López reyesronal...@gmail.com Cc: pbuonado...@archrock.com, j...@archrock.com Please send questions to tinyos-help. Thanks! Phil On May