SBOSA15A september 2022 – may 2023 TMP1827
PRODUCTION DATA
The conversion is initiated by the host MCU by sending the temperature conversion command if the automatic conversion is disabled, immediately after the presence detect is completed when the automatic conversion is enabled, or in continuous conversion mode if the device is VDD powered. At the end of every conversion, the device updates the temperature registers temperature result and the status register bits. Figure 9-2 shows that the device supports a high precision and legacy format, which can be configured through the TEMP_FMT bit in the device configuration-1 register. The default setting for the temperature result is legacy format for software compatibility.
If the format selected is the high precision 16-bit format, the data in the result registers is stored in two's complement form and has a resolution of 7.8125m°C and a range of ±256°C. If the format selected is the legacy 12-bit format, the data in the result register is stored in sign extended form and has a resolution of 62.5m°C and a range of ±128°C. The temperature register reads as 0°C before the first conversion. Table 9-1 and Table 9-2 show examples of possible binary data that can be read from the temperature result registers and the corresponding hexadecimal and temperature equivalents for both formats.
TEMPERATURE (°C) |
DIGITAL OUTPUT (PRECISION FORMAT) | |
---|---|---|
BINARY | HEXADECIMAL | |
150 | 0100 1011 0000 0000 | 4B00 |
127 | 0011 1111 1000 0000 | 3F80 |
100 | 0011 0010 0000 0000 | 3200 |
25 | 0000 1100 1000 0000 | 0C80 |
1 | 0000 0000 1000 0000 | 0080 |
0.125 | 0000 0000 0001 0000 | 0010 |
0.03125 | 0000 0000 0000 0100 | 0004 |
0.0078125 | 0000 0000 0000 0001 | 0001 |
0 | 0000 0000 0000 0000 | 0000 |
–0.0078125 | 1111 1111 1111 1111 | FFFF |
–0.03125 | 1111 1111 1111 1100 | FFFC |
–0.125 | 1111 1111 1111 0000 | FFF0 |
–1 | 1111 1111 1000 0000 | FF80 |
–25 | 1111 0011 1000 0000 | F380 |
–40 | 1110 1100 0000 0000 | FC00 |
–55 | 1110 0100 1000 0000 | F480 |
TEMPERATURE (°C) |
DIGITAL OUTPUT | |
---|---|---|
BINARY | HEXADECIMAL | |
140 | 0000 0111 1111 1111 | 07FF |
128 | 0000 0111 1111 1111 | 07FF |
127.9375 | 0000 0111 1111 1111 | 07FF |
100 | 0000 0110 0100 0000 | 0640 |
25 | 0000 0001 1001 0000 | 0190 |
1 | 0000 0000 0001 0000 | 0010 |
0.125 | 0000 0000 0000 0010 | 0002 |
0 | 0000 0000 0000 0000 | 0000 |
–0.125 | 1111 1111 1111 1110 | FFFE |
–1 | 1111 1111 1111 0000 | FFF0 |
–25 | 1111 1110 0111 0000 | FE70 |
–40 | 1111 1101 1000 0000 | FD80 |
–55 | 1111 1100 1001 0000 | FC90 |