Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2381 Datasheet(PDF) 37 Page - STMicroelectronics

Part # AN2381
Description  low voltage linear accelerometer
PDF  47 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2381 Datasheet(HTML) 37 Page - STMicroelectronics

Back Button AN2381 Datasheet HTML 33Page - STMicroelectronics AN2381 Datasheet HTML 34Page - STMicroelectronics AN2381 Datasheet HTML 35Page - STMicroelectronics AN2381 Datasheet HTML 36Page - STMicroelectronics AN2381 Datasheet HTML 37Page - STMicroelectronics AN2381 Datasheet HTML 38Page - STMicroelectronics AN2381 Datasheet HTML 39Page - STMicroelectronics AN2381 Datasheet HTML 40Page - STMicroelectronics AN2381 Datasheet HTML 41Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 37 / 47 page
background image
AN2381
Application information
37/47
6
Application information
6.1
Start-up sequence
Once the device is powered-up it automatically downloads the calibration coefficients from
the embedded flash to the internal registers. When the boot procedure is completed, i.e.
approximately after 5 milli-seconds, the device automatically enters power-down mode.
To turn-on the device and gather acceleration data it is necessary to write C7h inside
CTRL_REG1. With this command the three acceleration channels (i.e. X, Y and Z axis) are
enabled.
6.2
Reading acceleration data
6.2.1
Using the Status Register
The device is provided with a STATUS_REG which should be polled to check when a new
set of data is available. The reading procedure should be the following:
The check performed at step 3 allows to understand whether the reading rate is adequate
compared to the data production rate. In case one or more acceleration samples have been
overwritten by new data because of a reading rate too slow, the bit STATUS_REG(7) will be
set to 1.
The overrun bit are automatically cleared when all the data present inside the device have
been read and new data have not been produced in the meanwhile.
6.2.2
Using the Data-Ready Signal
The device may be configured to have one HW signal (RDY, pin #6) to determinate when a
new set of measurement data is available for reading. This signal is represented by
STATUS_REG(3) content. The signal is active high (data available) and it returns to logic
zero when the higher part of the data of all the enabled channels have been read. To use the
RDY signal, it is necessary to set the CTRL_REG2 to xxxx 01xx.
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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47


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