поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN3393 датащи(PDF) 94 Page - STMicroelectronics

номер детали AN3393
подробное описание детали  This document is intended to provide information
PDF  103 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3393 датащи(HTML) 94 Page - STMicroelectronics

Back Button AN3393 Datasheet HTML 90Page - STMicroelectronics AN3393 Datasheet HTML 91Page - STMicroelectronics AN3393 Datasheet HTML 92Page - STMicroelectronics AN3393 Datasheet HTML 93Page - STMicroelectronics AN3393 Datasheet HTML 94Page - STMicroelectronics AN3393 Datasheet HTML 95Page - STMicroelectronics AN3393 Datasheet HTML 96Page - STMicroelectronics AN3393 Datasheet HTML 97Page - STMicroelectronics AN3393 Datasheet HTML 98Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 94 / 103 page
background image
First-in first-out (FIFO) buffer
AN3393
94/103
DocID018750 Rev 4
read the FIFO content at any time because it is maintained unchanged until Bypass mode is
selected. The read is composed of a 32-sample set of 6 bytes for a total of 192 bytes and
retrieves data starting from the oldest sample stored in FIFO (F0). The overrun interrupt and
the OVRN bit are reset when the first sample set has been read. The Bypass mode setting
resets FIFO and allows the user to enable FIFO mode again.
10.3.3
Stream mode
In Stream mode FIFO continues filling and when the buffer is full, the FIFO index restarts
from the beginning and older data is replaced by the current. The oldest values continue to
be overwritten until a read operation frees FIFO slots. Host processor reading speed is most
important in order to free slots faster than new data is made available. FMODE[2:0] Bypass
configuration is used to stop this mode.
Follow these steps for FIFO mode configuration:
1.
Turn on FIFO by setting the FIFO_EN bit to “1” in control register 6 (25h). After this
operation the FIFO buffer is enabled but isn’t collecting data, output registers are
frozen to the last samples set loaded.
2.
Set overrun or watermark interrupt through P1_OVERRUN and P1_WTM bits in
CTRL_REG6 (25h).
3.
Activate Stream mode by setting the FMODE[2:0] field to “010” in the FIFO control
register (2Eh).
As described for the FIFO mode, data can be retrieved when the interrupt overrun event
occurs, by performing a 32-sample set read of the output registers. Data can be retrieved
also on the watermark interrupt event, when the application requires a lower number of
samples.
Figure 30. Stream mode fast reading behavior
In Stream mode, the FIFO buffer fills continuously (from F0 to F31) at the selected output
data rate. When the buffer is full, the OVRN flag goes high and the recommended solution is
to read all FIFO samples (192 bytes) faster than 1*ODR in order to free FIFO slots for the
new acceleration data. This allows avoiding loss of data and limits intervention by the host
processor which increases system efficiency. Three different cases can be observed:



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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