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

X  

AN2847 데이터시트(PDF) 8 Page - STMicroelectronics

부품명 AN2847
상세설명  This document provides application information for the low-voltage 3-axis digital output
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2847 데이터시트(HTML) 8 Page - STMicroelectronics

Back Button AN2847 Datasheet HTML 4Page - STMicroelectronics AN2847 Datasheet HTML 5Page - STMicroelectronics AN2847 Datasheet HTML 6Page - STMicroelectronics AN2847 Datasheet HTML 7Page - STMicroelectronics AN2847 Datasheet HTML 8Page - STMicroelectronics AN2847 Datasheet HTML 9Page - STMicroelectronics AN2847 Datasheet HTML 10Page - STMicroelectronics AN2847 Datasheet HTML 11Page - STMicroelectronics AN2847 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 31 page
background image
Start-up sequence
AN2847
8/31
Doc ID 15136 Rev 2
2.1
Reading acceleration data
2.1.1
Using the status register
The device features a STATUS_REG register which should be polled to check when a new
set of data is available. The reading procedure is the following:
The check performed at step 3 determines whether the reading rate is adequate compared
to the data production rate. In cases where one or more acceleration samples have been
overwritten by new data due to an excessively slow reading rate, the ZYXOR bit of the
STATUS_REG register is set to 1.
The overrun bits are automatically cleared when all the data present inside the device have
been read and new data have not been produced in the meantime.
2.1.2
Using the data-ready signal
The device may be configured to have one HW signal to determine when a new set of
measurement data is available for reading. This signal is represented by the XYZDA bit of
the STATUS_REG register. The signal can be driven to the INT1 or INT2 pins and its polarity
set to active-low or active-high through the CTRL_REG3 register. The interrupt is reset
when the higher part of the data of all the enabled channels has been read.
2.1.3
Using the block data update feature
If the reading of the acceleration data is particularly slow and cannot be (or does not need to
be) synchronized with either the XYZDA bit within the STATUS_REG or with the RDY signal,
it is strongly recommended to set the BDU (block data update) bit in CTRL_REG4 to 1.
This feature prevents the need to read the values (most significant and least significant parts
of the acceleration data) related to different samples. In particular, when the BDU is
activated, the data registers related to each channel always contain the most recent
acceleration data produced by the device. But if the reading of a given pair (i.e. OUTX_H
and OUTX_L, OUTY_H and OUTY_L, OUTZ_H and OUTZ_L) is initiated, the refresh for
that pair is blocked until both the MSB and LSB parts of the data are read.
1
read STATUS_REG
2
if STATUS_REG(3) = 0 then goto 1
3
if STATUS_REG(7) = 1 then some data have been overwritten
4
read OUTX_L
5
read OUTX_H
6
read OUTY_L
7
read OUTY_H
8
read OUTZ_L
9
read OUTZ_H
10
data processing
11
goto 1



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


데이터시트 다운로드

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