BRT Community

General Category => Discussion - EVE => Topic started by: nxs on January 08, 2021, 12:28:18 PM

Title: FT811 with Goodix GT911 I2C addresses issues
Post by: nxs on January 08, 2021, 12:28:18 PM
Hi all,

We have a FT811 connected to a LCD which has a Goodix GT911 touch controller.

The CTP is working correctly on address 0x5d, but we want to use it on address 0x14.

If we change the I2C address bits in register REG_TOUCH_CONFIG (0x302168) to something different from 0x5d we see no I2C clocks and no I2C data coming out of the FT811 chip.

Can you please tell me what are the supported addresses?
Also if you need more information, I can supply you with everything.

Thanks!
Title: Re: FT811 with Goodix GT911 I2C addresses issues
Post by: BRT Community on January 13, 2021, 11:11:06 AM
Hello,

The Goodix configuration code supports only REG_TOUCH_CONFIG set to 0x05D0. This corresponds to address 0xBA in the Goodix Datasheet (the Goodix can have two different addresses depending on the line states at start-up but the code only supports 0xBA).

Note that all steps in section 6.6.2 below are required to use the Goodix CTP and the GPIO line must be used as shown, and the REG_TOUCH_CONFIG has to be set to 0x05D0.

https://brtchip.com/wp-content/uploads/Support/Documentation/Application_Notes/ICs/EVE/AN_336_FT8xx-Selecting-an-LCD-Display.pdf

Best Regards, BRT Community
Title: Re: FT811 with Goodix GT911 I2C addresses issues
Post by: yraeisi on January 15, 2021, 01:46:51 PM
Hi Dear
I want to use FT811 & GT911 with LPC1768.
I tried very much. But touch not work. Can you help me?
Title: Re: FT811 with Goodix GT911 I2C addresses issues
Post by: Rudolph on January 15, 2021, 04:35:23 PM
>I want to use FT811 & GT911 with LPC1768.

While I do not have support for LPC1768 (yet) and apparently the only readily available boards
are for 3D-printers which cost way more than I am willing to spend just to play with it for a bit.
And I just checked, at least PlatformIO does not support using the Arduino framework
with any LPC1768 board so I can not just add a board with it to platformio.ini and see it compile.

Regardless, as the Matrix Orbital capacitive touch EVE modules are using GT911 I have support for this in my code library:
https://github.com/RudolphRiedel/FT800-FT813

In EVE_commands.c you find an implementation of what needs to done to patch a FT811/FT813 for GT911.

And the whole thing is highly portable, to adapt to LPC1768 a new section in EVE_target.h would be necessary.

Display timings are in EVE_config.h, this us where the EVE_HAS_GT911 define is set.