Goodix GT911 is a capacitive touch controller that uses an I2C interface to communicate with a host processor. The register map is divided into functional blocks for commands, configuration, and touch data status. I2C Communication Basics Slave Address: usually has two selectable 7-bit I2C addresses, , depending on the state of the pins during startup. Register Address Size: Unlike many simple I2C devices, the 16-bit register addresses Focus LCDs Key Register Map Blocks Address Range (Hex) Description Command Register Used to send real-time commands (e.g., reset, sleep). Configuration Registers
if(touch_count > 0) touch_data[1]; uint16_t y = ((uint16_t)touch_data[4] << 8) gt911 register map
return touch_count;
int X = ( (regs[0x8012] & 0x0F) << 8 ) | regs[0x8011]; int Y = ( (regs[0x8014] & 0x0F) << 8 ) | regs[0x8013]; Goodix GT911 is a capacitive touch controller that
Read the coordinate registers for each active point. For example, Point 1's X-coordinate is at 0x8150 (Low) and 0x8151 (High). Register Address Size: Unlike many simple I2C devices,