English
Language : 

LSM330DLC Datasheet, PDF (22/66 Pages) STMicroelectronics – iNEMO inertial module: 3D accelerometer and 3D gyroscope
Functionality
LSM330DLC
4.2.5
4.2.6
Stream-to-FIFO mode
In Stream-to-FIFO mode, data from X, Y and Z measurement is stored in the FIFO. A
watermark interrupt can be enabled (FIFO_WTMK_EN bit in the FIFO_CTRL_REG_A
register) in order to be raised when the FIFO is filled to the level specified in the
FIFO_WTMK_LEVEL bits of the FIFO_CTRL_REG_A register. The FIFO continues filling
until it is full (32 slots of 8 -bit data for X, Y and Z). When full, the FIFO discards the older
data as the data new arrives. Once trigger event occurs, the FIFO starts operating in FIFO
mode.
Retrieve data from FIFO
FIFO data is read through OUT_X_L_A, OUT_X_H_A, OUT_Y_L_A, OUT_Y_H_A and
OUT_Z_L _A, OUT_Z_H_A. When the FIFO is in Stream, Trigger or FIFO mode, a read
operation to the OUT_X_L_A, OUT_X_H_A, OUT_Y_L_A, OUT_Y_H_A or OUT_Z_L _A,
OUT_Z_H_A registers provides the data stored in the FIFO. Each time data is read from the
FIFO, the oldest X, Y and Z data are placed in the OUT_X_L_A, OUT_X_H_A,
OUT_Y_L_A, OUT_Y_H_A and OUT_Z_L _A, OUT_Z_H_A registers and both single read
and read_burst operations can be used.
4.3
Gyroscope digital main blocks
Figure 5. Gyroscope block diagram
Out_Sel
00
01 DataReg
0
FIFO
LPF2
10
32x16x3
11
ADC LPF1
HPF
1
I2C
SPI
HPen
INT_Sel
10
11
Interrupt
01
generator
00
SCR REG
CONF REG
INT1
AM07230v1
22/66
Doc ID 022162 Rev 2