| Motore di ricerca datesheet componenti elettronici |
|
FT812Q-R Scheda tecnica(PDF) 35 Page - Bridgetek Pte Ltd. |
|
|
|||||||||||||||||||||||||||||
FT812Q-R Scheda tecnica(HTML) 35 Page - Bridgetek Pte Ltd. |
|
35 / 63 page ![]() Copyright © Bridgetek Pte Ltd 35 FT81X Embedded Video Engine Datasheet Version 1.4 Document No.: BRT_000002 Clearance No.: BRT#004 4.7.3 Compatibility mode The CTSE reads the X and Y coordinates from the CTPM and writes to register REG_CTOUCH_RAW_XY. If the touch screen is not being pressed, both registers read 65535 (FFFFh). These touch values are transformed into screen coordinates using the matrix in registers REG_CTOUCH_TRANSFORM_A-F. The post-transform coordinates are available in register REG_CTOUCH_SCREEN_XY. If the touch screen is not being pressed, both registers read -32768 (8000h). The values for REG_CTOUCH_TRANSFORM_A-F may be computed using an on-screen calibration process. If the screen is being touched, the screen coordinates are looked up in the screen's tag buffer, delivering a final 8-bit tag value, in REG_TOUCH_TAG. Because the tag lookup takes a full frame, and touch coordinates change continuously, the original (x; y) used for the tag lookup is also available in REG_TOUCH_TAG_XY. 4.7.4 Extended mode Setting REG_CTOUCH_EXTENDED to 1b’0 enables extended mode. In extended mode a new set of readout registers are available, allowing gestures and up to five touches to be read. There are two classes of registers: control registers and status registers. Control registers are written by the MCU. Status registers can be read out by the MCU and the FT81x’s hardware tag system. The five touch coordinates are packed in REG_CTOUCH_TOUCH0_XY, REG_CTOUCH_TOUCH1_XY, REG_CTOUCH_TOUCH2_XY, REG_CTOUCH_TOUCH3_XY, REG_CTOUCH4_X and REG_CTOUCH4_Y. Coordinates stored in these registers are signed 16-bit values, so have range -32768 to 32767. The no- touch condition is indicated by x=y= -32768. These coordinates are already transformed into screen coordinates based on the raw data read from the CTPM, using the matrix in registers REG_CTOUCH_TRANSFORM_A-F. To obtain raw (x,y) coordinates read from CTPM, the user sets the REG_CTOUCH_TRANSFORM_A-F registers to the identity matrix. The FT81x tag mechanism is implemented by hardware, where up to 5 tags can be looked up. 4.7.5 Short-circuit protection For resistive touch it is useful to protect the chip from permanent damage due to potential short-circuits on the 4 XY lines. When a short circuit on the touch screen happens, the FT81x can detect it and stop the touch detection operation, leaving the 4 XY pins in the high impedance state. The short-circuit protection can be enabled/disabled by the REG_TOUCH_CONFIG. 4.7.6 Capacitive touch configuration On capacitive touch system some users may need to adjust the CTPM default values, such as the registers affecting touch sensitivity. To do this the following sequence shall be executed once after chip reset: - Hold the touch engine in reset (set REG_CPURESET = 2) - Write the CTPM configure register address and value to FT81x designated memory location - Up to 10 register address/value can be added - Release the touch engine reset (set REG_CPURESET = 0) The CTPM can be enabled in low power state when the touch function is not required by the application. Setting the low-power bit in REG_TOUCH_CONFIG will enable the low power mode of the CTPM. When the low-power bit is cleared, the FT81x touch engine will send a reset to the CTPM, thus re-enabling the touch detection function. |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |