2010-03-30 05:03:48 combined transaction in i2c driver
svs k (INDIA)
I have a custom board with BF533 processor that has a serial interfaced device that supports the following i2c read sequence operation. I am using 2009R1-RC1 distribution. BF533 in turn does not have a in built i2c controller. So gpio pins are used. From the documentation i could find i2c_master_send() can be used for write operation. . Can you please tell is there any api for supporting the following type of combined transaction? Also please tell if any example is available for i2c device interface for combined transaction in application side.
Start Addr Wr Ack Data1 Ack Data2 Ack Data3 Ack Start Addr Rd Ack Data4 Ack Data5 Ack Data6 NACK Stop
2010-03-30 15:11:21 Re: combined transaction in i2c driver
Mike Frysinger (UNITED STATES)
examples of possible I2C transactions are documented in linux-2.6.x/Documentation/i2c/
2010-04-01 06:05:15 Re: combined transaction in i2c driver
svs k (INDIA)
one type of combined transaction given in the document is like
S Addr Rd [A] [Data] NA S Addr Wr [A] Data [A] P
which is a byte read followed by a byte write.can you please confirm is my case which has 3 bytes write followed by 3 bytes read is also supported?
2010-04-01 23:19:39 Re: combined transaction in i2c driver
Sonic Zhang (CHINA)
The smbus I2C protocol only support 3 bytes write followed by 2 bytes read operation in process call.
You may try a raw I2C write followed by a raw I2C read.