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.

TMP117: Alert pin not working as expected.

Part Number: TMP117


Tool/software:

Hi,

I am checking the functionality of TMP117 alert pin and I am observing that whenever the Thigh limit is crossed I don't see the alert pin getting deasserted once temperature goes back to normal range.

my programming sequence is as follows:

1.set the configuration register : 0x0220

2.set high/low threshold.

3.Read temperature whenever data ready flag is set.

Can you please let me know if anything is missed?

  • The text in 7.4.4.1 Alert Mode states that you must read the Config register or perform SMBus Alert Query to clear the alert condition. Note that, if the temperature is still high, ALERT will be asserted again at the end of the next temperature conversion. 

    What value did you write into registers 2/3 High/Low Limit?

    I don't recommend polling the config register to get the state of data ready, but doing so should satisfy the alert clear requirement. You can save power by using a timer to delay your temperature reads instead.

    thanks,

    ren