Closed SinglWolf closed 2 years ago
My project also uses a touchscreen on the XPT2046 controller. All attempts to read XPT2046 registers are in vain. Zeros are returned.
Try this.
What exactly should I try there? I already know that when using the display and the touchscreen on the same SPI bus, the SDO display pin (MISO) cannot be connected to the SPI bus. The pin must be free.
How to read ILI9341(ILI9488, etc) registers using ESP-IDF SPI API? The forum has a topic ILI9341 read registers in ESP-IDF - no answer! There is also a mention of this problem on stackoverflow.com Reading from an SPI bus using the ESP-IDF (ESP32) and an ILI9341 display adapter. Not getting meaningful data - there is no solution. For my Radiola-S2 project, reading the display controller registers is necessary to organize automatic detection of the connected display. My project also uses a touchscreen on the XPT2046 controller. All attempts to read XPT2046 registers are in vain. Zeros are returned. I am using ESP32-S2 and ESP-32. Why does register reading work correctly on the espressif/arduino-esp32 framework, but not on esp-idf?