Ka-Radio32 icon indicating copy to clipboard operation
Ka-Radio32 copied to clipboard

Question about Touch TFT

Open WillVi1 opened this issue 2 years ago • 2 comments

In the features List stands:

**Touch screen if the hardware supports it.

I ordered now this Banggood TFT: 2.8 Inch ILI9341 240x320 SPI TFT LCD Display Touch Panel SPI Serial Port Module, Brand: Geekcreit

The connection of the TFT itself is no problem. But, how do I connect the Touch hardware an how has touch to be configured?

WillVi1 avatar Jul 28 '21 05:07 WillVi1

I have the same Touchscreen....

TOUCH SCREEN

P_TOUCH_CS of the t_cs pin of the touch or 255 if no screen. Other pins are t_clk, t_din, t_do respectively the spi clk, mosi, miso. T_irq is not used. The screen must be calibrated with the command sys.cali[brate]

see in "HardwareConfig.md".

For your first try use "standard_touch.bin" as nvs_partition

You must paralell the connections

t_clk -> spi clk t_din -> mosi t_do -> miso

and one more pin to your ESP -> P_TOUCH_CS

cheise avatar Aug 03 '21 00:08 cheise

Hi, I have another board where the touch uses CLK, MOSI, and MISO on different pins as an LCD. When I see the code for LCD and Touch is use one command to initialize the SPI but I need to be on different ones. Are that is possible?

Regards

kebibg avatar Mar 07 '24 06:03 kebibg