English
Language : 

LSM6DSM Datasheet, PDF (79/113 Pages) STMicroelectronics – always-on 3D accelerometer and 3D gyroscope
LSM6DSM
Register description
10.52
SENSORHUB12_REG (39h)
Twelfth byte associated to external sensors. The content of the register is consistent with
the SLAVEx_CONFIG number of read operation configurations (for external sensors from
x = 0 to x = 3).
Table 137. SENSORHUB12_REG register
SHub12_7 SHub12_6 SHub12_5 SHub12_4 SHub12_3 SHub12_2 SHub12_1 SHub12_0
Table 138. SENSORHUB12_REG register description
SHub12[7:0] Twelfth byte associated to external sensors
10.53
FIFO_STATUS1 (3Ah)
FIFO status control register (r). For a proper reading of the register, it is recommended to set
the BDU bit in CTRL3_C (12h) to 1.
DIFF_
FIFO_7
DIFF_
FIFO_6
Table 139. FIFO_STATUS1 register
DIFF_
DIFF_
DIFF_
DIFF_
FIFO_5 FIFO_4 FIFO_3 FIFO_2
DIFF_
FIFO_1
DIFF_
FIFO_0
Table 140. FIFO_STATUS1 register description
DIFF_FIFO_[7:0] Number of unread words (16-bit axes) stored in FIFO(1).
1. For a complete number of unread samples, consider DIFF_FIFO [10:8] in FIFO_STATUS2 (3Bh)
10.54
FIFO_STATUS2 (3Bh)
FIFO status control register (r). For a proper reading of the register, it is recommended to set
the BDU bit in CTRL3_C (12h) to 1.
WaterM OVER_RUN
Table 141. FIFO_STATUS2 register
FIFO_FULL_
SMART
FIFO_
EMPTY
0
DIFF_ DIFF_ DIFF_
FIFO_10 FIFO_9 FIFO_8
WaterM
OVER_RUN
FIFO_FULL_
SMART
FIFO_EMPTY
DIFF_FIFO_[10:8]
Table 142. FIFO_STATUS2 register description
FIFO watermark status. The watermark is set through bits FTH_[7:0] in
FIFO_CTRL1 (06h). Default value: 0
(0: FIFO filling is lower than watermark level(1);
1: FIFO filling is equal to or higher than the watermark level)
FIFO overrun status. Default value: 0
(0: FIFO is not completely filled; 1: FIFO is completely filled)
Smart FIFO full status. Default value: 0
(0: FIFO is not full; 1: FIFO will be full at the next ODR)
FIFO empty bit. Default value: 0
(0: FIFO contains data; 1: FIFO is empty)
Number of unread words (16-bit axes) stored in FIFO(2).
1. FIFO watermark level is set in FTH_[10:0] in FIFO_CTRL1 (06h) and FIFO_CTRL2 (07h)
2. For a complete number of unread samples, consider DIFF_FIFO [7:0] in FIFO_STATUS1 (3Ah)
DocID028165 Rev 2
79/113
113