English
Language : 

LSM6DSM Datasheet, PDF (92/113 Pages) STMicroelectronics – always-on 3D accelerometer and 3D gyroscope
Register description
LSM6DSM
10.90
CTRL_OIS (70h)
Only SPI2 can write to this register (r/w).
BLE_
OIS
LVL1_
OIS
Table 215. CTRL_OIS register
SIM_
OIS
OIS_XL FS1_G_
_EN
OIS
FS0_G_
OIS
FS_125_ OIS_EN_
OIS
SPI2
BLE_OIS
LVL1_OIS
SIM_OIS
OIS_XL_EN
FS[1:0]_
G_OIS
FS_125
_OIS
OIS_EN_
SPI2
Table 216. CTRL_OIS register description
Big/Little Endian data selection. Default value: 0
(0: output LSbyte at lower register address;
1: output LSbyte at higher register address)
Enables level-sensitive trigger mode on OIS chain. Default value: 0
SPI1 3- or 4-wire mode. Default value: 0
(0: 4-wire SPI1; 1: 3-wire SPI1)
Enable accelerometer OIS chain. Default value: 0
(0: disable; 1: enable)
Gyroscope OIS chain full-scale selection.
(00: 245 dps;
01: 500 dps;
10: 1000 dps;
11: 2000 dps)
Selects gyroscope’s UI chain full scale 125 dps
(0: FS selected through bits FS[1:0]_OIS_G;
1 = 125 dps)
Enables OIS chain data processing.
When the OIS chain is enabled, the OIS outputs are available through the SPI2 in
registers 22h-27h and 1Eh register, and LPF1 is dedicated to this chain.
DEN mode selection can be done using the LVL1_OIS bit of register CTRL_OIS (70h) and
the LVL2_OIS bit of register INT_OIS (6Fh).
DEN mode on the OIS path is active in the gyroscope only.
LVL1_OIS, LVL2_OIS
10
11
Table 217. DEN mode selection
DEN mode
Level-sensitive trigger mode is selected
Level-sensitive latched mode is selected
92/113
DocID028165 Rev 2