Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4650 Datasheet(PDF) 40 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) 40 Page - STMicroelectronics

Back Button AN4650 Datasheet HTML 36Page - STMicroelectronics AN4650 Datasheet HTML 37Page - STMicroelectronics AN4650 Datasheet HTML 38Page - STMicroelectronics AN4650 Datasheet HTML 39Page - STMicroelectronics AN4650 Datasheet HTML 40Page - STMicroelectronics AN4650 Datasheet HTML 41Page - STMicroelectronics AN4650 Datasheet HTML 42Page - STMicroelectronics AN4650 Datasheet HTML 43Page - STMicroelectronics AN4650 Datasheet HTML 44Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 40 / 102 page
background image
Interrupt generation
AN4650
40/102
DocID027415 Rev 1
4.3
Wake-up interrupt
In the LSM6DS3 device the wake-up feature can be implemented using either the slope
filter (see Section 2.6.1 for more details) or the high-pass digital filter, as illustrated in
Figure 2. The filter to be applied can be selected using the SLOPE_FDS bit of the
TAP_CFG register: if this bit is set to 0 (default value), the slope filter is used; if it’s set to 1,
the high-pass digital filter is used.
The wake-up interrupt signal is generated if a certain number of consecutive filtered data
exceed the configured threshold (Figure 12).
The unsigned threshold value is defined using the WK_THS[5:0] bits of the WAKE_UP_THS
register; the value of 1 LSB of these 6 bits depends on the selected accelerometer full scale:
1 LSB = (FS_XL)/(26). The threshold is applied to both positive and negative data: for a
wake-up interrupt generation, the module of the filtered data must be bigger than the
threshold.
The duration parameter defines the minimum duration of the wake-up event to be
recognized; its value is set using the WAKE_DUR[1:0] bits of the WAKE_UP_DUR register:
1 LSB corresponds to 1*ODR_XL time, where ODR_XL is the accelerometer output data
rate. It is important to appropriately define the duration parameter to avoid unwanted wake-
up interrupts due to spurious spikes of the input signal.
This interrupt signal can be driven to the two interrupt pins setting to 1 the INT1_WU bit of
the MD1_CFG register or the INT2_WU bit of the MD2_CFG register; it can also be checked
by reading the WU_IA bit of the WAKE_UP_SRC register. The X_WU, Y_WU, Z_WU bits of
the WAKE_UP_SRC register indicate which axis has triggered the wake-up event.
If latch mode is disabled (LIR bit of TAP_CFG is set to 0), the interrupt signal is
automatically reset when the filtered data falls below the threshold. If latch mode is enabled
and the wake-up interrupt signal is driven to the interrupt pins, once a wake-up event has
occurred and the interrupt pin is asserted, it must be reset by reading the WAKE_UP_SRC
register. If the latch mode is enabled but the interrupt signal is not driven to the interrupt
pins, the latch feature does not take effect.
Figure 12. Wake-up interrupt (using the slope filter)



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