Electronic Components Datasheet Search
  English  ▼

X  

AN4650 Datasheet(PDF) 92 Page - STMicroelectronics

Part # AN4650
Description  This document is intended to provide usage information
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4650 Datasheet(HTML) 92 Page - STMicroelectronics

Back Button AN4650 Datasheet HTML 88Page - STMicroelectronics AN4650 Datasheet HTML 89Page - STMicroelectronics AN4650 Datasheet HTML 90Page - STMicroelectronics AN4650 Datasheet HTML 91Page - STMicroelectronics AN4650 Datasheet HTML 92Page - STMicroelectronics AN4650 Datasheet HTML 93Page - STMicroelectronics AN4650 Datasheet HTML 94Page - STMicroelectronics AN4650 Datasheet HTML 95Page - STMicroelectronics AN4650 Datasheet HTML 96Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 92 / 102 page
background image
First-in first-out (FIFO) buffer
AN4650
92/102
DocID027415 Rev 1
8.6
FIFO threshold
The FIFO threshold is a functionality of the LSM6DS3 FIFO which can be used to check
when the number of samples in the FIFO reaches a defined threshold level.
The bits FTH_[11:0] in the FIFO_CTRL1 and FIFO_CTRL2 registers contain the threshold
level. The resolution of the FTH_[11:0] field is two bytes (1 LSB = 2 Bytes, each sample is
represented as 16-bit data). So, the user can select the desired level in a range between 0
and 4095.
The bit FTH in the FIFO_STATUS2 register represents the watermark status. This bit is set
high if after the next FIFO write operation the number of samples in the FIFO reaches or
exceeds the watermark level (each sample is represented as 16-bit data). When the FIFO is
configured in Continuous mode or in Bypass-to-Continuous mode, the FTH bit can be used
to catch when the number of samples in the FIFO reaches the threshold level. In the other
FIFO modes, the FIFO_FULL bit in the FIFO_STATUS2 register has to be used for this
purpose.
FIFO size can be limited to the threshold level by setting the STOP_ON_FTH bit in the
CTRL4_C register to 1.
Figure 29. FIFO threshold (STOP_ON_FTH = 0)
Figure 29 shows an example of FIFO threshold level usage when just accelerometer (or
gyroscope) data are stored. The STOP_ON_FTH bit set to 0 in the CTRL4_C register. The
threshold level is set to 21 through the FTH[11:0] bits. The FTH bit of the FIFO_STATUS2
register rises after the level 21 has been reached (21 samples in the FIFO). Since, the
STOP_ON_FTH bit is set to 0, the FIFO will not stop at the 21st sample, but will keep storing
data until the FIFO_FULL flag is set high.



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 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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