Hi Antonio,

You're probably using the I2CPacket provided by Atm128I2CMasterC.
To create a restart condition, you just have to write/read without the
I2C_STOP flag, and write/read again with I2C_START flag, without
releasing the i2c resource.
Common error with the I2CPacket interface: it uses the 7 bit address,
without R/~W bit.

Andris

On Wed, Jun 20, 2012 at 12:19 PM, antonio rosa
<[email protected]> wrote:
> Hi to all,
>
> I want to use the MLX90614 sensor using the MDA320CA data acquisition sensor
> board. This sensor board provides I2C ports (SDA and SCL). The MLX90614 uses
> as I2C bus as communication protocol. In fact, when I want to read or write
> some registers,  i have to use the I2C_RESTART flag (send a byte without
> send a  stop flag ) and I have been looking for in the driver and I have not
> found anything about restart flag. How can I start a new transfer data
> without stopping a previous transfer??
>
> Also, I attach a  transmission schematic:
>
>
>
> Could you help me?
>
> Regards, Antonio Rosa.
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to