Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4506 Datasheet(PDF) 45 Page - STMicroelectronics

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

AN4506 Datasheet(HTML) 45 Page - STMicroelectronics

Back Button AN4506 Datasheet HTML 39Page - STMicroelectronics AN4506 Datasheet HTML 40Page - STMicroelectronics AN4506 Datasheet HTML 41Page - STMicroelectronics AN4506 Datasheet HTML 42Page - STMicroelectronics AN4506 Datasheet HTML 43Page - STMicroelectronics AN4506 Datasheet HTML 44Page - STMicroelectronics AN4506 Datasheet HTML 45Page - STMicroelectronics AN4506 Datasheet HTML 46Page - STMicroelectronics AN4506 Datasheet HTML 47Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 45 / 47 page
background image
AN4506
First-in first-out (FIFO) buffer
DocID026442 Rev 2
45/47
6.5
Retrieving data from FIFO
When FIFO is enabled and the mode is different from Bypass, reading output registers (28h
to 2Dh) returns the oldest FIFO sample set.
Whenever output registers are read, their content is moved to the SPI/I2C output buffer.
FIFO slots are ideally shifted up one level in order to create room for receiving new samples
and the output registers load the current oldest value stored in the FIFO buffer.
The entire FIFO content is retrieved by performing 32 read operations from the gyroscope
output registers, every other read operation returns the same last value until a new sample
set is available in the FIFO buffer.
Data can be retrieved from FIFO using every read byte combination in order to increase
application flexibility (ex: 196 single byte reads, 32 reads of 6 bytes, 1 multiple read of 196
bytes, etc.).
It is recommended to read all FIFO slots in a multiple byte read of 196 bytes (6 output
registers by 32 slots) faster than 1*ODR. In order to minimize communication between
master and slave the read address is automatically updated by the device; it rolls back to
0x28 when register 0x2D is reached.
In order to avoid losing data, the right ODR must be selected according to the serial
communication rate available. In the case of standard I2C mode being used (max. rate
100 kHz), a single sample set reading takes 830 μs while total FIFO download is about
17.57 ms. I2C speed is slower than SPI and it needs about 29 clock pulses to start
communication (start, slave address, device address+write, restart, device address+read)
plus an additional 9 clock pulses for every byte to read. If this recommendation were
followed, the complete FIFO reading would be performed faster than 1*ODR; this means
that using a standard I2C, the selectable ODR must be lower than 57 Hz. If a fast I2C mode
is used (max. rate 400 kHz), the selectable ODR must be lower than 228 Hz.
Figure 29. FIFO reading diagram - FTH[4:0] = 10
In Figure 29 “Rx” indicates a 6-byte reading operation and “F0*” represents a single ODR
slot expanded in the diagram.



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


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