Re: [I2C] informations + advice about messages handling

2013-05-29 Thread Mylene Josserand
Hi Jean, Le 24/05/2013 14:20, Jean Delvare a écrit : On Fri, 24 May 2013 11:52:54 +0200, Mylene Josserand wrote: - an audio codec tlv320aic3204 : There is a driver for this device but for some reasons, we did not use it. Did not find a SMBus compliant in its datasheet. The tlv320aic32x4

[I2C] informations + advice about messages handling

2013-05-24 Thread Mylene Josserand
Hi all, I am learning how i2c is working and I read that, to write in an i2c register, I need to use the function i2c_smbus_write_byte_data. I wanted to know how the message are handled by using this function. If I use this function to talk with 2 different i2d devices, how it will handle

Re: [I2C] informations + advice about messages handling

2013-05-24 Thread anish singh
On Fri, May 24, 2013 at 12:41 PM, Mylene Josserand mylene.josser...@navocap.com wrote: Hi all, I am learning how i2c is working and I read that, to write in an i2c register, I need to use the function i2c_smbus_write_byte_data. Only in case your device is smbus compliant. I wanted to know

Re: [I2C] informations + advice about messages handling

2013-05-24 Thread Mylene Josserand
Thanks, both of you, for your answers ! It helps me a lot to understand it ! Le 24/05/2013 09:22, anish singh a écrit : On Fri, May 24, 2013 at 12:41 PM, Mylene Josserand mylene.josser...@navocap.com wrote: Hi all, I am learning how i2c is working and I read that, to write in an i2c

Re: [I2C] informations + advice about messages handling

2013-05-24 Thread anish singh
On Fri, May 24, 2013 at 1:14 PM, Jean Delvare kh...@linux-fr.org wrote: Hi Anish, Mylène, On Fri, 24 May 2013 12:52:40 +0530, anish singh wrote: On Fri, May 24, 2013 at 12:41 PM, Mylene Josserand mylene.josser...@navocap.com wrote: I have read that this function i2c_smbus_write_byte_data