LIS331DL_08 STMICROELECTRONICS [STMicroelectronics], LIS331DL_08 Datasheet - Page 26

no-image

LIS331DL_08

Manufacturer Part Number
LIS331DL_08
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
Register description
7
7.1
7.2
26/42
Register description
The device contains a set of registers which are used to control its behavior and to retrieve
acceleration data. The registers address, made of 7 bits, is used to identify them and to
write the data through serial interface.
WHO_AM_I (0Fh)
Table 16.
Device identification register.
This register contains the device identifier that for LIS331DL is set to 3Bh.
CTRL_REG1 (20h)
Table 17.
Table 18.
DR bit allows to select the data rate at which acceleration samples are produced. The
default value is 0 which corresponds to a data-rate of 100 Hz. By changing the content of
DR to “1” the selected data-rate will be set equal to 400 Hz.
PD bit allows to turn the device out of power-down mode. The device is in power-down
mode when PD= ‘0’ (default value after boot). The device is in normal mode when PD is set
to ‘1’.
STP, STM bits are used to activate the self test function. When the bit is set to one, an
output change will occur to the device outputs (refer to
allowing to check the functionality of the whole measurement chain.
DR
PD
FS
STP, STM
Zen
Yen
Xen
DR
0
WHO_AM_I register
CTRL_REG1 register
CTRL_REG1 description
Data rate selection. Default value: 0
(0: 100 Hz output data rate; 1: 400 Hz output data rate)
Power Down Control. Default value: 0
(0: power down mode; 1: active mode)
Full Scale selection. Default value: 0
(refer to
Self Test Enable. Default value: 0
(0: normal mode; 1: self test P, M enabled)
Z axis enable. Default value: 1
(0: Z axis disabled; 1: Z axis enabled)
Y axis enable. Default value: 1
(0: Y axis disabled; 1: Y axis enabled)
X axis enable. Default value: 1
(0: X axis disabled; 1: X axis enabled)
PD
0
Table 3
FS
for typical full scale values)
1
STP
1
STM
1
Table 3
Zen
0
and
4
for specifications) thus
Yen
1
LIS331DL
Xen
1

Related parts for LIS331DL_08