| 전자부품 데이터시트 검색엔진 |
|
AN3393 데이터시트(PDF) 75 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3393 데이터시트(HTML) 75 Page - STMicroelectronics |
|
75 / 103 page ![]() 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 |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |