English
Language : 

HP203B Datasheet, PDF (11/18 Pages) List of Unclassifed Manufacturers – PRECISION BAROMETER AND ALTIMETER SENSOR
DataSheet
HP203B
6. Control Registers
The control registers allow the user to set the threshold values for various event detections, configure
the interrupt setting, and enable/disable the data compensation. It is recommended for the user to set
these registers to the desired values before performing the conversions or any other command-based
operations. The following is a table of all the control registers.
The registers from 0x00 to 0x0A are designed for the user to setup the parameters (offset and
thresholds) for pressure (or altitude) and temperature event detections. The registers from 0x0B to
0x0D are used for interrupt controls. The register of 0x0E is dedicated for switching on/off the sensor
output compensation function inside the device.
Table 8: Control Registers List
Addr Name Default Bit 7 Bit 6
0x00
ALT_OFF_LS
B
0x01
ALT_OFF_M
SB
0x02
PA_H_TH_LS
B
0x03
PA_H_TH_M
SB
0x04
PA_M_TH_LS
B
0x05
PA_M_TH_M
SB
0x06
PA_L_TH_LS
B
0x07
PA_L_TH_MS
B
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x08 T_H_TH 0x00
Bit 5
Bit 4
Bit 3
Bit 2
ALT_OFF [7:0]
ALT_OFF [15:8]
PA_H_TH [7:0]
PA_H_TH [15:8]
PA_M_TH [7:0]
PA_M_TH [15:8]
PA_L_TH [7:0]
PA_L_TH [15:8]
T_H_TH [7:0]
Bit 1
Bit 0
0x09 T_M_TH 0x00
T_M_TH [7:0]
0x0A T_L_TH 0x00
T_L_TH [7:0]
0x0B INT_EN
0x0C INT_CFG
0x0D INT_SRC
0x0E INT_DIR
0X0F PARA
0x00 Reserved Reserved PA_RDY_EN T_RDY_EN PA_TRAV_EN T_TRAV_EN PA_WIN_EN T_WIN_EN
0x00
Reserved
PA_MODE
PA_RDY_CF
G
T_RDY_CFG
PA_TRAV_CFG
T_TRAV_CFG PA_WIN_CFG
T_WIN_CFG
0x00 TH_ERR DEV_RDY PA_RDY
T_RDY
PA_TRAV
T_TRAV
PA_WIN
T_WIN
0x00
0X80
CMPS_E
N
CMPS_E
N
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
P_TRAV_DIR T_TRAV_DIR P_WIN_DIR T_WIN_DIR
Reserved
Reserved
Reserved
Reserved
6.1 Setup the Altitude Offset Compensation Parameter
6.1.1 ALT_OFF_LSB, ALT_OFF_MSB - (RW)
The two registers form the 16-bit value of ALT_OFF, which saves the altitude offset data used to
compensate the altitude calculation. The data is in 2’s complement format and the unit is in centimeter.
The users need to set these registers if they need to use the altitude computation function of the
device.
Normally, the values of the local average standard atmospheric pressure (Plocal) may vary in different
places around the world. The varying range is from 1000 mbar to 1026 mbar. The device requires the
user to setup the ALT_OFF to remove the offset. The following table is provided to assist to finding the
value of desired altitude offset.
HP203B_DataSheet_EN_V2.0
www.hoperf.com
11 / 18