Other Parts Discussed in Thread: TMP411
Tool/software:
hi expert,
could you help provide the sample code about how to clear the alert?
Hello Colt,
This e2e post provides some options in how to clear the alert. Keep in mind that the default hysteresis for 411 is 10C. The signal will remain on until the temperature is past 10C the set Therm limit. This value can be changed with in the I2C registers.
Best Regards,
Meredith McKean
meredith,
customer also use below code but can't clear the alert, could you help review it and provide how to clear the alert:
i2cdbgr -D /dev/i2c2 -s 0x68 -w -b 2 -o 0x01 -x 0x00
i2cdbgr -D /dev/i2c2 -s 0x69 -w -b 2 -o 0x00 -x 0x0C
i2cdbgr -D /dev/i2c2 -s 0x68 -w -b 2 -o 0x01 -x 0x20
i2cdbgr -D /dev/i2c2 -s 0x69 -r -b 1 -o 0x00 -i 1
Hello Colt,
Clearing the Status Register bits does not clear the state of the Alert pin; an SMBus alert response address command must be used to clear the Alert pin. Send (0001 1001) on the bus. Software reset also clears the alert pin. The TMP411-Q1 may be reset by writing any value to Pointer Register FCh.
Best Regards,
Meredith McKean
Hi Meredith,
my customer can't understand how to Send (0001 1001) on the bus? 0001 1001 is the data or the Adress? in my customer's application, they use A2B(ADI product) to send the I2C action, so could you help explain do any I2C action to clear the alert, or any complete demo code.
Hello Colt,
Please send the code 0001 1001 or h19. This is neither data or address. Write the code to device address h4C. After the code has been written, the address of the device should return to you. After sending the command, the alert will change from high to low.
Best Regards,
Meredith McKean
hello meredith,
customer use I2C send the code 0001 1001 , customer use ADM1032, this P2P TMP411, if sent the 0001 1001 ADM1032 can clear the alert, and TMP411 can't clear, below is the spec compare.
so could you help review it, any other set up need do in the TMP411-Q1.
Hello Colt,
The structure of the alert clear is similar. If multiple devices on the bus are asserting, then you will need to issue the alert query from the processor continually until all devices have had the chance to respond. How many devices do they have on the bus?
Best Regards,
Meredith McKean