8Bit Parallel Support on upper GPIO pins for ESP32-S3 #2134
Replies: 19 comments 14 replies
-
This post indicates that using a dedicated gpio bundle may get around the slowness added when using GPIO pins above 31. https://www.esp32.com/viewtopic.php?t=27963#p98194 |
Beta Was this translation helpful? Give feedback.
-
Replace the library header TFT_eSPI_ESP32_S3.h with this one and it shoule work: Let me know if it works. |
Beta Was this translation helpful? Give feedback.
-
i also use ESP32-S3 with ESP-IDF,It's can't work PARALLEL_8_BIT , |
Beta Was this translation helpful? Give feedback.
-
I should have the devices in a day or two and will give it a try. I've been playing with a non-parallel display I had floating around in the mean time. |
Beta Was this translation helpful? Give feedback.
-
I have several of these being shipped. I'll test as soon as I get them. |
Beta Was this translation helpful? Give feedback.
-
LilyGO released their own patch: https://github.com/Xinyuan-LilyGO/T-Display-S3/blob/b12c08a3a121f8938aa08ca27ae44002d40119a8/lib/TFT_eSPI/micky_commit.patch |
Beta Was this translation helpful? Give feedback.
-
I'm still getting acquainted with PlatformIO, so I may have missed something. It looks like you've removed the definition of GPIO_DIR_MASK:
readByte() is also struggling (one warning per TFT_Dx):
My defines:
|
Beta Was this translation helpful? Give feedback.
-
Hi guys, just got this board and trying to get the TFT going in platformio. I target multiple boards so would love if I can stick to the mainline of tft_espi. Anything I can do to help? |
Beta Was this translation helpful? Give feedback.
-
I can make it work with the lilygo supplied fork they have here FWIW: |
Beta Was this translation helpful? Give feedback.
-
I've verified the LilyGo fork works as intended. |
Beta Was this translation helpful? Give feedback.
-
Yes, the lilygo fork works, but it would be nice to have this merged into the main library. |
Beta Was this translation helpful? Give feedback.
-
please reopen this. it hasn't been completed. |
Beta Was this translation helpful? Give feedback.
-
This replacement patch file (put in "Processors" folder) to the one posted above has been modifed to work with the latest Git master. I have no means of testing it at the moment so let me know if it works OK with that board/display combination. This looks like a suitable setup file, but again I have no means to test this.
|
Beta Was this translation helpful? Give feedback.
-
Bodmer: I would be happy to send you a TTGO ESP32 S3 for testing if that would help. email me at mnohr247 (at) gmail.com. |
Beta Was this translation helpful? Give feedback.
-
that doesn't display anything. the display stays black (apart from the background lighting). just a few questions: |
Beta Was this translation helpful? Give feedback.
-
I found a ProS3 board and wired up a parallel display with the data bus wired to the high GPIO pins. It is working fine with the two files below. Replace the two files in the library "Processors" folder with those. Note this is a temporary patch to get the board working, the patch will only work if all data bus pins have high (>=31) GPIO pins. When I know it works for you I will automate the bus briver allocations. |
Beta Was this translation helpful? Give feedback.
-
Performance is not particularly good (320 x 480 screen) if the WR line if a low GPIO and data is a high range:
When WR is also a high GPIO the results are:
|
Beta Was this translation helpful? Give feedback.
-
i've fumbled around with the dedicated GPIO: 9af4164#diff-9326611b0edbbf2e287fc8486d4623388000ce4e8dd69e5454077d9c039cb7e8 i'm not sure if we should try to implement it this way. it does without the differentation between ports >= 32 or lower. but the documentation says all the dedicated gpio functions need to run on the same cpu core. this could be a limitation. anyway... this way, it seems to be about as fast as doing it the established way, with GPIO.out your last zip file works fine. thank you! regarding the benchmark: i wonder how this compares to espressif's esp_lcd driver. |
Beta Was this translation helpful? Give feedback.
-
Compiler..Arduino |
Beta Was this translation helpful? Give feedback.
-
The new LillyGo ESP32-S3 T-Display device uses an 8-bit parallel display with the data pins connected to GPIO 39-48 (43/44 are excluded as they are UART0). The current ESP32-S3 parallel support only reads from the lower 32 GPIO pins, so it won't support the new device.
Board: LillyGo T-Display-S3
Processor: ESP32-S3
TFT Driver: ST7789
Interface: Parallel
Display/device pinout
Beta Was this translation helpful? Give feedback.
All reactions