RP2040 + ST7796 + XPT2046 - Touch values are very odd and I can't get no reason for that #3147
-
Hey community, I am using a cheaper 4'' display (with SD-reader, but not connected) - LCDWiki-Displaymodule Connections: VCC - 3V3 T_CLK - SPI1 CLK GP10 i did not connect MISO on display side and the IRQ pin on the touch side. My Pin Setup in user_setup.h is as follow: #define LOAD_GLCD // Font 1. Original Adafruit 8 pixel font needs ~1820 bytes in FLASH #define TFT_SPI_PORT 1 i experimented a lot with SPI_FREQUENCIES... So what is the deal with my setup? when leaving the display untouched, the values show (with Test_Touch_Controller): When I touch the area: so this is one fingerpress - several seconds. Ideas, guys? I do not know what it is. Anyway, Bodmer, the library is great! I think i am too stupid. Regards, EDIT: changed hardware and settings to SPI Bus Number 0. No Change! EDIT: Changed BSP from Arduino MBED Pico to Earle Philhower's. This changed a lot. Y Values are still > 2000 when untouched. The biggest change ist touch RAW - this value stays below 200. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Alright - so anything is odd - try to use Earle's BSP instead of the shipped one in Arduino IDE |
Beta Was this translation helpful? Give feedback.
Alright - so anything is odd - try to use Earle's BSP instead of the shipped one in Arduino IDE