stm32H7B3l-EVAL custom screen with GT911_tc interface not able to see liberary
- February 19, 2024
- 1 reply
- 2836 views
I am currently working on stm32H7B3l-EVAL having currently gotten a custom screen to work over RGB interface but I am having problems with the touch interface. The board comes with FT5336 touch controller and having tried to modify the registers to match the GOODIX-GT911 documentation. when logic analyzer is coupled on the connector the correct start address is sent but no ACK is received.
I found this GT911 library on github ---https://github.com/DiveInEmbedded/GT911-Touch-driver/tree/main
I got this working on the board without touch GFX but when I try to use the library with the STM32TouchController.Cpp The inclusion of GT911.h does not give any errors but all the internal functions from GT911.c gives errors as seen in included pictures. I have tried several guides because I have a gut feeling that the tgfx touch controller file still cannot see the driver fully.
is there a easy way to get external library to work with the STM32TouchController.Cpp or is there a easier way to choose a touch controller. I am open for suggestions on a "universal" way of including libraries with tgfx and or debugging/understanding file structure.
Setup wise i am using the same connector as the original display using I2C2 and ribbon cable for RGB interface.
