November 08, 2024, 05:42:31 AM

ESP32 Gateway + SPI display

Started by enrique, June 09, 2022, 03:04:47 PM

Previous topic - Next topic

enrique

Hi!
I am trying to use a SPI display with the ESP32 Gateway board (version G).

However, the usual SPI pins are not exposed (18,19,23,5). What is your suggestion? is there any workaround?

thanks!

LubOlimex

This is SPI3/VSPI. Maybe also check SPI2/HSPO (15,14,12,13).

You can define any GPIO pin for SPI. The downside is that the speed drops to 40Mhz but that rarely is an issue. Notice that some of the exposed pins can't be outputs, just inputs (these are named GPI in our designs)
Technical support and documentation manager at Olimex

enrique

Thanks,
I successfully connected a ILI9341 TFT display using the following pins:

#define TFT_MISO 2
#define TFT_MOSI 14
#define TFT_SCLK 15
#define TFT_CS   12  // Chip select control pin
#define TFT_DC   13  // Data Command control pin
#define TFT_RST  33

thanks again,
Enrique