Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Can Octal SPI on the ESP32-S2/S3 be used to drive a parallel port interface? #7787

XanCraft21 started this conversation in General
Discussion options

Hello, random idea, is it possible to use Octal SPI to drive a parallel port device like a lcd display? I had an idea to try it and i wanted to ask if other people have tried it yet. Looking at the official documentation about the SPI bus on the ESP32-S2 and the ESP32-S3, both support Octal SPI which I believe is 8 data lines. My theory is i can use this to drive a parallel only tft lcd display with great speed and efficiency without any special external hardware. Any answers or recommendations are good. Thank you.

You must be logged in to vote

Replies: 4 comments

Comment options

S2 and S3 actually have a dedicated peripheral to drive such displays and supports 16 bits/lanes as well. Check out https://github.com/espressif/arduino-esp32/tree/master/tools/sdk/esp32s3/include/esp_lcd

You must be logged in to vote
0 replies
Comment options

Thank you. I looked at the code and i do not know which display driver chip it is designed to drive. My project requires a specific type of display. The reason why i asked about octal SPI is because i wanted to design a universal display library for a specific bus interface. I plan to check out the pre-made drivers too, as well as experiment with octal SPI.

Do you have any example code for Arduino using the dedicated SPI drivers with the ESP-IDF?

You must be logged in to vote
0 replies
Comment options

@XanCraft21 Project Tasmota has implemented a universal Display driver. Needs just an display descriptor file and a lot of display controllers and displays can be used. Some Infos here Code is based on Arduino
Example display descriptor to init a parallel RGB display The lib is here

You must be logged in to vote
0 replies
Comment options

Ok, i will check that out soon. Thank you again.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /