LPS331AP Register description
Doc ID 022112 Rev 7 19/36
Table 17. Pressure resolution
1001 384
1010 512
(1)
1. Register configuration 7Ah not allowed with ODR = 25Hz/25Hz (Register CTRL_REG1). For ORD
25Hz/25Hz the suggested configuration for RES_CONF is 6Ah.
Table 16. Temperature resolution configuration
AVGT2 AVGT1 AVGT1 Nr. internal average
000 1
001 2
010 4
011 8
100 16
101 32
110 64
1 1 1 128
(1)
1. Register configuration 7Ah not allowed with ODR = 25Hz/25Hz (Register CTRL_REG1). For ORD
25Hz/25Hz the suggested configuration for RES_CONF is 6Ah.
RES_CONF (hex) RMS noise
(1)
1. Rms noise is calculated as standard deviation of 10 data points.
Unit
70 0.450
mbar
71 0.320
72 0.230
73 0.160
74 0.110
75 0.080
76 0.060
77 0.040
78 0.030
79 0.025
7A
(2)
2. This configuration is not allowed for ODR = 25Hz/25HZ (register CTRL_REG1). For ORD = 25 Hz/ 25 Hz
the suggested configuration for RES_CONF is 6Ah.
0.020
Table 15. Pressure resolution configuration
AVGP3 AVGP2 AVGP1 AVGP0 Nr. internal average
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)
LPS331AP Register description
Doc ID 022112 Rev 7 21/36
DIFF_EN bit is used to enable the circuitry for the computing of differential pressure output.
In default mode (DIF_EN=’0’) the circuitry is turned off. It is suggested to turn on the circuitry
only after the configuration of REF_P_x and THS_P_x.
BDU bit is used to inhibit the output registers update between the reading of upper and
lower register parts. In default mode (BDU = ‘0’), the lower and upper register parts are
updated continuously. If it is not sure to read faster than output data rate, it is recommended
to set BDU bit to ‘1’. In this way, after the reading of the lower (upper) register part, the
content of that output registers is not updated until the upper (lower) part is read too.
This feature avoids reading LSB and MSB related to different samples.
SIM bit selects the SPI serial interface mode. When SIM is ‘0’ (default value) the 4-wire
interface mode is selected and data coming from the device are sent to pin #7 (SDO).
In 3-wire interface mode, output data are sent to pin #6 (SDI/SDO).
Table 18. Output data rate bit configurations
ODR2 ODR1 ODR0 Pressure output data rate
Temperature output data
rate
0 0 0 One shot One shot
001 1Hz 1Hz
010 7Hz 1Hz
011 12.5Hz 1Hz
100 25Hz 1Hz
101 7Hz 7Hz
1 1 0 12.5 Hz 12.5 Hz
1 1 1 25 Hz 25 Hz

LPS331APTR

Mfr. #:
Manufacturer:
STMicroelectronics
Description:
IC PRESSURE SENSOR PIEZO 16HCLGA
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet