数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3308 数据表(PDF) 46 Page - STMicroelectronics

部件名 AN3308
功能描述  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
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3308 数据表(HTML) 46 Page - STMicroelectronics

Back Button 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 AN3308 Datasheet HTML 48Page - STMicroelectronics AN3308 Datasheet HTML 49Page - STMicroelectronics AN3308 Datasheet HTML 50Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 52 page
background image
First in first out (FIFO) buffer
AN3308
46/52
Doc ID 18198 Rev 1
In Figure 26, due to slow reading, data from “jj” are not retrieved because they are replaced
by the new accelerometer samples generated by the system.
Figure 27.
Stream mode slow reading zoom
After stream mode enable, FIFO slots are filled at the end of each ODR time frame. The
reading procedure must start as soon as the OVRN flag is set to “1”, data are retrieved from
FIFO at the beginning of the reading operation. When a read command is sent to the device,
the output registers content is moved to the SPI/I2C register and the current oldest FIFO
value is shifted into the output registers in order to allow the next read operation. In the case
of a reading slower than 1*ODR, some data can be retrieved from FIFO after that new
sample is inserted into the addressed location. In Figure 27 the fourth read command starts
after the refresh of the F3 index and this generates a disconnect in the reading data. The
OVRN flag advises the user that this event has taken place. In this example, three correct
samples have been read, the number of correctly recovered samples is dependent on the
difference between the current ODR and the FIFO sample set reading timeframe.
9.3.4
Stream-to-FIFO mode
This mode is a combination of the stream and FIFO modes described above. In stream-to-
FIFO mode, the FIFO buffer starts operating in stream mode and switches to FIFO mode
when the selected interrupt occurs.
Follow these steps for stream-to-FIFO mode configuration:
1.
Configure desired interrupt generator using register INT1_CFG (0x30).
2.
Set TRen bit in the FIFO control register (0x2E) according to the configured interrupt
generator: TRen = “0” in order to select interrupt 1, TRen = “1” in order to select
interrupt 2.
3.
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.
4.
Activate stream-to-FIFO mode by setting the FN[1:0] field to “11” in the FIFO control
register (0x2E).
The interrupt trigger is related to the IA bit in the INT1_SRC register and it is generated even
if the interrupt signal is not driven to an interrupt pad. Mode switch is performed if both IA
and OVRN bits are set high. Stream-to-FIFO mode is sensitive to the trigger level and not to
the trigger edge, this means that if stream-to-FIFO is in FIFO mode and the interrupt



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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