Register description LPS331AP
20/36 Doc ID 022112 Rev 7
WHO_AM_I Device identification
Address: 0Fh
Type: R
Description: This read-only register contains the device identifier that, for LPS331AP, is set to BBh.
CTRL_REG1 Control register 1
Address: 20h
Type: R/W
Description: Control register.
PD bit allows to turn on the device. The device is in power-down mode when PD = ‘0’
(default value after boot). The device is active when PD is set to ‘1’.
ODR2- ODR1 - ODR0 bits allow to change the output data rates of pressure and
temperature samples. The default value is “000” which corresponds to “one shot
configuration” for both pressure and temperature output. ODR2, ODR1 and ODR0 bits can
be configured as described in Ta bl e 18 .
Note: Before changing the ODR it is necessary to power down the device (CTRL_REG1[7]).
76543210
10111011
76543210
PD ODR2 ODR1 ODR0 DIFF_EN DBDU DELTA_EN SIM
[7] PD: power down control.
Default value: 0
(0: power-down mode; 1: active mode)
[6:4] ODR2, ODR1, ODR0: output data rate selection.
Default value: 00
(see Tabl e 18)
[3] DIFF_EN: Interrupt circuit enable.
Default value: 0
(0: interrupt generation disabled; 1: interrupt circuit enabled)
[2] BDU: block data update.
Default value: 0
(0: continuous update; 1: output registers not updated until MSB and LSB reading)
[1] DELTA_EN: delta pressure enable
(1: delta pressure registers enabled. 0: disable)
[0] SIM: SPI Serial Interface Mode selection.
Default value: 0
(0: 4-wire interface; 1: 3-wire interface)