Hello,
I successfully connected an LCD module to an ESP32-S3 devkit using SPI2 (HSPI).
My project requires the LCD to be connected to SPI3 (VSPI). RandomNerd wrote that GPIO35, 36 and 37 were available, however other documentation states that, “in modules with PSRAM, these cannot be used”.
1- Is this right?
I chose these alternative pins
4 (GPIO4) = MOSI
5 (GPIO5) = CS
6 (GPIO6) = SCK
28 (GPIO47) = RS
These don’t work! When the same sketch runs (compiled with the alternative pins), a “Meditation Guru” occurs!
2- Any clue, anybody?
Gemini suggests that pin 6 cannot be used because it is used for some internal functions – this doesn’t show in all the docs I found, is pin 6 NOT available???
Thanks in advance!
Paulo Robalo
Hi.
you can use those pins for VSPI on an ESP32 S3 as we mention in the guide pinout: https://randomnerdtutorials.com/esp32-s3-devkitc-pinout-guide/
The pins connected to PSRAM may vary depending on your board model… what is exactly your model?
GPIO6 is available if you’re using the board in our ESP33 S3 pinout.
Maybe the guru meditation error is related to something set up incorrectly in the code, rather than pin usage?
Regards,
Sara
Hello, Sara
It seems ESP32-S3 modules with 8MB OPI (Octal SPI) PSRAM the VSPI bus is not free to use, the only one available is HSPI. The solution is try to obtain devkit modules with 8MB or 16MB flash but no PSRAM (ending in -N8 or -N16, not R2 or R8).
So far I haven’t found any devkit, only the modules with the castellated holes. Those are not user-friendly to start and develop a new project. If you know where to buy a devkit with no PSRAM, please tell me!