Datasheet

STMPE811 Temperature sensor
Doc ID 14489 Rev 6 49/65
TEMP_CTRL Temperature sensor setup
Address: 0x60
Type: R/W
Reset: 0x00
Description:
Temperature sensor setup
TEMP_DATA Temperature data
Address: 0x61 is MSB, 0x62 is LSB
Type: R
Reset: 0x00
Description:
Temperature data access port
765 4 3 2 1 0
RESERVED THRES_RANGE THRES_EN ACQ_MOD ACQ ENABLE
[7:5] RESERVED
[4] THRES_RANGE:
'0' assert interrupt if temperature is >= threshold
'1' assert interrupt if otherwise
[3] THRES_EN: temperature threshold enable
[2] ACQ_MOD:
'0' to acquire temperature for once only
'1' to acquire temperature every 10mS
[1] ACQ
[0] ENABLE
11109876543 2 1 0
TEMPERATURE
[11:0] TEMPERATURE: Temperature reading
Absolute temperature
= ( V
IO
* temperature [11:0] ) / 7.51 (12-bit ADC)
= ( V
IO
* temperature [9:0] ) / 7.51 (10-bit ADC)
Note that V
IO
is used as a reference in temperature acquisition.
Variations in V
IO
directly affect the accuracy of temperature acquired.