Electronic Components Datasheet Search
  English  ▼

X  

AN4650 Datasheet(PDF) 85 Page - STMicroelectronics

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

AN4650 Datasheet(HTML) 85 Page - STMicroelectronics

Back Button AN4650 Datasheet HTML 81Page - STMicroelectronics AN4650 Datasheet HTML 82Page - STMicroelectronics AN4650 Datasheet HTML 83Page - STMicroelectronics AN4650 Datasheet HTML 84Page - STMicroelectronics AN4650 Datasheet HTML 85Page - STMicroelectronics AN4650 Datasheet HTML 86Page - STMicroelectronics AN4650 Datasheet HTML 87Page - STMicroelectronics AN4650 Datasheet HTML 88Page - STMicroelectronics AN4650 Datasheet HTML 89Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 85 / 102 page
background image
DocID027415 Rev 1
85/102
AN4650
First-in first-out (FIFO) buffer
102
Follow these steps for Continuous-to-FIFO mode configuration (if the
accelerometer/gyroscope data-ready is used as the FIFO trigger):
1.
Configure one of the events as previously described;
2.
Choose the decimation factor for each sensor through the decimation bits in the
FIFO_CTRL3 and FIFO_CTRL4 registers (see Section 8.3 for details);
3.
Choose the FIFO ODR through the ODR_FIFO_[3:0] bits in the FIFO_CTRL5 register;
4.
Set the FIFO_MODE_[2:0] bits in the FIFO_CTRL5 register to 011b to enable FIFO
Continuous-to-FIFO mode.
In Continuous-to-FIFO mode the FIFO buffer continues filling; when the buffer is full, the
FIFO_FULL bit is set high.
If the STOP_ON_FTH bit of the CTRL4_C register is set to 1, the FIFO size is limited to the
value of the FTH_[11:0] bits in the FIFO_CTRL1 and FIFO_CTRL2 registers: in this case,
the FIFO_FULL bit of the FIFO_STATUS2 register is set high when the number of samples
in FIFO will reach or exceed the FTH_[11:0] value on the next FIFO write operation.
When the trigger event occurs, two different cases can be observed:
1.
If the FIFO buffer is already full (FIFO_FULL = 1), it stops collecting data at the first
sample after the event trigger. The FIFO content is composed of the samples collected
before the event.
2.
If FIFO buffer is not full yet (initial transient), it continues filling until it becomes full
(FIFO_FULL = 1) and then, if the trigger is still present, it stops collecting data.
Continuous-to-FIFO can be used in order to analyze the history of the samples which have
generated an interrupt; the standard operation is to read the FIFO content when the FIFO
mode is triggered and the FIFO buffer is full and stopped.
8.2.5
Bypass-to-Continuous mode
This mode is a combination of the Bypass and Continuous modes previously described. In
Bypass-to-Continuous mode, the FIFO buffer starts operating in Bypass mode and switches
to Continuous mode when a trigger condition occurs.
The event condition can be one of the following:
Significant Motion: event detection has to be configured and the INT1_SIG_MOT bit of
the INT1_CTRL register has to be set to 1;
Tilt: event detection has to be configured and the INT2_TILT bit of the MD2_CFG
register has to be set to 1;
Step detection: event detection has to be configured and the INT1_STEP_DETECTOR
bit of the INT1_CTRL register has to be set to 1;
Single tap: event detection has to be configured and the INT2_SINGLE_TAP bit of
MD2_CFG register has to be set to 1;
Double tap: event detection has to be configured and the INT2_DOUBLE_TAP bit of
the MD2_CFG register has to be set to 1;
Free-fall: event detection has to be configured and the INT2_FF bit of the MD2_CFG
register has to be set to 1;
Wake-up: event detection has to be configured and the INT2_WU bit of the MD2_CFG
register has to be set to 1;
6D: event detection has to be configured and the INT2_6D bit of the MD2_CFG register
has to be set to 1.



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


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