Help needed ILI9488 with touch display

For general Flowcode discussion that does not belong in the other sections.
Post Reply
MJU20
Posts: 286
http://meble-kuchenne.info.pl
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 81 times
Been thanked: 60 times

Help needed ILI9488 with touch display

Post by MJU20 »

Hello there,

After a lot of tinkering and solving various issues, I finally got my ILI9488 display to work. I encountered problems with the Dupont wires, which took hours of testing to identify. But now, the display part is functioning properly.

However, the touch functionality of the display isn’t responding. The touch chip is marked "hr2046," which indicates it’s likely an XPT2046 chip.

I followed the display's pin configuration and initially tried to connect the touch functionality to the same SPI bus as the display, with each having its own CS pin. This didn’t work, so I assigned dedicated pins on the ESP32_Wroom for each touch pin.

My test program is simple: it should flash the onboard LED of the dev board when the display is touched. Unfortunately, this doesn’t seem to be working.

Can anyone share their thoughts on the program and wiring for this display? Any suggestions for adjusting the settings, wiring, or the program itself?

Any help is appreciated.
TestMetTouch.fcfx
(17.78 KiB) Downloaded 5 times

chipfryer27
Valued Contributor
Posts: 1323
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 321 times
Been thanked: 463 times

Re: Help needed ILI9488 with touch display

Post by chipfryer27 »

Hi

No hardware so I can't really be of much help. I notice though that if I open your chart and try to run in simulation or even just compile to "C" Flowcode gives me warnings that the touch (xpt2046) has unconnected pins. Maybe double check pins are properly assigned? Also, do you need to set "Link To" from the touch to display?

Regards

Edit..
PS you only flash for 150mS. Your eyes must be better than mine to register that quick <s>

medelec35
Matrix Staff
Posts: 1631
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 578 times
Been thanked: 544 times

Re: Help needed ILI9488 with touch display

Post by medelec35 »

Hello.
I have noticed that you have not selected XPT2046 within properties and selected the display within the LinkTo.
Can you try that and see it touch then works?
Although I believe that only affect simulation.
Martin

Post Reply