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

X  

AN3393 датащи(PDF) 96 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) 96 Page - STMicroelectronics

Back Button 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 AN3393 Datasheet HTML 99Page - STMicroelectronics AN3393 Datasheet HTML 100Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 96 / 103 page
background image
First-in first-out (FIFO) buffer
AN3393
96/103
DocID018750 Rev 4
shifted into the output registers in order to allow the next read operation. In the case of a
read slower than 1*ODR, some data can be retrieved from FIFO after which a new sample
is inserted into the addressed location. In Figure 32 the fourth read command starts after the
refresh of the F3 index and this generates a disconnect in the reading of data. The OVRN
flag advises the user that this event has taken place. In this example, three correct samples
have been read, the number of correctly recovered samples is dependent on the difference
between the current ODR and the FIFO sample set reading timeframe.
10.3.4
Stream-to-FIFO mode
This mode is a combination of the Stream and FIFO modes described above. In Stream-to-
FIFO mode, the FIFO buffer starts operating in Stream mode and switches to FIFO mode
when INT2 occurs.
Follow these steps for Stream-to-FIFO mode configuration:
1.
Configure State Machine 2 in order to generate interrupt on INT2.
2.
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 is not collecting data, output registers are
frozen to the last samples set loaded.
3.
Activate Stream-to-FIFO mode by setting the FMODE[2:0] field to “011” in the FIFO
control register (2Eh).
The interrupt trigger is related to the INT_SM2 bit in the STAT (18h) register and it is
generated even if the interrupt signal is not driven to an interrupt pad. A mode switch is
performed if both INT_SM2 and OVRN bits are set high. Stream-to-FIFO mode is sensitive
to the trigger level and not to the trigger edge; this means that if Stream-to-FIFO is in FIFO
mode and the interrupt condition disappears, the FIFO buffer returns to Stream mode
because the IA bit becomes zero. It is recommended to latch the interrupt signal used as the
FIFO trigger in order to avoid losing interrupt events. If the selected interrupt is latched, it is
necessary to read the OUTS2 register to clear the INT_SM2 bit; after reading, the INT_SM2
bit takes 2*ODR to go low.
In Stream mode the FIFO buffer continues filling, when the buffer is full, the OVRN bit is set
high and the next samples overwrite the oldest. When a trigger occurs, two different cases
can be observed:
1.
If the FIFO buffer is already full (OVRN = “1”), it stops collecting data at the first sample
after trigger. FIFO content is composed of #30 samples collected before the trigger
event, the sample that has generated the interrupt event and one sample after trigger.
2.
If the FIFO is still not full (initial transient), it continues filling until it gets full (OVRN =
“1”) and then, if the trigger is still present, it stops collecting data.



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