English
Language : 

LPS331AP Datasheet, PDF (20/36 Pages) STMicroelectronics – MEMS pressure sensor: 260-1260 mbar absolute digital output barometer
Register description
LPS331AP
WHO_AM_I
7
1
Address:
Type:
Description:
Device identification
6
5
4
3
2
1
0
0
1
1
1
0
1
1
0Fh
R
This read-only register contains the device identifier that, for LPS331AP, is set to BBh.
CTRL_REG1
Control register 1
7
6
5
4
3
2
1
0
PD
ODR2
ODR1
ODR0
DIFF_EN
DBDU
DELTA_EN
SIM
Address:
20h
Type:
R/W
Description:
Control register.
[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 Table 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)
Note:
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 Table 18.
Before changing the ODR it is necessary to power down the device (CTRL_REG1[7]).
20/36
Doc ID 022112 Rev 7