AnsweredAssumed Answered

i2c i2c-0: smbus transfer timeout

Question asked by thangaraj on Apr 9, 2012
Latest reply on Apr 16, 2012 by Aaronwu

Hi All,

 

we are working in 2010R1 distribution and BF527 based custom board.

The On-chip I2C driver enabled in the kernel config and bus speed is 400khz.

we are reading and writing in to the i2c devices by the following standard APIs.

 

Write:

    

          i2c_smbus_write_byte_data(client, reg,value);

 

Read:

 

          i2c_smbus_read_byte_data(client, reg);

 

But sometimes the " i2c_smbus_read_byte_data()" taking time to return and gives the following error.

 

i2c i2c-0: smbus transfer timeout

 

But There is no issue with the write API.

 

kindly provide your inputs to solve the issue.

 

-Thangaraj.P


Outcomes