| 전자부품 데이터시트 검색엔진 |
|
AN2927 데이터시트(PDF) 7 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2927 데이터시트(HTML) 7 Page - STMicroelectronics |
|
7 / 12 page ![]() AN2927 Firmware implementation 7/12 3.1.2 Oversampling The purpose of oversampling is to provide a final measurement of the input voltage high and low levels (VIH and VIL) with the precision of the CPU clock. Each successive VIH or VIL measurement is delayed by one CPU clock cycle in order to span all the possible values. The number of measurements necessary to span all the values are MCU core dependant. For STM8 microcontrollers, this number is equal to 8. Figure 6 illustrates this concept on an STM8 microcontroller Figure 6. Input voltage measurements 3.2 Input voltage measurement principle In order to improve the robustness against voltage and temperature variations, two measurements are performed consecutively on the electrodes: the first one measures the capacitance charge until the VIH level is reached. The second measures the capacitance discharge until the VIL level is reached. Figure 7 and table below illustrate what happens in detail on the acquisition electrode (Acq I/O) and on the Load I/O pin. Figure 7. Capacitance charge/discharge measurements VIH crossing VIH Detected here CPU frequency Sampling point for eight successive measurements Eight successive measurements are delayed to sweep the crossing point area t VIL VIH VDD “Acq I/O” pin “Load I/O” pin 1 2 3 4 5 1 GND |
|
|
링크 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 |