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.

TMP102 Configuration Register Issue

Other Parts Discussed in Thread: TMP102

Dear All,

  Please clarify me about the configuration issues related with TMP102.  We have initialized the TMP102 device CONFIGURATION register as follows...   byte1: 0x62    byte2: 0xA0. (At that time the default values in the other registers are: Reg0: 0x30  0x90,   Reg2:  0x4B 0x00,   Reg3:  0x50 0x00 )

  Once we change the Temperature threshold values (TLOW and THIGH) dynamically by an application to 25 and 30 degrees , we got the first interrupt. But after this the CONFIGURATION register value has changed to byte1: 0x60  byte2: 0x40. Interesting thing from this is, once you set the threshold value, CR1 and CR0  bits value got changed and also the TM bit has changed from 1 to 0.

Is this an expected behavior in TMP102 device ?

Regards,

Hareesh

  • Hareesh,

    I am currently looking into this and will get back to you shortly.

  • Hi Chris Featherstone,

         In our test  we are facing this issue when we initialized TMP102 CONFIGURATION register (with value byte1: 0x62 and byte2: 0xA0) at two times. We are initializing the CONFIG register in the driver's Init and Open stream interface functions.

    Regards,

    Hareesh

  • Hareesh,

    I have set and read back all the registers in the TMP102 accordingly:

                                                  

    When you change the TM bit to 1 it should not change unless you power off the device and then back on.

    It sounds like from your description that you intend to set the conversion rate such that CR1 = 1 and CR0 = 1. Setting byte 2 of the configuration register to 0xA0 sets CR1 = 1 and would set AL = 1 if AL was read/write bit. If you are attempting to set CR1 = 1 and CR0 = 1 then the low byte should be 0xC0.

    Is it possible that the bits are shifted and The TM bit is never set either?