Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button AN4650 Datasheet HTML 87Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 91 / 102 page
background image
DocID027415 Rev 1
91/102
AN4650
First-in first-out (FIFO) buffer
102
8.5.3
Example 3
Supposing the FIFO is storing data from the gyroscope, accelerometer and magnetometer
at different ODRs:
Gyroscope ODR = 104 Hz, Accelerometer ODR = 208 Hz, Magnetometer ODR = 52 Hz.
If the internal trigger (accelerometer/gyroscope data-ready) is used, it’s recommended to set
the ODR_FIFO_[3:0] bits of the FIFO_CTRL5 register to 0101b in order to set the FIFO
trigger ODR to 208 Hz.
The DEC_FIFO_GYRO[2:0] field of FIFO_CTRL3 register has to be set to 010b (decimation
with factor 2 applied to gyroscope data) and the DEC_FIFO_XL[2:0] field has to be set to
001b (no decimation applied to accelerometer data). Assuming that the magnetometer is
associated to the 3rd FIFO data set, the DEC_DS3_FIFO[2:0] field of theFIFO_CTRL4
register has to be set to 100b (decimation with factor 4 applied to magnetometer data).
The following data pattern is repeated every 21 samples:
Gx Gy Gz XLx XLy XLz Mx My Mz (gyroscope, accelerometer, magnetometer data - 9
samples)
XLx XLy XLz (accelerometer data - 3 samples)
Gx Gy Gz XLx XLy XLz (gyroscope and accelerometer data - 6 samples)
XLx XLy XLz (accelerometer data - 3 samples)
The FIFO_PATTERN_[9:0] bits will contain a number from 0 to 20, as shown in Table 73.
Table 73. Example 3: FIFO_PATTERN_[9:0] bits and next reading
Time
FIFO_PATTERN_[9:0]
Next reading from FIFO output registers
t0
0
Gx
t0
1
Gy
t0
2
Gz
t0
3
XLx
t0
4
XLy
t0
5
XLz
t0
6
Mx
t0
7
My
t0
8
Mz
t1
9
XLx
t1
10
XLy
t1
11
XLz
t2
12
Gx
t2
13
Gy
t2
14
Gz
t2
15
XLx
t2
16
XLy
t2
17
XLz
t3
18
XLx
t3
19
XLy
t3
20
XLz



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