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

X  

AN4450 датащи(PDF) 17 Page - STMicroelectronics

номер детали AN4450
подробное описание детали  Hardware and software guidelines for use of LPS25H pressure sensor
PDF  26 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4450 датащи(HTML) 17 Page - STMicroelectronics

Back Button AN4450 Datasheet HTML 13Page - STMicroelectronics AN4450 Datasheet HTML 14Page - STMicroelectronics AN4450 Datasheet HTML 15Page - STMicroelectronics AN4450 Datasheet HTML 16Page - STMicroelectronics AN4450 Datasheet HTML 17Page - STMicroelectronics AN4450 Datasheet HTML 18Page - STMicroelectronics AN4450 Datasheet HTML 19Page - STMicroelectronics AN4450 Datasheet HTML 20Page - STMicroelectronics AN4450 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 26 page
background image
DocID025978 Rev 1
17/26
AN4450
Using FIFO modes
26
5
Using FIFO modes
5.1
Effective use of the FIFO
The LPS25H embeds a 32-slot x 24 bit FIFO for pressure data coming from the registers
that normally feed PRESS_OUT (@ 0x28/0x29/0x2A). It allows lower frequency of serial
bus transactions and provides more time to collect all measurements taken.
The FIFO buffer is enabled by setting FIFO_EN to 1 (bit[6] in CTRL_REG2) and can work in
4 different main modes: Bypass Mode, FIFO Mode, Stream Mode and FIFO Mean Mode.
Each mode is selected by the 3 FIFO_MODE bits in FIFO_CTRL register.
Watermark level (P1_WTM), FIFO_empty (P1_EMPTY), FIFO_full (P1_Overrun) or
DATA_Ready (P1_DRDY) events can be enabled (in register CTRL_REG4 (0x23)) to
generate dedicated interrupts on the INT1 pin (provided that bit[1:0] of register CTRL_REG3
(0x22) are configured “00” to select Data Signal).
When FIFO is enabled temperature data must be read separately from pressure data. The
temperature readout is always referred to the last pressure data in the FIFO, as no FIFO is
available for temperature data. The register auto-increment “rounding” is then different
depending on FIFO_EN status, as shown in the picture below.
Figure 8. Auto-increment rounding depending on FIFO_EN
To switch FIFO on/off, the bypass mode must be used. Switching the FIFO on/off only using
the FIFO_en bit of register CTRL_REG2 would cause a wrong FIFO behavior.
5.1.1
Accessing the FIFO data
FIFO data is read through PRESS_OUT registers (0x28/0x29/0x2A). When FIFO is in
stream, trigger (i.e. state change on trigger) or FIFO mode, a read operation to the
PRESS_OUT registers provides the data stored in the FIFO. When in FIFO mean mode it is
not possible to read the data in the buffer, only the final averaged value will be available in
PRESS_OUT registers at the end of the process done with the selected speed (see
Section 5.1.5
).
Each time data is read from the FIFO, the oldest entry is placed in the PRESS_OUT
registers and both single read and multiple read operations can be used.



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


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

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