> In EV-board , the i2c driver is used to MSP430 and TVP5146 video encode, > and the protocol is 7 bit slave address + register address (offset) + > 1bytes data. [snip] > But now i would like to use new rtc chip(s35390a), this chip is > communicate with special protocol that is 7bit slave address + 7 bytes > data (without register address). [snip] > data that i transmit: address(0x65)+data(1234567) > waveform: address(0x65) +0xf6(?)+ data(123456)
Seems you modified only the data-bytes, and the driver is still sending the "register address(offset)" you mentioned above. And probably the total length of the packet is being calculated taking the register address too. Try figure out how to remove the the register address, or send a bunch of code in order to get help. :) ( perhaps struct i2c_msg contains also that field? ) Bye! -- Andrea Gasparini ---- ImaVis S.r.l. ---- web: www.imavis.com _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
