Pulling down a pulled-up pin from touch driver GT911 to ESP32

eagle1109

Full Member level 6
Joined
Nov 20, 2014
Messages
393
Helped
4
Reputation
10
Reaction score
7
Trophy points
1,298
Location
Saudi Arabia
Activity points
5,955
Hi,

I have a problem with a capacitive touch display model I bought from aliexpress.

The capacitive touch driver is the GT911 which runs by i2c. So the circuit must have SDA/SCL pulled to HIGH voltage level.

They also connecting INT/RST pins as well to HIGH level. According to their schematic circuit, this part of the schematic diagram and in the attachement the full file:



The pins controlling INT/RST are configured as OUTPUT, the ESP32 can pull them HIGH/LOW easily without any issue.

The problem is when configuring INT to be INPUT, then this pin will be in HIGH level all the time and that will lock the ESP32 in infinite loop all the time ! I don't know why even if I'm not enabling the interrupt mode. Just configuring the pin connected to INT pin of GT911 will just put the ESP32 in infinite loop and no other code will be processed.

My question, can I add a resistor going to the GND ? so that when I put this pin to be input and be flaoting to the ESP32, then it will be pulled to GND.
Or do you guys recommend me another approach ?
 

Cookies are required to use this site. You must accept them to continue using the site. Learn more…