Thanks Andrea. It's my fault to describe the problem. I am using LSP1.0 from TI.
The address (0x65) is the RTC slave address which i sent and the problem is why the waveform add a 0xf6 data which i haven't sent? According to user guide of TMS320DM644x DMSoC Inter-Integrated Circuit (I2C) Peripheral , it seems no probe in format of "7-Bit Addressing Format"(ref page 14), and i would like to know if the driver is support the format of "Using a Repeated START Condition"(ref page 15) that i need ? Any help will be appreciated. 2008/9/26 Andrea Gasparini <[EMAIL PROTECTED]> > > > > 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 > -- Best Regards, Goung.
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
