Electronic Components Datasheet Search
  English  ▼

X  

AN3308 Datasheet(PDF) 43 Page - STMicroelectronics

Part # AN3308
Description  This document describes the low-voltage 3-axis digital output linear MEMS accelerometer provided in an LGA package
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3308 Datasheet(HTML) 43 Page - STMicroelectronics

Back Button AN3308 Datasheet HTML 39Page - STMicroelectronics AN3308 Datasheet HTML 40Page - STMicroelectronics AN3308 Datasheet HTML 41Page - STMicroelectronics AN3308 Datasheet HTML 42Page - STMicroelectronics AN3308 Datasheet HTML 43Page - STMicroelectronics AN3308 Datasheet HTML 44Page - STMicroelectronics AN3308 Datasheet HTML 45Page - STMicroelectronics AN3308 Datasheet HTML 46Page - STMicroelectronics AN3308 Datasheet HTML 47Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 52 page
background image
AN3308
First in first out (FIFO) buffer
Doc ID 18198 Rev 1
43/52
If both bits are set to “1”, the INT1 pin status is the logical OR combination of the two
signals.
9.3
FIFO modes
The LIS3DH FIFO buffer can be configured to operate in four different modes selectable by
the FM[1:0] field in FIFO_CTRL_REG. Available configurations ensure a high-level of
flexibility and extend the number of functions usable in application development.
Bypass, FIFO, Stream, and Stream-to-FIFO modes are described in the following
paragraphs.
9.3.1
Bypass mode
When bypass mode is enabled, FIFO is not operational: buffer content is cleared, output
registers (0x28 to 0x2D) are frozen at the last value loaded, and the FIFO buffer remains
empty until another mode is selected.
Follow these steps for bypass mode configuration:
1.
Turn on FIFO by setting the FIFO_En bit to “1” in control register 5 (0x24). After this
operation the FIFO buffer is enabled but isn’t collecting data, output registers are frozen
to the last samples set loaded.
2.
Activate bypass mode by setting the FN[1:0] field to “00” in the FIFO control register
(0x2E). If this mode is enabled, FIFO source register (0x2F) is forced equal to 0x20.
Bypass mode must be used in order to stop and reset the FIFO buffer when a different mode
is operating. Note that placing the FIFO buffer into bypass mode clears the whole buffer
content.
9.3.2
FIFO mode
In FIFO mode, the buffer continues filling until full (32 sample set stored,) then it stops
collecting data and the FIFO content remains unchanged until a different mode is selected.
Follow these steps for FIFO mode configuration:
1.
Turn on FIFO by setting the FIFO_En bit to “1” in control register 5 (0x24). After this
operation the FIFO buffer is enabled but isn’t collecting data, output registers are frozen
to the last samples set loaded.
2.
Activate FIFO mode by setting the FN[1:0] field to “01” in the FIFO control register
(0x2E).
By selecting this mode, FIFO starts data collection and source register (0x2F) changes
according to the number of samples stored. At the end of the procedure, the source register
is set to 0xDF and the OVRN flag generates an interrupt if the I1_OVRN bit is selected in
control register 5. Data can be retrieved when OVRN is set to”1”, performing a 32 sample
set reading from the output registers, data can be retrieved also on the WTM flag instead of
OVRN if the application requires a lower number of samples. Communication speed is not
so important in FIFO mode because data collection is stopped and there is no risk of
overwriting acquired data. Before restarting FIFO mode, at the end of the reading procedure
it is necessary to transit from bypass mode.
A FIFO mode application hint is reported below:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com