English
Language : 

LSM6DB0 Datasheet, PDF (27/66 Pages) STMicroelectronics – 3D accelerometer, 3D gyroscope and signal processor
LSM6DB0
xi,yi,zi
Accelerometer and gyroscope functionality
Figure 10. FIFO mode
x0
yi0
z0
x1
y1
z1
x2
y2
z2
x31
y31
z31
7.2.3
Continuous mode
Continuous mode (FIFO_CTRL (2Eh)(FMODE[2:0] = 110) provides a continuous FIFO
update: as new data arrives, the older is discarded.
A FIFO threshold flag FIFO_SRC (2Fh)(FTH) is asserted when the number of unread
samples in FIFO is greater than or equal to FIFO_CTRL (2Eh)(FTH4:0).
It is possible to route FIFO_SRC (2Fh)(FTH) to the INT1 pin by writing the INT_FTH bit to ‘1’
in register INT1_CTRL (0Ch).
A full-flag interrupt can be enabled, INT1_CTRL (0Ch) (INT_ FSS5)= '1', when the FIFO
becomes saturated and in order to read the contents all at once.
If an overrun occurs, the oldest sample in FIFO is overwritten and the OVRN flag in
FIFO_SRC (2Fh) is asserted.
In order to empty the FIFO before it is full, it is also possible to pull from FIFO the number of
unread samples available in FIFO_SRC (2Fh) (FSS[5:0]).
Figure 11. Continuous mode
xi,yi,zi
x0
y0
z0
x1
y1
z1
x2
y2
z2
x30
y30
z30
x31
y31
z31
DocID025603 Rev 1
27/66
66