GPIOs for LCD with ESP32-S3 via SPI

ManelCS.
Posts: 9
Joined: Thu Mar 27, 2025 8:58 am

GPIOs for LCD with ESP32-S3 via SPI

Postby ManelCS. » Tue Apr 01, 2025 12:08 pm

I want to use an LCD screen with an esp32-s3 with SPI, the question is, should I use the gpios recommended by SPI_HOST (HSPI VSPI) or can I use others.

ahsrabrifat
Posts: 201
Joined: Sat Jan 18, 2025 2:31 pm

Re: GPIOs for LCD with ESP32-S3 via SPI

Postby ahsrabrifat » Thu Apr 03, 2025 7:19 am

Hello, which specific LCD are you planning to use? Any link, datasheet or pics?


eriksl
Posts: 241
Joined: Thu Dec 14, 2023 3:23 pm
Location: Netherlands

Re: GPIOs for LCD with ESP32-S3 via SPI

Postby eriksl » Wed Apr 23, 2025 7:27 am

You can use either SPI2 or SPI3 (aka VSPI and HSPI). The only difference (see documentation!) is:

When using SPI2 AND all pins are bypassing the GPIO-MUX (i.e default/native settings) you can drive the SPI pins at 80 MHz. In all other cases (using SPI3 or using one or more pings running through the GPIO-MUX), you're limited to 40 MHz operation. Which isn't such a big deal as most (at least the one I've been using) LCD's can't run beyond 40 MHz anyway.

So don't worry, it will be ok.

Who is online

Users browsing this forum: ChatGPT-User and 1 guest