English
Language : 

LSM303DLH Datasheet, PDF (29/47 Pages) STMicroelectronics – Sensor module: 3-axis accelerometer and 3-axis magnetometer
LSM303DLH
9
Registers description
Registers description
The device contains a set of registers which are used to control its behavior and to retrieve
acceleration data. The register address, composed of 7 bits, is used to identify them and to
write the data through the serial interface.
9.1
9.1.1
Linear acceleration register
For linear acceleration sensors, the default (factory) 7-bit slave address is 001100xb.
CTRL_REG1_A (20h)
Table 18. CTRL_REG1_A register
PM2
PM1
PM0
DR1
DR0
Zen
Yen
Xen
Table 19. CTRL_REG1_A description
PM2 - PM0
Power mode selection. Default value: 000
(000: Power-down; Others: refer to Table 20)
DR1, DR0
Data rate selection. Default value: 00
(00:50 Hz; others: refer to Table 21)
Z axis enable. Default value: 1
Zen
(0: Z axis disabled; 1: Z axis enabled)
Y axis enable. Default value: 1
Yen
(0: Y axis disabled; 1: Y axis enabled)
X axis enable. Default value: 1
Xen
(0: X axis disabled; 1: X axis enabled)
PM bits allow selection between power-down and two operating active modes. The device is
in power-down mode when the PD bits are set to “000” (default value after boot). Table 20
shows all the possible power mode configurations and respective output data rates. Output
data in the low-power modes are computed with a low-pass filter cut-off frequency defined
by DR1, DR0 bits.
DR bits, in the normal-mode operation, select the data rate at which acceleration samples
are produced. In low-power mode they define the output data resolution. Table 21 shows all
the possible configurations for the DR1 and DR0 bits.
Table 20.
PM2
0
0
Power mode and low-power output data rate configurations
PM1
PM0
Power mode selection
Output data rate [Hz]
ODRLP
0
0
Power-down
--
0
1
Normal mode
ODR
Doc ID 16941 Rev 1
29/47