SNIS209C July 2021 – June 2022 TMP126
PRODUCTION DATA
ADDRESS | TYPE | RESET | ACRONYM | REGISTER NAME | SECTION |
---|---|---|---|---|---|
00h | R | 0000h | Temp_Result | Temperature result register | Go |
01h | R | 0000h | Slew_Result | Slew rate result register | Go |
02h | R/RC | 0000h | Alert_Status | Alert status register | Go |
03h | R/W | 0006h | Configuration | Configuration register | Go |
04h | R/W | 0016h | Alert_Enable | Alert enable register | Go |
05h | R/W | F380h | TLow_Limit | Temperature low limit register | Go |
06h | R/W | 2A80h | THigh_Limit | Temperature high limit register | Go |
07h | R/W | 0A0Ah | Hysteresis | Hysteresis register | Go |
08h | R/W | 0500h | Slew_Limit | Temperature slew rate limit register | Go |
09h | R | xxxxh | Unique_ID1 | Unique ID1 register | Go |
0Ah | R | xxxxh | Unique_ID2 | Unique ID2 register | Go |
0Bh | R | xxxxh | Unique_ID3 | Unique ID3 register | Go |
0Ch | R | 2126h | Device_ID | Device ID register | Go |
10h-2Ah | R | xxxxh | Reserved | Reserved |
Access Type | Code | Description |
---|---|---|
Read Type | ||
R | R | Read |
RC | R C |
Read to Clear |
R-0 | R -0 |
Read Returns 0s |
Write Type | ||
W | W | Write |
Reset or Default Value | ||
-n | Value after reset or the default value |
This register stores the latest temperature conversion result in a 14-bit two's complement format with a LSB (Least Significant Bit) equal to 0.03125°C.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Temp_Result[13:6] | |||||||
R-00h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Temp_Result[5:0] | Reserved | ||||||
R-00h | R-00b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:2 | Temp_Result[13:0] | R | 0000h | 14-bit temperature conversion result. Temperature data is represented by a 14-bit, two's complement word with an LSB (Least Significant Bit) equal to 0.03125°C. |
1:0 | Reserved | R | 00b | These two bits will always read 00b |
This register shows the latest slew rate calculation. Two consecutive measurements in continuous conversion mode are required before a result is shown. When not in continuous conversion mode the register will return to the default value.
The slew rate result is depicted in 14-bit twos-complement format with the LSB equal to 0.03125°C/s. The TMP126 does not accurately report negative slew rate values and bit 13 of the output result can be used to indicate a negative slew rate but the output value cannot be guaranteed.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Slew_Rate_Result[13:6] | |||||||
R-00h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Slew_Rate_Result[5:0] | Reserved | ||||||
R-00h | R-00b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:2 | Slew_Rate_Result[13:0] | R | 0000h | Temperature slew rate result. Temperature slew rate is represented by a 14-bit, twos-complement word with an LSB (Least Significant Bit) equal to 0.03125°C/s. Format is°C/s. |
1:0 | Reserved | R | 00b | Reserved |
This register show the current alert status of the TMP126. This register will currently only clear with a single register read without auto increment.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Reserved | |||||||
R-00h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
CRC_Flag | Slew_Status | Slew_Flag | THigh_Status | TLow_Status | THigh_Flag | TLow_Flag | Data_Ready_Flag |
RC-0b | R-0b | RC-0b | R-0b | R-0b | RC-0b | RC-0b | RC-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:8 | Reserved | R | 00h | Reserved |
7 | CRC_Flag | RC | 0b | CRC checksum error flag indicator. This
indicates that the write transaction CRC checksum failed and the register settings
were discarded. 0b = The most recent CRC enabled write transaction was successful. 1b = The most recent CRC enabled write transaction failed. |
6 | Slew_Pos_Status | R | 0b | Positive slew rate status indicator. This
bit is set if there is a positive slew rate exceeding the Slew_Rate_Limit. 0b: The most recent temperature conversion result is below the Slew_Rate_Limit. 1b: The most recent temperature conversion result is above the Slew_Rate_Limit. |
5 | Slew_Flag | RC | 0b | Slew rate flag indicator. This indicates
that the current there was a temperature slew rate beyond the slew rate limit
threshold. Reading Alert_Status register will clear this bit. 0b = The most recent temperature conversion has not crossed the Slew_Rate_Limit threshold. 1b = A temperature conversion has crossed the Slew_Rate_Limit threshold. |
4 | THigh_Status | R | 0b | High temperature status indicator. 0b: The most recent temperature conversion result is below the Thigh_Limit 1b: The most recent temperature conversion is above the THigh_Limit. Once set, this bit will not clear until a temperature conversion is below THigh_Limit - THigh_Hyst |
3 | TLow_Status | R | 0b | Low temperature status indicator. 0b: The most recent temperature conversion result is above the TLow_Limit 1b: The most recent temperature conversion is below the THigh_Limit. Once set, this bit will not clear until a temperature conversion is above TLow_Limit + TLow_Hyst |
2 | THigh_Flag | RC | 0b | High temperature flag indicator. This
indicates that the latest temperature conversion has cross above the THigh_Limit
register threshold or crossed below the THigh_Limit - THigh_Hyst threshold. Reading
Alert_Status register will clear this bit. 0b = The most recent temperature conversion has not crossed the THigh_Limit or the hysteresis threshold. 1b: A temperature conversion crossed the THigh_Limit or crossed below the THigh_Limit - THigh_Hyst threshold. Once the THigh_Flag is set, THigh_Flag will not be set again until a temperature conversion is below THigh_Limit - THigh_Hyst |
1 | TLow_Flag | RC | 0b | Low temperature flag indicator. This
indicates that the latest temperature conversion has cross below the TLow_Limit
register threshold or crossed above the Tlow_Limit + TLow_Hyst threshold. Reading
Alert_Status register will clear this bit. 0b = The most recent temperature conversion has not crossed the TLow_Limit or the hysteresis threshold. 1b: A temperature conversion crossed below the TLow_Limit. Once the TLow_Flag is set, TLow_Flag will not be set again until temperature conversion is above TLow_Limit + TLow_Hyst |
0 | Data_Ready_Flag | RC | 0b | Data Ready flag indicator. This indicates
that there is an unread temperature conversion. Reading Alert_Status register or the
Temperature Results register will clear this bit. 0b = Data in Temp_Result has been read already 1b = Data in Temp_Result is unread |
This register is used to configuration the operation of the TMP126.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Reserved | Reset | ||||||
R-00h | R/W-0b | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
AVG | Reserved | Int_Comp | One_Shot | Mode | Conv_Period[2:0] | ||
R/W-0b | R-0b | R/W-0b | R/W-0b | R/W-0b | R/W-110b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:9 | Reserved | R | 00h | Reserved |
8 | Resets | R/W | 0b | Software reset bit. When set to 1b it triggers software reset with a duration of 0.5 ms. This bit will always read back 0b |
7 | AVG | R/W | 0b | Averaging enable bit. Averaging will force
every measurement including one-shot measurements to be averaged with eight
conversions. 0b: Averaging is disabled 1b: Averaging is enabled |
6 | Reserved | R | 0b | Reserved |
5 | Int_Comp | R/W | 0b | Interrupt or comparator mode select 0b = Interrupt mode 1b = Comparator mode |
4 | One_Shot | R/W | 0b | One-shot conversion trigger. Triggering a
one-shot conversion will place the TMP126 into shutdown mode
after the conversion completes. This bit will always read 0h. 0b = Default 1b = Trigger a one-shot conversion |
3 | Mode | R/W | 0b | Conversion mode selection bit. 0b = Continuous conversion mode 1b = Shutdown mode |
2:0 | Conv_Period[2:0] | R/W | 110b | Conversion period setting. This bit field
changes the conversion period of the TMP126. 000b = 6 ms 001b = 31.25 ms / 32 Hz 010b = 62.5 ms / 16 Hz 011b = 125 ms / 8 Hz 100b = 250 ms / 4 Hz 101b = 500 ms / 2 Hz 110b = 1 s / 1 Hz 111b = 2 s / 0.5 Hz |
This register configures which flags of the Alert_Status register are enabled or disabled. Disabling an Alert flag will cause the ALERT pin to not assert when that flag bit is set. If the flag is enabled the ALERT pin will assert when that flag is set. The flag bit will still be set in the register when the Alert functionality is disabled for that bit.
Currently if there is an active alert on the ALERT pin and the enable for that alert is set to 0b, the TMP126 will not the de-assert the pin until the status register is read or a new conversion occurs.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Reserved | |||||||
R-00h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Reserved | CRC_Alert_En | Slew_Alert_En | THigh_Alert_En | TLow_Alert_En | Data_Ready_Alert_En | ||
R-000b | R/W-1b | R/W-0b | R/W-1b | R/W-1b | R/W-0b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:5 | Reserved | R | 000h | Reserved |
4 | CRC_Alert_En | R/W | 1b | Enables the CRC_Flag alert to assert the
ALERT pin. 0b = CRC_Flag ALERT disabled 1b = CRC_Flag ALERT enabled |
3 | Slew_Alert_En | R/W | 0b | Enables the Slew_Flag assert the
ALERT pin while in interrupt mode. When in comparator mode,
enables the Slew_Status to assert the ALERT. 0b = Slew_Flag ALERT disabled 1b = Slew_Flag ALERT enabled |
2 | THigh_Alert_En | R/W | 1b | Enables the THigh_Flag assert the
ALERT pin while in interrupt mode. When in comparator mode,
enables the THigh_Status to assert the ALERT. 0b = THigh_Flag Alert disabled 1b = THigh_Flag Alert enabled |
1 | TLow_Alert_En | R/W | 1b | Enables the TLow_Flag assert the
ALERT pin while in interrupt mode. When in comparator mode,
enables the TLow_Status to assert the ALERT. 0b = TLow_Flag Alert disabled 1b = TLow_Flag Alert enabled |
0 | Data_Ready_Alert_En | R/W | 0b | Enables the Data_Ready_Flag to assert the
ALERT pin. 0b = Data_Ready Alert disabled 1b = Data_Ready Alert enabled |
This register is used to configuration the low temperature limit of the TMP126. The limit is formatted in a 14-bit two's complement format with a LSB (Least Significant Bit) equal to 0.03125°C. This is the same format as the TEMP_RESULT register. The range of the register is ±256°C. The default value on start-up is F380h or -25°C. If the THigh_Limit register is equal to or less than the TLow_Limit register the temperature limits will be ignored until configured such that THigh_Limit is greater than TLow_Limit.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
TLow_Limit[13:6] | |||||||
R/W-F3h | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TLow_Limit[5:0] | Reserved | ||||||
R/W-20h | R-00b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:2 | TLow_Limit[13:0] | R/W | 3CE0h | 14-bit temperature low limit setting. Temperature low limit is represented by a 14-bit, two's complement word with an LSB (Least Significant Bit) equal to 0.03125°C. The default setting for this is -25°C. |
1:0 | Reserved | R | 00b | These two bits will always read 00b |
This register is used to configuration the high temperature limit of the TMP126. The limit is formatted in a 14-bit two's complement format with a LSB (Least Significant Bit) equal to 0.03125°C. This is the same format as the Temp_Result register. The range of the register is ±256°C. The default value on start-up is 2A80h or 85°C. If the THigh_Limit register is equal to or less than the TLow_Limit register the temperature limits will be ignored until configured such that THigh_Limit is greater than TLow_Limit.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
THigh_Limit[13:6] | |||||||
R/W-2Ah | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
THigh_Limit[5:0] | Reserved | ||||||
R/W-20h | R-00b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:2 | THigh_Limit[13:0] | R/W | 0AA0h | 14-bit temperature high limit setting. Temperature high limit is represented by a 14-bit, two's complement word with an LSB (Least Significant Bit) equal to 0.03125°C. |
1:0 | Reserved | R | 00b | These two bits will always read 00b |
This register sets the hysteresis for the THigh_Limit threshold and the TLow_Limit threshold. The default hysteresis value for both the high and low limits is equal to 5 °C.
The Hysteresis is in a 8-bit unsigned format with the LSB equal to 0.5°C. This gives a maximum value of 127.5°C of hysteresis.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
THigh_Hyst[7:0] | |||||||
R/W-0Ah | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
TLow_Hyst[7:0] | |||||||
R/W-0Ah |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:8 | THigh_Hyst[7:0] | R/W | 0Ah | THigh_Limit Hysteresis setting. Hysteresis value is represented by a unsigned Byte with the LSB equal to 0.5°C. The High temperature limit hysteresis threshold is equal to (THigh_Limit - THigh_Hyst). The default hysteresis value is 5 °C. |
7:0 | TLow_Hyst[7:0] | R/W | 0Ah | TLow_Limit Hysteresis setting. Hysteresis value is represented by a unsigned Byte with the LSB equal to 0.5°C. The Low temperature limit hysteresis threshold is equal to (TLow_Limit + TLow_Hyst). The default hysteresis value is 5 °C. |
This register is used to configure the temperature slew rate limit of the TMP126. The limit is formatted in a 13-bit unsigned format with the LSB (Least Significant Bit) equal to 0.03125°C/s. The range of the register is 0°C to +256°C. The default value on start-up is 0140h or 10°C/s. The slew rate limit will trigger a slew rate alert on positive slew rates that are greater than the unsigned limit as enabled by the Alert_Enable register.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Reserved | Slew_Rate_Limit[12:6] | ||||||
R-0b | R/W-05h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Slew_Rate_Limit[5:0] | Reserved | ||||||
R/W-00h | R-00b |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15 | Reserved | R | 00b | Reserved |
14:2 | Slew_Rate_Limit[12:0] | R/W | 0140h | 13-bit temperature slew rate limit setting.
Temperature low limit is represented by a 13-bit unsigned word with a LSB (Least Significant Bit) equal to 0.03125°C/s. The default setting for this is 10°C/s. |
1:0 | Reserved | R | 00b | Reserved |
This register contains bits 47:32 of the Unique ID for the device. The Unique ID of the device is used for NIST traceability purposes.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Unique_ID[47:40] | |||||||
R-xxh | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Unique_ID[39:32] | |||||||
R-xxh |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:0 | Unique_ID[47:32] | R | xxxxh | Bits 47:32 of the device Unique ID |
This register contains bits 31:16 of the Unique ID for the device.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Unique_ID[31:24] | |||||||
R-xxh | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Unique_ID[23:16] | |||||||
R-xxh |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:0 | Unique_ID[31:16] | R | xxxxh | Bits 31:16 of the device Unique ID |
This register contains bits 15:0 of the Unique ID for the device.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Unique_ID[15:8] | |||||||
R-xxh | |||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
Unique_ID[7:0] | |||||||
R-xxh |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:0 | Unique_ID[15:0] | R | xxxxh | Bits 15:0 of the device Unique ID. |
This register indicates the device ID and device revision.
Return to Register Map.
15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 |
Rev[3:0] | ID[11:8] | ||||||
R-2h | R-1h | ||||||
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
ID[7:0] | |||||||
R-26h |
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
15:12 | Rev[3:0] | R | 2h | Device revision indicator. |
11:0 | ID[11:0] | R | 126h | Device ID indicator. |