| 数据搜索系统,热门电子元器件搜索 |
|
LSM330 数据表(PDF) 21 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
LSM330 数据表(HTML) 21 Page - STMicroelectronics |
|
21 / 75 page ![]() DocID023426 Rev 3 21/75 LSM330 Functionality 75 Figure 5. LSM330 accelerometer state machines: sequence of state to execute an algorithm 4.2.2 FIFO LSM330 embeds 32 slots of FIFO data for each of the three acceleration output channels X, Y and Z. This allows consistent power saving for the system, since the host processor does not need to continuously poll data from the sensor, but it can wake up only when needed and burst the significant data out from the FIFO. In order to use FIFO it is necessary to enable the FIFO_EN bit in the CTRL_REG7_A (25h) register. The FIFO buffer can work accordingly in five different modes: Bypass mode, FIFO mode, Stream mode, Stream-to-FIFO mode and Bypass-to-Stream mode. Each mode is selected by the FMODE [2:0] bits in the FIFO_CTRL_REG_A (2Eh) register. Programmable watermark level, FIFO empty or FIFO overrun events can be enabled to generate dedicated interrupts on the INT1_A/INT2_A pin (configured through the INT2_EN and INT1_EN bits in the CTRL_REG4_A (23h) register). When FIFO is empty, the EMPTY bit in FIFO_SRC_REG_A (2Fh) is equal to '1' and no samples are available. If the application requires a lower number of samples, a programmable watermark level can be set. In FIFO_SRC_REG_A (2Fh) the WTM bit is high if new data arrives and the FSS [4:0] bit in FIFO_SRC_REG_A (2Fh) is greater than or equal to the WTMP [4:0] bit in the FIFO_CTRL_REG_A (2Eh) register. In FIFO_SRC_REG_A (2Fh) the WTM bit goes to '0' if reading X, Y, Z data slot from FIFO and the FSS [4:0] bit in FIFO_SRC_REG_A (2Fh) is less than or equal to the WTMP [4:0] bit in the FIFO_CTRL_REG_A (2Eh) register. When FIFO is completely full, the OVRN_FIFO bit in the FIFO_SRC_REG_A (2Fh) is equal to '1' and the FIFO slot is overwritten. State 1 State 2 next State 3 next State n next reset reset reset reset START OUTPUT/STOP/CONTINUE INT set AM14725v1 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |