전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

AN2989 데이터시트(PDF) 24 Page - STMicroelectronics

부품명 AN2989
상세설명  high performance ultra low-power 3-axis accelerometer
PDF  28 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2989 데이터시트(HTML) 24 Page - STMicroelectronics

Back Button AN2989 Datasheet HTML 20Page - STMicroelectronics AN2989 Datasheet HTML 21Page - STMicroelectronics AN2989 Datasheet HTML 22Page - STMicroelectronics AN2989 Datasheet HTML 23Page - STMicroelectronics AN2989 Datasheet HTML 24Page - STMicroelectronics AN2989 Datasheet HTML 25Page - STMicroelectronics AN2989 Datasheet HTML 26Page - STMicroelectronics AN2989 Datasheet HTML 27Page - STMicroelectronics AN2989 Datasheet HTML 28Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 24 / 28 page
background image
Interrupt generation
AN2989
24/28
Doc ID 15761 Rev 1
Figure 11.
Free-fall interrupt
This paragraph provides the fundamentals for using the free-fall detection feature. In
particular, the software routine which configures the device to detect and signal free-fall
events is as follows:
The code sample exploits a threshold set at 350 mg for free-fall recognition and the event is
notified by the hardware signal INT1. At step 5, the INT1_DURATION register is configured
to ignore events that are shorter than 3/DR = 3/100 ~= 30 ms in order to avoid false
detections.
Once the free-fall event has occurred, a read at the INT1_SRC register clears the request
and the device is ready to recognize other events.
5.6
6D direction
The LIS331DLM features an advanced capability to detect the orientation of the device in
space. The 6D direction function can be enabled through the AOI and 6D bits of the
INT1_CFG register (Table 3). When configured for the 6D function, the ZH, ZL, YH, YL, XH,
1
write 2Fh 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 04h into CTRL_REG3
// Latched interrupt on INT1
4
write 16h into INT1_THS
// Set free-fall threshold = 350 mg
5
write 03h into INT1_DURATION
// Set minimum event duration
6
write 95h into INT1_CFG
// Configure free-fall recognition
7
poll INT1 pad; if INT1 = 0 then goto 8
// Poll INT1 pin waiting for the free-fall event
8
(Free-fall event has occurred; insert your
code here)
// Event handling
9
read INT1_SRC register
// Clear interrupt request
10
goto 7



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


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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