Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4505 Datasheet(PDF) 40 Page - STMicroelectronics

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

AN4505 Datasheet(HTML) 40 Page - STMicroelectronics

Back Button AN4505 Datasheet HTML 35Page - STMicroelectronics AN4505 Datasheet HTML 36Page - STMicroelectronics AN4505 Datasheet HTML 37Page - STMicroelectronics AN4505 Datasheet HTML 38Page - STMicroelectronics AN4505 Datasheet HTML 39Page - STMicroelectronics AN4505 Datasheet HTML 40Page - STMicroelectronics AN4505 Datasheet HTML 41Page - STMicroelectronics AN4505 Datasheet HTML 42Page - STMicroelectronics AN4505 Datasheet HTML 43Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 40 / 43 page
background image
First-in first-out (FIFO) buffer
AN4505
40/43
DocID026441 Rev 1
6.5
Retrieving data from FIFO
When FIFO is enabled and the mode is different than Bypass, reading output registers (28h
to 2Dh) return the oldest FIFO sample set.
Whenever the 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 release room for a new sample
reception and the output registers load the current oldest value stored in the FIFO buffer.
The whole FIFO content is retrieved by performing thirty two 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 the
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 lower 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 read would be performed faster than 1*ODR which 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 25. FIFO reading diagram - WTM[4:0] = 10 (hex)
In Figure 25 “Rx” indicates a 6-byte read operation and “F0*” represents a single ODR slot
stretched for 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


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