-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QUESTION: SPI or parallel for new designs? #18
Comments
It's case by case. SPI is fast when drawing to consecutive addresses. However, REGISTER I/O parallel is faster when drawing to non-contiguous addresses. Performance comparison using ILI9341(240x320)SPI used this.
The biggest advantage of using a parallel TFT is that there are clearly more types of devices than SPI. |
Oh wow. Thank you so much! I can see what you mean - it literally is a case of picking the display that best suits the application. Fonts really are a bind. I developed a couple of high performance variants of the Adafruit GFX routines for my last project and fonts are truly a cluster ... of pixels. That's one of the reasons I've moved from the ATMega328p from that project to the ESP32 for the current one (two actually). Given that I'm sorely tempted to investigate customising the PCB to carry a full-sized parallel Arduino HAT. There's already a Streamdeck-like design with an TFT mounted in place but I haven't managed to get my hands on one yet to see if it will work for these projects which are aimed at schools. |
Not sure how else to post this, so I hope this isn't too off-topic. Let's assume that I'm designing a new board (or two) based on an ESP32 module. I have one of the WROOM devboards - but the new design will likely use an S3 when they drop.
Assuming there are enough free GPIOs left, is parallel preferable over SPI? (I'm only enough to remember the days that we thought parallel was the Dog's Danglers and Serial was consigned to telephones. (Data skew? What's that?! Electrons will never travel that fast and IBM PCs will never penetrate the home!)
So yeah, serial has a place - but I'm curious, is there any particular reason to use SPI over parallel on a new design (one that I can just drop a TFT into?)
My only experience is with the Arduino framework and that largely insulates us from the nitty-gritty but this needs I2S and some serious beef so short of going full SBC with all the uses they come with, I figured the ESP32 is perfect.
The text was updated successfully, but these errors were encountered: