GT911 address selection
INT during reset | I2C address |
|---|---|
Low | 0x5D |
High | 0x14 |
Drive RESET low for more than 10 ms, set INT to the desired level, wait more than 100 µs, release RESET, wait more than 5 ms, hold INT low for 50 ms, then set INT as an input (the sequence used by the Linux goodix driver).
Key GT911 registers
Register addresses are 16-bit.
Register | Contents |
|---|---|
| Start of the config block (byte 0 = config version) |
| X / Y resolution, little-endian 16-bit |
| Product ID as ASCII ( |
| Touch status: bit 7 = data ready, bits 0–3 = number of points; write 0 after reading |
Not detected, no touches or wrong coordinates? Work through our GT911 touch not working checklist.
GT911 library support
| Library | Driver / class | Notes |
|---|---|---|
| LovyanGFX (Arduino / ESP-IDF) | lgfx::Touch_GT911 | |
| ESP-IDF esp_lcd | espressif/esp_lcd_touch_gt911 |
LGFX_GT911.hpp. Pins are placeholders; we email updates when we add tested configurations.
Dev boards using GT911
Guides & comparisons
GT911 Touch Not Working? I2C Address, Reset Timing, Config and Coordinate Fixes
A step-by-step checklist for a GT911 capacitive touch controller that isn't detected, gives no touches or reports the wrong coordinates: power and I2C scan, the INT/RST address-select sequence, the 0x814E status register, interrupt edge, resolution and axis fixes for Linux, ESP-IDF and ESPHome.
GuideHow to Choose a Display for ESP32-S3 (SPI, QSPI, RGB)
Pick the interface and resolution from two numbers: how many bits per second the bus can move and how much memory the frame needs. With worked figures and reference builds.
GT911 troubleshooting & FAQ
Why is my GT911 not detected on I2C?
The address depends on the INT pin during reset. Hold INT low during reset for 0x5D or high for 0x14, then release INT as an input. Also confirm pull-ups on SDA/SCL.
Why are GT911 touch coordinates mirrored or scaled wrong?
The GT911 reports coordinates in the resolution stored in its own config (X at 0x8048, Y at 0x804A), not your display’s. Scale to the panel, then fix orientation in the driver: swap_xy / mirror_x / mirror_y in ESP-IDF esp_lcd_touch and ESPHome, or touchscreen-swapped-x-y / touchscreen-inverted-x / touchscreen-inverted-y in a Linux device tree. Rewriting the config block is a last resort.
Why does my GT911 report only the first touch?
After reading the touch data at 0x814E, write 0 to 0x814E. The Linux goodix driver and Espressif’s esp_lcd_touch_gt911 both clear it after every read.