Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

AN4650 Datasheet(PDF) 74 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) 74 Page - STMicroelectronics

Back Button AN4650 Datasheet HTML 70Page - STMicroelectronics AN4650 Datasheet HTML 71Page - STMicroelectronics AN4650 Datasheet HTML 72Page - STMicroelectronics AN4650 Datasheet HTML 73Page - STMicroelectronics AN4650 Datasheet HTML 74Page - STMicroelectronics AN4650 Datasheet HTML 75Page - STMicroelectronics AN4650 Datasheet HTML 76Page - STMicroelectronics AN4650 Datasheet HTML 77Page - STMicroelectronics AN4650 Datasheet HTML 78Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 74 / 102 page
background image
First-in first-out (FIFO) buffer
AN4650
74/102
DocID027415 Rev 1
In order to increase the number of samples which can be stored in the FIFO, it is also
possible to store (as 1st FIFO data set) only the 8 most significant bits of the accelerometer
and gyroscope data by setting the bit ONLY_HIGH_DATA in the FIFO_CTRL4 register.
Writing data in the FIFO can be triggered by the accelerometer/gyroscope data-ready; it can
also be triggered by the sensor hub data-ready (corresponding to the behavior of the
SENSORHUB_END_OP bit of FUNC_SRC register): in this case the
DATA_VALID_SEL_FIFO bit of the MASTER_CONFIG register must be set to 1. Moreover,
if DATA_VALID_SEL_FIFO is set to 0 and the TIMER_PEDO_FIFO_DRDY bit of the
FIFO_CTRL2 register is set to 1, the data are stored in FIFO every time a step is detected.
8.1
FIFO registers
The FIFO buffer is managed by:
five control registers (from FIFO_CTRL1 to FIFO_CTRL5);
four status registers (from FIFO_STATUS1 to FIFO_STATUS4);
two data output registers (FIFO_DATA_OUT_L and FIFO_DATA_OUT_H);
some additional bits to enable threshold usage (STOP_ON_FTH) and route FIFO full,
threshold or overrun events to the two interrupt lines (bits: INT1_FULL_FLAG,
INT2_FULL_FLAG, INT1_FTH, INT2_FTH, INT1_FIFO_OVR, INT2_FIFO_OVR).
8.1.1
FIFO_CTRL1 (06h)
The FIFO_CTRL1 register contains the lower part of the 12-bit FIFO threshold level. For the
complete threshold level configuration, consider also the FTH_[11:8] bits of the
FIFO_CTRL2 register. The value of the FIFO threshold level is referred to data having 16-bit
format.
The FIFO watermark flag (FTH bit in FIFO_STATUS2 register) rises when the number of
bytes stored in the FIFO is equal to or higher than the threshold level.
In order to limit the FIFO depth to the watermark level, the STOP_ON_FTH bit must be set
to 1 in the CTRL4_C register.
Table 53. FIFO_CTRL1 register
b7
b6
b5
b4
b3
b2
b1
b0
FTH_7
FTH_6
FTH_5
FTH_4
FTH_3
FTH_2
FTH_1
FTH_0



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