Datasheet
ENS160 Datasheet v0.95 preliminary / December 2020
27
16.2.5 TEMP_IN (Address 0x13)
This 2-byte register allows the host system to write ambient temperature data to ENS160 for
compensation. The register can be written at any time. TEMP_IN_LSB should be written first
as the update is recognized on a write to TEMP_IN_MSB.
Table 22: Register TEMP_IN
Address 0x13
TEMP_IN
Bits
Field Name
Default
Access
Field Description
0:7
TEMP_IN _LSB
0x00
R/W
Lower Byte of TEMP_IN
8:15
TEMP_IN_MSB
0x00
R/W
Upper Byte of TEMP_IN
The format of the temperature data is the same as the format used in the ENS21x (family of
ScioSense temperature and humidity sensors) as shown below:
Table 23: Format of Temperature Data
Byte 0x14
Byte 0x13
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
TEMP_IN Integer Part (Kelvin)
TEMP_IN Fractions
The ENS160 required input format is: temperature in Kelvin * 64
(with Kelvin = Celsius + 273.15).
Example: For 25°C the input value is calculated as follows: (25 + 273.15) * 64 = 0x4A8A.
16.2.6 RH_IN (Address 0x15)
This 2-byte register allows the host system to write relative humidity data to ENS160 for
compensation. The register can be written at any time. RH_IN_LSB should be written first as
the update is recognized on a write to RH_IN_MSB.
Table 24: Register RH_IN
Address 0x15
RH_IN
Bits
Field Name
Default
Access
Field Description
0:7
RH_IN _LSB
0x00
R/W
Lower Byte of RH_IN
8:15
RH_IN_MSB
0x00
R/W
Upper Byte of RH_IN
The format of the relative humidity data is the same as the format used in the ENS21x as
shown below:
Table 25: Format of Relative Humidity Data
Byte 0x16
Byte 0x15
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
RH_IN Integer Part (%)
RH_IN Fractions
The ENS160 required input format is: relative humidity in %rH * 512.
Example: For 50% rH the input value is calculated as follows: 50 * 512 = 0x6400.