FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  


Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support

New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: Using touch panel  (Read 662 times)


  • Newbie
  • *
  • Posts: 6
    • View Profile
Using touch panel
« on: May 15, 2020, 07:50:45 AM »


I would like to get touch panel events. Ideally, I would like to receive an interrupt
when the screen has been touched. I could live with polling for test, but anyway for
the moment, I can't get touch coordinates. So one problem at a time, let's start with

What I did:
I have set up the address of the touch panel chip which is a Goodix. The documentation
says that the address should be 5D.
So the first thing I did is to fill in the REG_TOUCH_CONFIG register for capacitive setup
Bit 15: 0 for capacitive.
14,13: reserved
12: ignore short circuit. I suppose it's for resistive.
Bit11: enable low power mode. Not crucial for test, I will leave it as 0.
10~4 is the I2C address, 5D
Bit 3: vendor. I tried both. Is Goodix a FocalTech or AzoTech device?
Bit2: suppress 300 ms startup. Leave as 0.
Bits 1 and 0, same.

Bits 15 to 12 = 0
Bit 11 = 0
Bits 10~4 = 5D
Bit 3 only may have an influence.
Therefore the possible codes are 0x05D8 or 0x05D0

As for the touch mode, there are only 2 bits, apparently. I tried 10 (frame mode) and 11
(continuous mode), but without success so fare.

After setting these 2 registers, I access the coordinate registers, but they are always
at 0, touch or not.

Am I missing something?

Best regards,

« Last Edit: May 15, 2020, 08:49:16 AM by rascalito »

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 542
    • View Profile
Re: Using touch panel
« Reply #1 on: May 18, 2020, 02:57:41 PM »


Which EVE device are you currently using?

Note that for FT811/FT813 please see section 6.6.2 of this application note below,


Best Regards, FTDI Community