English
Language : 

LSM330 Datasheet, PDF (23/75 Pages) STMicroelectronics – Power-down and sleep modes
LSM330
Functionality
4.2.6
4.2.7
4.2.8
Stream-to-FIFO mode
In Stream-to-FIFO mode FIFO behavior changes according to an interrupt generated by the
configuration of the two state machines using the INT_SM1 and INT_SM2 bits in the STAT
(18h) register.
When the INT_SM1, INT_SM2 bits in the STAT (18h) register are equal to '1', FIFO operates
in FIFO mode. When the INT_SM1, INT_SM2 bits in the STAT (18h) register are equal to '0',
FIFO operates in Stream mode.
Bypass-to-Stream mode
In Bypass-to-Stream mode, the FIFO starts operating in Bypass mode and once a trigger
event occurs (STAT (18h), the FIFO starts operating in Stream mode.
Retrieving data from FIFO
FIFO data is read from OUT_X_L_A (28h) and OUT_X_H_A (29h), OUT_Y_L_A (2Ah) and
OUT_Y_H_A (2Bh) and OUT_Z_L_A (2Ch) and OUT_Z_H_A (2Dh). When the FIFO is in
Stream, Stream-to-FIFO mode or FIFO mode, a read operation from the OUT_X_L_A (28h)
and OUT_X_H_A (29h), OUT_Y_L_A (2Ah) and OUT_Y_H_A (2Bh) or OUT_Z_L_A (2Ch)
and OUT_Z_H_A (2Dh) 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 (28h) and
OUT_X_H_A (29h), OUT_Y_L_A (2Ah) and OUT_Y_H_A (2Bh) and OUT_Z_L_A (2Ch)
and OUT_Z_H_A (2Dh) registers and both single read and read_burst operations can be
used.
DocID023426 Rev 3
23/75
75