English
Language : 

LSM303DLHTR Datasheet, PDF (40/47 Pages) STMicroelectronics – Sensor module: 3-axis accelerometer and 3-axis magnetometer
Registers description
LSM303DLH
Table 59.
MS1
0
0
1
1
CRA_REG_M description
MS0
Magnetic sensor operating mode
0
Normal measurement configuration (default). In normal measurement
configuration the device follows normal measurement flow.
1
Positive bias configuration.
0
Negative bias configuration.
1
This configuration is not used
Product(s) 9.2.2
CRB_REG_M (01h)
The configuration register B for setting the device gain. CRB0 through CRB7 indicate bit
locations, with CRB denoting the bits that are in the configuration register. CRB7 denotes
the first bit of the data stream. The number in parentheses indicates the default value of that
bit.
Table 60. CRA_REG register
GN2
GN1
GN0
0
0
0
0
0
solete Table 61. CRA_REG description
Ob CRB7 to CRB5
Gain configuration bits. These bits configure the gain for the device. The gain
configuration is common for all channels
) - CRB7 to CRB5 This bit must be cleared for correct operation
uct(s Table 62. Gain setting
Prod GN2 GN1 GN0
Sensor input
field range
[Gauss]
lete0
0
1
so 0
1
0
Ob 0
1
1
±1.3
±1.9
±2.5
Gain X/Y and
Z
[LSB/Gauss]
Gain Z
[LSB/Gauss]
1055
950
795
710
635
570
Output range
0xF800–0x07FF
1
0
0
±4.0
430
385
(-2048–2047)
1
0
1
±4.7
375
335
1
1
0
±5.6
320
285
1
1
1
±8.1
230
205
9.2.3
MR_REG_M (02h)
The mode register is an 8-bit register from which data can be read or to which data can be
written. This register is used to select the operating mode of the device. MR0 through MR7
indicate bit locations, with MR denoting the bits that are in the mode register. MR7 denotes
40/47
Doc ID 16941 Rev 1