Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

AN3308 Fiches technique(PDF) 25 Page - STMicroelectronics

No de pièce AN3308
Description  This document describes the low-voltage 3-axis digital output linear MEMS accelerometer provided in an LGA package
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3308 Fiches technique(HTML) 25 Page - STMicroelectronics

Back Button AN3308 Datasheet HTML 21Page - STMicroelectronics AN3308 Datasheet HTML 22Page - STMicroelectronics AN3308 Datasheet HTML 23Page - STMicroelectronics AN3308 Datasheet HTML 24Page - STMicroelectronics AN3308 Datasheet HTML 25Page - STMicroelectronics AN3308 Datasheet HTML 26Page - STMicroelectronics AN3308 Datasheet HTML 27Page - STMicroelectronics AN3308 Datasheet HTML 28Page - STMicroelectronics AN3308 Datasheet HTML 29Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 52 page
background image
AN3308
Inertial interrupt
Doc ID 18198 Rev 1
25/52
6.4
Free-fall detection
Free-fall detection refers to a specific configuration of INT1_CTRL registers that allows to
recognize when the device is free falling: the acceleration measure along all the axes goes
to zero. In a real case a “free-fall zone” is defined around the zero-g level where all the
accelerations are small enough to generate the interrupt (Figure 10).
Figure 10.
Free-fall interrupt
This paragraph provides the basics for the use of the free-fall detection feature. In particular,
the SW routine that configures the device to detect free-fall events and to signal them is the
following:
1
Write A7h into CTRL_REG1
// Turn on the sensor, enable X, Y, and Z
// ODR = 100 Hz
2
Write 00h into CTRL_REG2
// High-pass filter disabled
3
Write 40h into CTRL_REG3
// Interrupt driven to INT1 pad
4
Write 00h into CTRL_REG4
// FS = 2 g
5
Write 08h into CTRL_REG5
// Interrupt latched
6
Write 16h into INT1_THS
// Set free-fall threshold = 350 mg
7
Write 03h into INT1_DURATION
// Set minimum event duration
8
Write 95h into INT1_CFG
// Configure free-fall recognition
9
Poll INT1 pad; if INT1 = 0 then go to 10
// Poll INT1 pin waiting for the free-fall event
10
(Free-fall event has occurred; insert your
code here)
// Event handling
11
Read INT1_SRC register
// Clear interrupt request
12
Go to 9



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


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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