English
Language : 

LPS25H Datasheet, PDF (27/45 Pages) STMicroelectronics – Embedded temperature compensation
LPS25H
Register description
7.7
CTRL_REG2
7
6
5
4
3
BOOT FIFO_EN WTM_EN FIFO_MEAN_DEC
0
Control register 2
2
1
0
SWRESET AUTO_ZERO ONE_SHOT
Address:
21h (R/W)
Reset:
00h
Description:
Control register.
[7] BOOT: Reboot memory content. Default value: 0
(0: normal mode; 1: reboot memory content) Self-clearing upon completion)
[6] FIFO_EN: FIFO Enable. Default value: 0
(0: disable; 1: enable)
[5] WTM_EN: Enable FIFO Watermark level use. Default value 0
(0: disable; 1: enable)
[4] FIFO_MEAN_DEC: Enable 1Hz ODR decimation
(0: disable; 1 enable)
[3] I²C enable
(0: I2C enable;1: SPI disable)
[2] Software reset. Default value: 0
(0: normal mode; 1: software reset) Self-clearing upon completion)
[1] Autozero enable. Default value: 0
(0: normal mode; 1: autozero enable)
[0] One shot enable. Default value: 0
(0: waiting for start of conversion; 1: start for a new dataset)
Description:
BOOT bit is used to refresh the content of the internal registers stored in the Flash memory
block. At the device power-up the content of the Flash memory block is transferred to the
internal registers related to trimming functions to permit a good behavior of the device itself.
If for any reason, the content of the trimming registers is modified, it is sufficient to use this
bit to restore the correct values. When BOOT bit is set to ‘1’ the content of the internal Flash
is copied inside the corresponding internal registers and is used to calibrate the device.
These values are factory trimmed and they are different for every device. They permit good
behavior of the device and normally they should not be changed. At the end of the boot
process the BOOT bit is set again to ‘0’ by hardware. BOOT bit takes effect after one ODR
clock cycle.
SWRESET is the software reset bit. The device is reset to the power on configuration if the
SWRESET bit is set to ‘1’ and BOOT is set to ‘1’.
AUTO_ZERO, when set to ‘1’, the actual pressure output is copied in the REF_P_H &
REF_P_L & REF_P_XL and kept as reference and the PRESS_OUT_H & PRESS_OUT_L
& PRESS _OUT_XL is the difference between this reference and the pressure sensor
value.
DocID023722 Rev 5
27/45
45