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

X  

AN3393 데이터시트(PDF) 75 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) 75 Page - STMicroelectronics

Back Button AN3393 Datasheet HTML 71Page - STMicroelectronics AN3393 Datasheet HTML 72Page - STMicroelectronics AN3393 Datasheet HTML 73Page - STMicroelectronics AN3393 Datasheet HTML 74Page - STMicroelectronics AN3393 Datasheet HTML 75Page - STMicroelectronics AN3393 Datasheet HTML 76Page - STMicroelectronics AN3393 Datasheet HTML 77Page - STMicroelectronics AN3393 Datasheet HTML 78Page - STMicroelectronics AN3393 Datasheet HTML 79Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 75 / 103 page
background image
DocID018750 Rev 4
75/103
AN3393
Peak detection
103
8
Peak detection
The purpose of this function is to memorize the absolute highest peak value reached by any
axis during the state machine execution and set the temporary axis mask (TMASK
described in Section 7.3) to follow the axis with the highest peak value.
The peak detection function is available both in State Machine 1 and in State Machine 2.
The two different absolute peak values are stored respectively in the PEAK1 (19h) and
PEAK2 (1Ah) registers. To enable peak detection, the P_DET bit in the SETTy register must
be set to 1.
Peak detection is a separate and optional function of the available opcode commands. In
order to find the peak value, this function always implements a “greater than” condition and
converts the measured value to an absolute number.
Figure 15 shows an example of peak detection.
Figure 15. Peak detection example
The example starts with the following settings:
–
MASK1 = F0h (+-x enabled, +-y enabled);
–
P_DET = 1 in the SETT1 register (Peak detection enabled on State Machine 1);
–
ABS = 0 in the SETT1 register (Unsigned threshold);
–
TMASK1 = 0 (Temporary mask default value).
In the first phase (State 1), the NEXT condition (GNTH1 in this case) is evaluated. Since the
positive Y-axis shows the absolute maximum value, the temporary mask (TMASK1)
contains +y and the absolute peak value is stored in the PEAK1 register.
AM14781V1



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



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