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

X  

AN3393 датащи(PDF) 46 Page - STMicroelectronics

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

AN3393 датащи(HTML) 46 Page - STMicroelectronics

Back Button AN3393 Datasheet HTML 42Page - STMicroelectronics AN3393 Datasheet HTML 43Page - STMicroelectronics AN3393 Datasheet HTML 44Page - STMicroelectronics AN3393 Datasheet HTML 45Page - STMicroelectronics AN3393 Datasheet HTML 46Page - STMicroelectronics AN3393 Datasheet HTML 47Page - STMicroelectronics AN3393 Datasheet HTML 48Page - STMicroelectronics AN3393 Datasheet HTML 49Page - STMicroelectronics AN3393 Datasheet HTML 50Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 103 page
background image
State machine
AN3393
46/103
DocID018750 Rev 4
DCC = DCC -1
When DCC is equal to 0, the current sample is used as new input for State Machine 2.
DCC = DES2 (initial decimation value)
5.4.2
DIFF calculation
This function is available only in State Machine 2. It is a data process method which
calculates:
1.
diff2 - difference between current data (X, Y, Z) and previous data.
2.
cs - difference between current data (X, Y, Z) and constant shift registers.
diff2:
Previous samples (X,Y,Z) selected for calculations
Diff2 = current measured - previous sample
After calculation, the new samples are moved to the previous samples and the “old”
previous samples are discarded.
cs:
Constant shift acts like temporary offset shift. Constant shift initial values (stored in registers
13h, 14h and 15h) are used to calculate DIFF results:
cs = current measured - constant shift
To enable DIFF calculation on State Machine 2, bits RADI and D_CS must be set in the
SETT2 register (7Bh).
Note:
DIFF calculation is not applied to the vector data (V). It is applied to (X, Y, Z) data only.
5.5
State machine description
A state machine is a set of defined states, with inputs, outputs and transitions between
states. In the LIS3DSH accelerometer, two state machines are available. They can run
either independently or synchronized, but always using the same input data.
For each new data sample, the State Machine 1 is performed first, then State Machine 2
with the same common internal input data.
Input data are not changed during state machine executions. Calculation results are stored
in temporary parameters.
A simple state machine is shown in Figure 8.



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