Gt911 Register Map |work|
Diving Deep into the GT911 Register Map: A Touch Controller Developer’s Guide
Point Data:
Each touch point follows with 6 bytes of data, including Track ID and X/Y coordinates. I2C Communication Protocols
- 0x00: TOUCH_SENSITIVITY: Sets the touch sensitivity level (0-255)
- 0x10: POWER_CONTROL: Controls power management (sleep, wake-up, and reset)
- 0x20: TOUCH_STATUS: Reports touch event detection (touch, release, and gesture recognition)
- 0x40: TOUCH_COORDINATES: Stores touch coordinates (x, y) and pressure data
- Bit0 = 1 indicates new touch data available (clear by reading register and writing 0).
- Bits indicate gesture/points count in some firmwares.
Important:
After writing config, write 0x00 to 0x80FE (soft reset) and send 0x01 to 0x8040 (config update flag). gt911 register map
| Byte offset | Field | |-------------|-------| | +0 | Track ID | | +1 | X coordinate (low byte) | | +2 | X coordinate (high byte) | | +3 | Y coordinate (low byte) | | +4 | Y coordinate (high byte) | | +5 | Touch area (size/pressure) | Diving Deep into the GT911 Register Map: A