Advertisement

GT911 Programming Guide
(Applicable to firmware of version 1040 or later)
====== Disclaimer ======
The information concerning the device and the like in this publication is intended for you only and is subject
to change without prior notice. It is your responsibility to ensure its application complies with technical
specifications. Shenzhen Huiding Technology Co., Ltd. (hereafter referred to as "GOODIX") makes no
representation or guarantee for this information, either expressed or implied, written or verbal, statutory or
otherwise including but not limited to representation or guarantee for its application, quality, performance,
merchantability or fitness for a particular purpose. GOODIX shall assume no responsibility for this
information and relevant consequences arising out of the use of such information. Without written consent of
GOODIX, it is prohibited to use GOODIX products as critical components in any life support system. This
document conveys no licenses, implicitly or otherwise, to any intellectual property rights belonging to
GOODIX.
GOODIX CONFIDENTIAL
1
Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GT911 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Goodix GT911

  • Page 1 GOODIX, it is prohibited to use GOODIX products as critical components in any life support system. This document conveys no licenses, implicitly or otherwise, to any intellectual property rights belonging to GOODIX. GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 2: Table Of Contents

    Reading Coordinate in Gesture Mode ....................... 31 Time Limit for Downloading HotKnot Firmware ..................... 31 10. Revision History ..............................31 GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 3: Description On Interface

    The INT pin of the host can be rising/falling-edge Triggered. In addition, when INT is in input state, the host should set INT to be floating, with no internal pull-up or pull-down; the host controls the RESET pin of the GT911 by outputting high or low level.
  • Page 4: Timing For Read Operation

    NACK: Host issues NACK after reading the last byte. After setting read operation register addresses, the host can read one or more than one byte at a time. GT911 will automatically increase register address and send subsequent data in sequence.
  • Page 5: Configuration Information (R/W)

    X coordinate output threshold: 0-255 (Based on the last reported coordinates; If configured to 0, GT911 will 0x8057 x_threshold keep outputting coordinates continuously) Y coordinate output threshold: 0-255 (Based on the last reported coordinates. If configured to 0, GT911 will keep 0x8058 y_threshold outputting coordinates continuously)
  • Page 6 Leave_Level. The level applicable to Charge mode= original level+configuration level. When configuration level is 0, the charging level equals to the original level. GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 7 (Conditions for selecting optimal 0x807E Threshold Fast_Hopping_Limit*4. The minimum setting of this limit frequency: Current operating frequency interference- Minimum interference>Set GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 8 Seg6 Normalize coefficient (sampling value *N / 128= Raw data) malize 0x8093 Key 1 Key 1 address: 0-255 valid GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 9 400K signal gain calibration, calibration volume 450K signal gain calibration, calibration volume 0x80A6 Freq_Gain0 is N/16. Invalid when N=0. is N/16. Invalid when N=0. GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 10 Supplementary description on some registers: [0x804D] Module_Switch1 Bit7:Driver_Resersal(Y2Y), configured as 1 indicates Y axis reversal. Bit6:Sensor_Resersal(X2X), configured as 1 indicates X axis reversal. GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 11 [0x807C] Noise_Detect_Times Bit7~6: Detect_Stay_Times, Number of tests taken on each frequency point in each noise test; recommended setting is 2. GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 12 [0x80A3] Pxy_Threshold If the HotKnot proximity sensing function is enabled when LCD is on, employ differential method to filter GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 13: Coordinate Information

    (7) pitch. 3.3 Coordinate information Addr Access bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 14 2 y coordinate (high byte) 0x8164 point 2 size (low byte) 0x8165 point 2 size (high byte) 0x8166 Reserved 0x8167 track id GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 15 After reading coordinates, host should configure this flag (or the entire byte) to 0 via I GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 16 When HotKnot proximity sensing function is enabled and another HotKnot-featured terminal is detected, GT911 will report the detection result to the host in coordinates. Therefore, the Number of touch points will add 1. The track id of the added touch point is fixed to 32, and Pxyos is set to 1. Please note that the address of the added touch point is fixed to the address of the first coordinate.
  • Page 17: Command Status Registers Of Gt911

    GT911_Status: 0x00: touch detection mode; 0x88: slave approach mode; 0x81A8 0x99:master approach mode;0xAA:Receive mode; GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 18 GT911 to enter slave approach mode (works as receiving terminal). In this mode, hotkont proximity sensing and touch detection alternate. When successfully detect the transmitting terminal, GT911 will report the detection result to the host in coordinates (track id is 32). The host can issue command 0X28 to enable GT911 to exit slave approach mode.
  • Page 19: Hotknot Status Registers

    And GT911 will implement the command. Otherwise, it will wait for 2.5s. Supplementary description on some registers: The data read from this area is valid only when GT911 operates in Receive Mode or Send Mode, that is to say, only when GT911_Status is 0xAA or 0xBB.
  • Page 20 0x03: indicates GT911 has received a data frame successfully and has sent it to the Receive Buffer. GT911 will notify the host to process the data via INT. After reading the data in Receive Buffer, the host has to write a number other than AA to 0xAB1F.
  • Page 21: Hotknot Transmit Buffer

    Data_Fresh data updated flag (0xAA written by the host) Supplementary description on some registers: This area can be written only when GT911 operates in Receive Mode, that is to say, GT911_Status is 0xAA. Otherwise, unpredictable results will occur. [0xAC90] DataLength The maximum capacity of a data frame supported by HotKnot is 128 Bytes;...
  • Page 22: Hotknot Receive Buffer

    The host writes data to other addresses before writing 0xAA to 0xAD91; that is to say, the host sets the Transmit Buffer flushed flag; after GT911 finds the flag, it will check whether the data in the Transmit Buffer passes the verification. If the data passes the verification, GT911 will switch to Send Mode and start transmission immediately;...
  • Page 23: Power-On Initialization And Modification On Register Value

    4. Power-on Initialization and Modification on Register Value 4.1 Power-On Timing of GT911 After power-on, the host needs to control such GT911 pins as AVDD, VDDIO, INT and Reset according to the timing sequence shown below: GOODIX CONFIDENTIAL...
  • Page 24: I 2 C Address Selection During Power-On Or Reset Process

    Whether host outputs high or low after INT T2 depends on which I2C slave device address the host employs to communicate with GT911. If the address is 0x28/0x29, host outputs high; if the address is 0xBA/0xBB, host outputs low. Timing for host resetting GT911: 4.2 I...
  • Page 25: Send Configuration After Power-On

    1. Based on the time sequence indicated in section 2, the host first reads register 0x814E. If the data in buffer is GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
  • Page 26 (0x814E) to 0. After output rising-edge in step 2, if the host fails to finish reading coordinates within one cycle, GT911 will output one INT pulse again instead of update coordinates even if it detects that the coordinate is updated.
  • Page 27: Operation Modes Switchover

    When no touch is detected for a certain period (0s~15s, subject to configuration, one step is 1s) in Normal mode, GT911 will enter Green mode to reduce power consumption. Green( Low Power) mode In Green mode, the scanning cycle for GT911 is about 40ms. It automatically enters Normal mode if any touch is detected. GOODIX CONFIDENTIAL...
  • Page 28: C) Gesture Mode

    In Gesture mode, when GT911 detects any double-tap on TP, INT will output high level or a pulse that is greater than 250us. The host wakes up and turns on the screen after receiving such high level or pulse.
  • Page 29: E) Approach Mode

    When the receiving process is complete, GT911 verifies the data. If GT911 finds erroneous data, the receiving process begins again. If the data is found to be correct, GT911 notifies the host via INT to read data in the Receive Buffer.
  • Page 30: Host System Driver Modification In Gesture Mode

    In Sleep mode, host can be awakened only by pressing Power key (or Home key). 7.3 Press Power (or Home) key to wake up host Press power key (or Home key) in any mode to wake up the host. And then, host resets GT911 based on reset timing sequence and executes reset process.
  • Page 31: Reading Coordinate In Gesture Mode

    10KHz, for example, 325Khz. 10. Revision History Revision Date Description Rev.00 2014-08-04 Preliminary version GOODIX CONFIDENTIAL Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.

Table of Contents

Save PDF