English
Language : 

LSM303D Datasheet, PDF (18/52 Pages) STMicroelectronics – Embedded temperature sensor
Functionality
LSM303D
Stream mode
In Stream mode, data from X, Y and Z measurements are stored in the FIFO. A FIFO
threshold interrupt can be enabled and set as in FIFO mode.The FIFO continues filling until
it’s full. When full, the FIFO discards the older data as the new arrive.
Stream-to-FIFO mode
In Stream-to-FIFO mode, data from X, Y and Z measurements are stored in the FIFO. A
FIFO threshold interrupt can be enabled in order to be raised when the FIFO is filled to the
level specified by the internal register. The FIFO continues filling until it’s full. When full, the
FIFO discards the older data as the new arrive. Once a trigger event occurs, the FIFO starts
operating in FIFO mode.
Bypass-to-Stream mode
In Bypass-to-Stream mode, the FIFO starts operating in Bypass mode and once a trigger
event occurs (related to IG_CFG1 (30h) register events), the FIFO starts operating in
Stream mode.
Retrieving data from FIFO
FIFO data is read from the OUT_X_A, OUT_Y_A and OUT_Z_A registers. When the FIFO
is in Stream, Stream-to-FIFO, Bypass-to-Stream or FIFO mode, a read operation to the
OUT_X_A, OUT_Y_A or OUT_Z_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_A,
OUT_Y_A and OUT_Z_A registers and both single read and read_burst operations can be
used.
4.4
Factory calibration
The IC interface is factory calibrated. The trim values are stored inside the device in
nonvolatile memory. Anytime the device is turned on, the trimming parameters are
downloaded into the registers to be used during normal operation. This allows the user to
use the device without further calibration.
18/52
DocID023312 Rev 2