-
Notifications
You must be signed in to change notification settings - Fork 25
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
E (104) GT911: Error (0xffffffff)! Touch controller GT911 initialization failed! #138
Comments
Hi @mustafaakh10, I'm very sorry that you encountered this issue. It seems the |
Hi , thank you for your support . could you please elaborate a bit more. currently what i did now was copy the code from the ESP32_S3_Touch_LCD_4_3.h to the ESP_Panel_custom_board file that came with the porting lvgl code. Compilation error: 'ESP_Panel' was not declared in this scope; did you mean 'ESP_PanelLcd'? this is the error that i got with it. if i am not doing it correctly please let me know. thank you |
The waveshare 4.3 esp display is an internally supported board, you can modify the ESP_Panel_Board_Supported.h to select it instead of the The error you encountered is most likely due to the missing ESP_PANEL_USE_CUSTOM_BOARD macro definition. |
Hi @mustafaakh10, have you tested the bugfix/fix_board_esp32_s3_touch_lcd_4_3 branch? Can it make your development board work properly? |
Hi @Lzw655 , The above is not the point, the point is the GT911 chip problem, we use a lot of GT911 touch chips found that some GT911 chips if not reset before touch initialization, then it will report an error. This is our experience with a lot of touch screens. So we usually reset GT911 in the header of the code. As mentioned above, the best solution is to try to initialize the LCD screen and touch before the program initialization. Heavily tested |
Hi @Lzw655 sorry for the late reply. I was facing some challenges through the libraries, so I contacted the Wavehare development team, and they gave me the following demo file for the screen. In their code they used the IO expander. after using this setup i found no difficulty in driving the display. I am sharing the link for the demo with you. Thank you for your assistance. https://files.waveshare.com/wiki/ESP32-S3-Touch-LCD-4.3/demo/ESP32-S3-Touch-LCD-4.3_Code.zip |
No worries. Thank you for your feedback! |
Hi ,
I am using the waveshare 4.3 esp display : https://www.waveshare.com/wiki/ESP32-S3-Touch-LCD-4.3 . i am using the porting code for lvgl that is given on the website. My UI ran well for the first time without any issues and then i started to get this error.
D (35) ESP_PanelHost: Destroyed
D (38) ESP_Panel: Panel begin start
D (41) ESP_Panel: Begin LCD
D (75) ST7262_CPP: LCD panel @0x3fcaf574 created
D (76) ESP_PanelLcd: Begin start
D (76) ESP_PanelLcd: Begin end
D (76) ESP_Panel: Begin touch
D (77) ESP_PanelBus_I2C: Panel IO @0x3fcece48 created
D (82) ESP_PanelTouch: Disable interruption
E (86) lcd_panel.io.i2c: panel_io_i2c_rx_buffer(135): i2c transaction failed
E (93) GT911: touch_gt911_read_cfg(362): GT911 read error!
E (98) GT911: esp_lcd_touch_new_i2c_gt911(128): GT911 init failed
E (104) GT911: Error (0xffffffff)! Touch controller GT911 initialization failed!
E (111) GT911_CPP: [ESP_FAIL] begin(43): New driver failed
E (116) ESP_Panel: begin(540): Begin touch failed
Initialize LVGL
D (132) ESP_PanelTouch: Get invalid handle
Create UI
this is the log information more in depth. what is the problem that i am facing
The text was updated successfully, but these errors were encountered: