Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3393 Datasheet(PDF) 83 Page - STMicroelectronics

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

AN3393 Datasheet(HTML) 83 Page - STMicroelectronics

Back Button AN3393 Datasheet HTML 79Page - STMicroelectronics AN3393 Datasheet HTML 80Page - STMicroelectronics AN3393 Datasheet HTML 81Page - STMicroelectronics AN3393 Datasheet HTML 82Page - STMicroelectronics AN3393 Datasheet HTML 83Page - STMicroelectronics AN3393 Datasheet HTML 84Page - STMicroelectronics AN3393 Datasheet HTML 85Page - STMicroelectronics AN3393 Datasheet HTML 86Page - STMicroelectronics AN3393 Datasheet HTML 87Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 83 / 103 page
background image
DocID018750 Rev 4
83/103
AN3393
Examples of state machine configurations
103
Figure 23. Double-turn output
9.5
Double-tap
The implementation is intended to recognize the double-tap on the device.
The first two states (GNTH1 | TI1) are used to create a “pre-silence” time window, the NEXT
condition is the Timer1. If one or more axes become greater than threshold 1, the RESET
condition is satisfied and the program pointer is reset. After that there is the real first tap
detection composed of two states, the first one is composed of (NOP | GNTH2), where the
next condition is satisfied when one or more triggered axes exceed threshold 2. In the
second state (TI3 | LNTH2), it is checked whether the acceleration value on the axis
becomes lower than threshold 2 within a time defined by Timer 3. The result of these states
is to create a time window (TI3) where the acceleration is first higher, and then lower, than
threshold 2.
When the first tap has been detected, the system waits 20 ms (TI4), again doing a pre-
silence time window (GNTH1 | TI1) and starting with the second tap detection.
AM14788V1
Table 92. Register configuration for double-tap application
Register
Address
Value
CTRL_REG1
21h
01h
CTRL_REG3
23h
48h
CTRL_REG4
20h
67h
CTRL_REG5
24h
00h
TIM4_1
50h
02h
TIM3_1
51h
01h



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