Building for Sunton 4827S043R - screen flicker and touch support issues #648
Replies: 1 comment
-
|
For anyone stuck here with no touch on the 4827S043R: the root cause is that openHASP's XPT2046 support is wired only into the TFT_eSPI and LovyanGFX display drivers, but this board uses ArduinoGFX for its RGB-parallel panel — so I've opened #1028, which adds a standalone XPT2046 driver that runs on its own SPI bus, independent of the display driver. On my 4827S043R the display + resistive touch both work, calibrated across the full 480×272 panel. To try it before it's merged: build the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, new here in this amazing project. Already setup a Sunton 2832S028R using the pre-compiled binary from the nightly builds with no issues. But I also have a 4827S043R with resistive touch, which is not available as an option in the nightly builds.
I followed the advice to use Gitpod to compile my own version. Was able to modify the file sunton-esp32-s3-tft.ini to add an entry for my device, changing the touch driver to "0x2046", but this would not compile. I then commented out the touch driver part and was able to build a binary and flash it. This worked, but of course no touch and the screen also suffered from flickering.
Found some posts (not related to openHASP) regarding the flickering, and by changing the build flag "TFT_DE" to zero, the screen flicker was gone.
But not able to get the touch to work yet, anyone else had any success with this and can share their solution?
Beta Was this translation helpful? Give feedback.
All reactions