поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN4650 датащи(PDF) 28 Page - STMicroelectronics

номер детали AN4650
подробное описание детали  This document is intended to provide usage information
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4650 датащи(HTML) 28 Page - STMicroelectronics

Back Button AN4650 Datasheet HTML 24Page - STMicroelectronics AN4650 Datasheet HTML 25Page - STMicroelectronics AN4650 Datasheet HTML 26Page - STMicroelectronics AN4650 Datasheet HTML 27Page - STMicroelectronics AN4650 Datasheet HTML 28Page - STMicroelectronics AN4650 Datasheet HTML 29Page - STMicroelectronics AN4650 Datasheet HTML 30Page - STMicroelectronics AN4650 Datasheet HTML 31Page - STMicroelectronics AN4650 Datasheet HTML 32Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 102 page
background image
Reading output data
AN4650
28/102
DocID027415 Rev 1
3
Reading output data
3.1
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 accelerometer and gyroscope automatically enter
Power-Down mode.
To turn on the accelerometer and gather acceleration data, it is necessary to select one of
the operating modes through the CTRL1_XL register and to enable at least one of the axes
through CTRL9_XL.
The following general-purpose sequence can be used to configure the accelerometer:
To turn on the gyroscope and gather angular rate data, it is necessary to select one of the
operating modes through the CTRL2_G register and to enable at least one of the axes
through CTRL10_C.
The following general-purpose sequence can be used to configure the gyroscope:
3.2
Using the status register
The device is provided with a STATUS_REG register which should be polled to check when
a new set of data is available. The XLDA bit is set to 1 when a new set of data is available at
accelerometer output; the GDA bit is set to 1 when a new set of data is available at
gyroscope output.
For the accelerometer (the gyroscope is similar), the reads should be performed as follows:
1
Write CTRL9_XL = 38h
// Acc X, Y, Z axes enabled
2
Write CTRL1_XL = 60h
// Acc = 416Hz (High-Performance mode)
3
Write INT1_CTRL = 01h
// Acc Data Ready interrupt on INT1
1
Write CTRL10_C = 38h
// Gyro X, Y, Z axes enabled
2
Write CTRL2_G = 60h
// Gyro = 416Hz (High-Performance mode)
3
Write INT1_CTRL = 02h
// Gyro Data Ready interrupt on INT1
1
Read STATUS
2
If XLDA = 0, then go to 1
3
Read OUTX_L_XL
4
Read OUTX_H_XL
5
Read OUTY_L_XL
6
Read OUTY_H_XL
7
Read OUTZ_L_XL
8
Read OUTZ_H_XL
9
Data processing
10
Go to 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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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