-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP-BOX-3 GT911 Touch driver not getting initialized. (BSP-572) #421
Comments
This is only warning of the driver. The driver can set and initialize I2C address of touch controller automatically, but only when RST and INT pins are set. It seems that touch is working properly (in the next lines of the console). |
Perhaps that is true. But upon setting the RST ant INT pins, the driver returns an error and then not even the screen is initialized. There is also no response from touching the screen, which is odd. |
any news ? |
Nothing so far sadly. The only way that I have been able to properly initialize the touch driver is using the LovyanGFX library, but that requires the arduino component. Hoping this issue will be resolved soon. |
Hello, I am sorry, I don't understand, what is exactly issue? You need to set INT and RST pin and not working initialization? |
I found that the touch does not work without any changes. Even in a new clean project with the BSP installed, the LCD works fine but there is no response from the touch controller. Perhaps I'm doing something wrong? |
Hi, I tried this example now: https://github.com/espressif/esp-bsp/tree/master/examples/display_audio_photo with my The mentioned condition is for automatic setting address of touch controller. If RST or INTR not filled, then there is default address of touch controller. |
Thank you for the quick response, I will try to recreate your steps as soon as I get home. I see I was mistaken with that condition, my apologies. |
I have retraced your steps and even though I received the same GT911 initialization error, the touch worked flawlessly in the example. After reviewing my code (code snipper in the original post), and replacing "bsp_display_start_with_config(&cfg);" with "bsp_display_start();", and removing the "lv_scr_load(ui_Screen1);" line, touch started to work. Thank you for your help, the issue seems to be resolved. |
Board
ESP32-S3-BOX-3
Hardware Description
There is nothing else attached to the module, only the esp32-s3-box-3 itself.
IDE Name
ESP-IDF
Operating System
Windows 10
Description
It appears that BSP cannot properly initialize the GT911 touch driver, that is in the esp-box-3. The BSP version 1.2.0~2 for the esp-box-3 is included via the esp component registery. Upon creating a simple project that displays an UI, the screen shows the UI and It works as expected, but the touch driver is not initialized and the touch does not provide any feedback. Image below shows the warning that the GT911 returns.
![image_2024-10-26_232919213](https://private-user-images.githubusercontent.com/75027424/380453749-43704692-86f3-4017-8568-c04f08a79775.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NzQzNTksIm5iZiI6MTczODk3NDA1OSwicGF0aCI6Ii83NTAyNzQyNC8zODA0NTM3NDktNDM3MDQ2OTItODZmMy00MDE3LTg1NjgtYzA0ZjA4YTc5Nzc1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA4VDAwMjA1OVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI2ZjQ1NGUyYjQ4ZDhhODZlZmJjZGZmZDUxMWU2NzA0Y2JmYTJiYjdkN2VmYjRmMmU1Y2NhMTJlM2JhMDgzNDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.JX7zszoXqdwKWMBALsfRwMYSgaBkns5IG4QPJh-Ky_s)
Sketch
Other Steps to Reproduce
To reproduce this issue, create a new project from the template, install the esp-box-3 BSP from the esp component registery, and use the code provided in the sketch. This should return the same error.
I have checked existing issues, README.md and ESP32 Forum
The text was updated successfully, but these errors were encountered: