2023-06-02 03:41 AM
I have a custom board with STM32F429BIT6 connected to a 4.3inch LCD through LTDC interface. Touch panel controller is XPT2046 connected to microcontroller on SPI1. Everything works well. Except that I cannot press and hold any button. The button releases automatically even if I am holding it. The values of X and Y read from XPT2046 are stable so there is no issue in that area.
Is there some setting in TouchGFX code which I might be missing. On DISCOVERYF429 board (which has on board LCD) I can press and hold the button if I want to.
Can anyone guide me? Please.
2023-06-02 04:46 AM
Hello. Have you test with led or uart print that your sampleTouch is constantly returning true when you press button longer ?
How you have done the touch chip reading ?
2023-06-03 06:35 AM
For custom lcd you need too custom STM32TouchController.cpp and best with ask is show it here