Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN4662 Datasheet(PDF) 13 Page - STMicroelectronics

Part # AN4662
Description  This document describes the low-voltage 3-axis digital output linear MEMS accelerometer provided
PDF  43 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4662 Datasheet(HTML) 13 Page - STMicroelectronics

Back Button AN4662 Datasheet HTML 9Page - STMicroelectronics AN4662 Datasheet HTML 10Page - STMicroelectronics AN4662 Datasheet HTML 11Page - STMicroelectronics AN4662 Datasheet HTML 12Page - STMicroelectronics AN4662 Datasheet HTML 13Page - STMicroelectronics AN4662 Datasheet HTML 14Page - STMicroelectronics AN4662 Datasheet HTML 15Page - STMicroelectronics AN4662 Datasheet HTML 16Page - STMicroelectronics AN4662 Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 43 page
background image
AN4662
Startup sequence
3
Startup 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.
after approximately 20 milliseconds, the device automatically enters power-down mode. To
turn on the device and gather acceleration data, it is necessary to select one of the Active
modes (Table 2: "Data rate configuration") and to enable at least one of the axes through
the CTRL1 register.
The following general-purpose sequence can be used to configure the device:
1.
Write CTRL1 = 3Fh
// X, Y, Z, enabled, ODR = 100 Hz, BDU enabled
2.
Write CTRL3 = 01h
// Data Ready Interrupt on INT1
3.1
Reading acceleration data
3.1.1
Using the status register
The device is provided with a STATUS register which should be polled to check when a
new set of data is available. The read procedure should be the following:
1.
Read STATUS
2.
If STATUS(ZYXDA) == 0 then go to 1
3.
If STATUS(ZYXOR) == 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.
Go to 1
The check performed at step #3 allows understanding whether the read rate is adequate
compared to the data production rate. If one or more acceleration samples have been
overwritten by new data, due to a slow read rate, the ZYXOR bit of STATUS register is set
to 1.
The overrun bits are automatically cleared when all the data present inside the output
registers have been read and new data have not been produced in the meantime.
DocID027579 Rev 1
13/43



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


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