This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Not able to change conversion rate

Hi,

I am trying to use TI infrared thermopile sensor ‘tmp006’.

While tuning some of the parameters, it’s noticed that I'm not able to change CR (Conversion Rate).

When tried to write a value to CR, i2c_smbus_write_word_data() is returning 0, but the content of CR is still default value.[ https://www.kernel.org/doc/Documentation/i2c/dev-interface :

All these transactions return -1 on failure; you can read errno to see what happened. The 'write' transactions return 0 on success]


 

Tried on 2 units of tmp006 and the same result found.

what could be the issue here ?

  • Hi Arpana,

     

    Perhaps you can try changing the value of some other bits in the configuration register? If you can’t write to any of the writable registers, it is more likely that there is some issue with the software. Then it is the best to look at the Write command with a scope. 

    Regard, Guang

    Apps-Sensing Products