|
I am running Linux 2.6.30 on AtmelSAM9G45 which talks to TCA9555 device using I2C interface. This was working fine for many days but all of a sudden i am not able to communicate using I2C bus. When i put debug printk, i get error of -6 from i2c_smbus_xfer() function. I used Beagle I2C analyzer to see what's happening on the bus and i see "Corrupt Transactions" with all data as "FF". Not sure what is happening here. Can anyone please help me what does the above error code mean?
I also enabled I2C debugging and i got the following message from kernel i2c-adapter i2c-0: ioctl, cmd=0x720, arg=0xbef14a8c error... 0x06
i2c-adapter i2c-0: ioctl, cmd=0x703, arg=0x216
When i first started this 6 months ago, things worked seamlessly by just using i2c_smbus_read_byte() and i2c_smbus_write_byte() functions and i havne't done any kernel modification except for enabling i2c bus as dev interface. Even if i have a defective slave device, i should atleast see what are the transactions sent by the master on the analyzer (in the past i have tried this and the analyzer does show). Strangely this is not happening...
I did use a scope and saw some transactions happening on the bus but couldn't capture it as i don't have experience in using trigger functionality. When i saw in the I2C analyser, i get all data as "FF" which is quite strange...
Thanks Prashanth
|