background image

 

GOODIX CONFIDENTIAL 

Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.

 

 

30

7. Host System Driver Modification in Gesture Mode 

7.1 Enter Gesture mode after screen-off 

a) If screen-off is achieved by pressing Power key (or any other key), send Command 8 to 0x8046, then to 
0x8040; 

b) If screen-off is achieved due to timeout, send Command 8 to 0x8046, then to 0x8040; 

c) When the screen is off, if there is swipe, double-tap or writing of specified lower-case letters on TP, the 
INT pin will output a high level or a pulse that is greater than 250us to notify the host. The host reads the 
data at 0x814B after receiving such pulse. If the data meets wake-up conditions, the host wakes up, then 
resets GT911 and turns on the screen. Otherwise, the host resets 0x814B and waits for the next pulse or high 
level. 

7.2 Enter Sleep Mode after screen-off 

a) If screen-off is achieved by pressing Power key (or any other key), send Command 5 to 0x8040 ; 

b) If screen-off is achieved due to timeout, send Command 5 to 0x8040 ; 

c) 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. 

7.4 Recommended to apply in conjunction with IR 

If  gesture  wake-up  function is  applied  in  conjunction  with  IR, the host  can  enable  GT911  to enter  Sleep 
mode to reduce power consumption when IR detects shielding object while screen-off. Otherwise, GT911 
enters  Gesture  mode.  To  enter  different  modes,  use  the  methods  listed  above  (reset  is  required  before 
sending command). 

7.5 Hardware circuit modification 

When debugging, connect RC circuit to INT pin in series (R: 680 , C: 1nF) as shown below: 

C

B

R1

INT

C1

 

Connect B to GT911 INT and C to host INT; pull-up resistor connected to host INT is not required. 

 

Summary of Contents for GT911

Page 1: ...ology 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...

Page 2: ...Value 23 4 1 Power On Timing of GT911 23 4 2 I2 C Address Selection during Power on or Reset Process 24 4 3 Send Configuration after Power on 25 4 4 Register Value Modification 25 5 Coordinates Readi...

Page 3: ...e edges of SCL and SDA are steep enough GT911 invariably serves as slave device in communication and its I2 C device address consists of 7 device address bits and 1 Read Write control bit The high 7 b...

Page 4: ...nication has to be resent 3 Register Map 3 1 Real time command Write only Addr Name bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0x8040 Command 0 Read coordinates status 1 Read diff data or raw data 2 Read...

Page 5: ...ing edge 01 falling edge 02 Low level 03 High level 0x804E Module_ switch2 Reserved FirstFilte r_Dis Reserved Approch_ En HotKnot _En Touch_ Key 0x804F Shake_Count De jitter frequency when touch is be...

Page 6: ...Multiplier Factor of drive frequency of Driver Group B GroupB_Frequence Clock Multiplier Factor Fundamental Frequency 0x8067 Pannel_ BitFreqL Fundamental Frequency of Driver Groups A and B 1526HZ Fund...

Page 7: ...V Double ta p Swipe down 0x8077 Gesture_Refresh_R ate Report rate in Gesture mode period is 5 ms 0x8078 Gesture_Touch_ Level Touch threshold in Gesture mode 0x8079 NewGreenWake UpLevel Threshold for...

Page 8: ...0x8082 Hopping_Sensor_G roup Sections for Hopping Frequency Noise Detection 4 sections recommended 0x8083 Hopping_seg1_Nor malize Seg1 Normalize coefficient sampling value N 128 Raw data 0x8084 Hoppi...

Page 9: ...efficient of Key 2 0x809B Key_Sens KeySens_3 sensitivity coefficient of Key 3 KeySens_4 sensitivity coefficient of Key 4 0x809C Key_Restrain The key restrain interval after finger leaves screen unit 1...

Page 10: ...ed 0x80B2 NC Reserved 0x80B3 Combine_Dis Distance for adjacent rectangles to be combined in Gesture mode Distance for adjacent rectangles to be combined 0x80B4 Split_Set Distance for a large area rect...

Page 11: ...area is 15 32 480 original coordinates one Pitch consists of 512 original coordinates if the cutting exceeds one Pitch it is allowed to subtract one Pitch from the configuration 0x8070 Module_Switch3...

Page 12: ...et value x4 then the optical frequency is selected and frequency hopping is enabled 0x809A 0x809B Key_Sens The sensitivity coefficient configuration of 4 independent touch keys can be configured to 0...

Page 13: ...stance for adjacent rectangles to be combined in Gesture mode 0 to 15 configurable the distance for adjacent touch points to be combined is calculated as sqrt 2 Combin_Dis pitch For backward compatibi...

Page 14: ...Reserved 0x814E R W buffer status large detect Proximity Valid HaveKey number of touch points 0x814F R track id is 32 indicates the signal is proximity sensing signal 0x8150 R PxyOk Reserved 0x8151 R...

Page 15: ...8177 R track id 0x8178 R point 5 x coordinate low byte 0x8179 R point 5 x coordinate high byte 0x817A R point 5 y coordinate low byte 0x817B R point 5 y coordinate high byte 0x817C R point 5 size low...

Page 16: ...f the key will be 0x8177 Gesture Features share the addresses with the coordinate information Addr Access bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0x8140 R Gesture ID first Byte ASCII G 0x8141 R Gestur...

Page 17: ...R Gesture P2 X coor high byte 0x8163 R Gesture P2 Y coor low byte 0x8164 R Gesture P2 Y coor high byte 0x8165 R Gesture P3 X coor low byte 0x8166 R Gesture P3 X coor high byte 0x8167 R Gesture P3 Y c...

Page 18: ...es track id is 32 The host can issue command 0X29 to enable GT911 to exit master approach mode 0xAA When GT911 successfully detect another hotknot featured terminal the host downloads and sends the ho...

Page 19: ...ry 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 0xAB10 SendStatus Thi...

Page 20: ...ecting data from the transmitting terminal but no valid signal has been detected yet 0x02 indicates GT911 has detected the start signal and is receiving data 0x03 indicates GT911 has received a data f...

Page 21: ...k If the values are different the host will read the values again 2ms later 3 6 HotKnot Transmit Buffer Addr Access bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0xAC90 W DataLength valid data length 129 by...

Page 22: ...0xAE92 0xAE93 R Crc16Check data CRC16 verification Please note that it should stay behind the data not fixed in this address big edian mode Supplementary description on some registers The data in thi...

Page 23: ...cData unsigned short Crc16 unsigned char SrcData unsigned char length unsigned short crc 0xFFFF unsigned char i j unsigned char value bit flag bit c15 for i 0 i length i value SrcData i for j 0 j 8 j...

Page 24: ...0x29 host outputs high if the address is 0xBA 0xBB host outputs low Timing for host resetting GT911 4 2 I2 C address selection during power on or reset process GT911 supports two I2 C slave device ad...

Page 25: ...When modifying any register in the configuration area 0x8047 0x80FE based on the timing sequence as specified in section 2 it is required to update Config_Chksum 0x80FF and eventually set Config_Fresh...

Page 26: ...al output take the rising edge triggered interrupt for example The timing for falling edge triggered interrupt is similar to this one 1 In standby mode INT outputs low level 2 Output rising edge when...

Page 27: ...ble GT911 operates in Normal mode If no touch is detected within that period GT911 enters Low Power mode low speed scan a Normal Mode When GT911 is operating in Normal mode its fastest coordinates ref...

Page 28: ...any writing of specified lower case letters on the 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 pul...

Page 29: ...er the two terminals have detected each other Then the host downloads and sends HotKnot transmission firmware to enable GT911 to enter Receive mode f Receive Mode When GT911 operates in Approach mode...

Page 30: ...vel 7 2 Enter Sleep Mode after screen off a If screen off is achieved by pressing Power key or any other key send Command 5 to 0x8040 b If screen off is achieved due to timeout send Command 5 to 0x804...

Page 31: ...And then it reads the registers ranged from 0x9420 to 0x951F based on the principle that every four register correspond to one touch point Finally the host can describe the real touch trajectory of us...

Reviews: