| 数据搜索系统,热门电子元器件搜索 |
|
MPR083 数据表(PDF) 21 Page - Freescale Semiconductor, Inc |
|
|
|||||||||||||||||||||||||||||
MPR083 数据表(HTML) 21 Page - Freescale Semiconductor, Inc |
|
21 / 35 page ![]() MPR083 Sensors Freescale Semiconductor 21 Preliminary 8Calibration 8.1 Introduction The MPR083 is self-calibrating. This is done both at initial start-up of the device and during run time. 8.2 Initial Start-up Conditions Initial calibration of the MPR083 occurs every time the device resets. The first key detection cycle is used as a baseline capacitance value for all remaining calculations. Thus, a touch is detected by taking the difference between this baseline value and the current capacitance on the electrode. 8.3 Auto-Calibration The MPR083 has an auto-calibration feature. This is enabled through the Rotary Configuration Register (Section 3.4), by setting the ACE bit high. Auto calibration is done by two mechanisms. The basic auto-calibration will recalculate the baseline value after 6 sample periods. Thus the auto calibrate period can be calculate by multiplying the master clock period (in milliseconds) and the touch acquisition sample period with a factor of 64. Equation 6 If a touch is currently being detected the auto-calibration will not engage and calibration will be ignored. The device can also be calibrated when a key is being touched, this is controlled by stuck key detection. 8.4 Stuck Key Detection The Stuck Key Detection system allows the application to specify the maximum amount of time a touch should be detected before it is calibrated into the baseline and the touch is ignored. This is controlled by setting the Stuck Key Timeout multiplication factor (SKT). The timeout period can be calculated by multiplying the SKT, master clock period (in ms) and touch acquisition sample period with a factor of 64. Equation 7 When Stuck Key Detection is off a touched key will remain touched indefinitely and never be calibrated into the baseline value. 8.4.1 Stuck Key Timeout Register The Stuck Key Timeout Register is used to determine the electrode scan period of the system. The I2C slave address of the Stuck Key Timeout Register is 0x09. Figure 25. Stuck Key Timeout Register 7 6 543210 R SKT W Reset: 0 0 000000 = Unimplemented Table 15. Stuck Key Timeout Register Field Descriptions Field Description 7:0 SKT Stuck Key Timeout – The Stuck Key Timeout field selects or reports the multiplication factor that is used to determine how often electrodes are calibrated while a touch is being detected. 00000000 Encoding 0 – Turns off Stuck Key Detection 00000001 Encoding 1 – Sets the SKT multiplication factor to 2 ~ 11111111 Encoding 255 – Sets the SKT multiplication factor to 256 AutoCalibrationPeriod ms () MCP TASP × 64 × = AutoCalibrationPeriod ms () MCPTASPSKT × × 64 × = |
|
链接网址 |
| 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 |