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.

TMP411: Always read "1" from the SD bit in the Configuration register

Part Number: TMP411

Hi, 

I want to read the data continuously through the tmp411 sensor.

I just set temperature range bit to 1 and RES0, RES1 to 0.

But, always read "1" from the SD bit in the Configuration register.

If i read back the configuration register, read data is 0x44.(SD =1, Temperature range = 1)

Because of this, it appears that incorrect data is being read.

The actual measurement temperature is 30'C, but reading High Bytes reads 0x1E(dec 30). 

I think the Temperature range bit is set to 1, so it should be read as 0x5E.

What's the problem?

  • Hi Junsu,

    The temperature register will not be updated until a conversion has completed. The conversion time for each channel is specified as 115ms typical. This means it will take approximately 230ms for the TMP411 to make a local and remote measurement.

    If you are writing SD=1, you must subsequently write to the One-Shot register 0x0F to start a temperature measurement. After writing to the One-Shot register, you must wait approximately 230ms before retrieving the new temperature measurements.

    If you are writing SD=0, please note that the default Conversion Rate is 1Hz. Temperature measurements will be automatically performed once per second. You must wait one second after setting RANGE=1 to retrieve the updated temperature measurement in the RANGE=1 format.

    thanks,

    ren