Electronic Components Datasheet Search
  English  ▼

X  

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

Back Button AN4650 Datasheet HTML 45Page - STMicroelectronics AN4650 Datasheet HTML 46Page - STMicroelectronics AN4650 Datasheet HTML 47Page - STMicroelectronics AN4650 Datasheet HTML 48Page - STMicroelectronics AN4650 Datasheet HTML 49Page - STMicroelectronics AN4650 Datasheet HTML 50Page - STMicroelectronics AN4650 Datasheet HTML 51Page - STMicroelectronics AN4650 Datasheet HTML 52Page - STMicroelectronics AN4650 Datasheet HTML 53Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 49 / 102 page
background image
DocID027415 Rev 1
49/102
AN4650
Interrupt generation
102
This function can be fully programmed by the user in terms of expected amplitude and
timing of the slope data by means of a dedicated set of registers (Figure 17).
The unsigned threshold value is defined using the WK_THS[5:0] bits of dedicated set of
registers 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 slope data.
When a certain number of consecutive X,Y,Z slope data is smaller than the configured
threshold, the ODR_XL [3:0] bits of the CTRL1_XL register are bypassed (Inactivity) and the
accelerometer is internally set to 13 Hz although the content of CTRL1_XL is left untouched.
The duration of the Inactivity status to be recognized is defined by the SLEEP_DUR[3:0] bits
of the WAKE_UP_DUR register: 1 LSB corresponds to 512*ODR_XL time, where ODR_XL
is the accelerometer output data rate.
When the Inactivity status is detected, the interrupt is set high for 1/ODR_XL[s] period then
it is automatically deasserted.
When a certain number of consecutive slope data on one axis become bigger than the
threshold, the CTRL1_XL register settings are immediately restored (Activity). The duration
of the Activity status to be recognized is defined by 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.
When the Activity status is detected, the interrupt is set high for 1/ODR_XL[s] period then it
is automatically deasserted.
Once the Activity/Inactivity detection function is enabled, the status can be driven to the two
interrupt pins by setting to 1 the INT1_INACT_STATE bit of the MD1_CFG register or the
INT1_INACT_STATE bit of the MD2_CFG register; it can also be checked by reading the
SLEEP_STATE_IA bit of the WAKE_UP_SRC register.
Figure 17. Activity/Inactivity recognition



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