Datasheet
DocID028475 Rev 7 67/114
LSM6DSL Register description
114
9.21 CTRL9_XL (18h)
Linear acceleration sensor control register 9 (r/w).
Table 73. Accelerometer bandwidth selection
HP_SLOPE_
XL_EN
LPF2_XL_EN LPF1_BW_SEL HPCF_XL[1:0]
INPUT_
COMPOSITE
Bandwidth
0
(low-pass path)
(1)
1. The bandwidth column is related to LPF1 if LPF2_XL_EN = 0 or to LPF2 if LPF2_XL_EN = 1.
0
0 - - ODR/2
1 - - ODR/4
1-
00
1 (low noise)
0 (low latency)
ODR/50
01 ODR/100
10 ODR/9
11 ODR/400
1
(high-pass path)
(2)
2. The bandwidth column is related to the slope filter if HPCF_XL[1:0] = 00 or to the HP filter if
HPCF_XL[1:0] = 01/10/11.
--
00
0
ODR/4
01 ODR/100
10 ODR/9
11 ODR/400
Table 74. CTRL9_XL register
DEN_X DEN_Y DEN_Z DEN_XL_G 0
(1)
1. This bit must be set to ‘0’ for the correct operation of the device.
SOFT_EN 0
(1)
0
(1)
Table 75. CTRL9_XL register description
DEN_X
DEN value stored in LSB of X-axis. Default value: 1
(0: DEN not stored in X-axis LSB; 1: DEN stored in X-axis LSB)
DEN_Y
DEN value stored in LSB of Y-axis. Default value: 1
(0: DEN not stored in Y-axis LSB; 1: DEN stored in Y-axis LSB)
DEN_Z
DEN value stored in LSB of Z-axis. Default value: 1
(0: DEN not stored in Z-axis LSB; 1: DEN stored in Z-axis LSB)
DEN_XL_G
DEN stamping sensor selection. Default value: 0
(0: DEN pin info stamped in the gyroscope axis selected by bits [7:5];
1: DEN pin info stamped in the accelerometer axis selected by bits [7:5])
SOFT_EN
Enable soft-iron correction algorithm for magnetometer
(1)
. Default value: 0
(0: soft-iron correction algorithm disabled;
1: soft-iron correction algorithm enabled)
1. This bit is effective if the IRON_EN bit of MASTER_CONFIG (1Ah) and the FUNC_EN bit of CTRL10_C
(19h) are set to 1.










