• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP32-S3 : how to use SPI3 (VSPI) in a development module ?

Q&A Forum › Category: ESP32 › ESP32-S3 : how to use SPI3 (VSPI) in a development module ?
0 Vote Up Vote Down
Paulo Robalo asked 2 weeks ago

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

Question Tags: ESP32-S3
3 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 weeks ago

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

0 Vote Up Vote Down
Paulo Robalo answered 2 weeks ago

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!

0 Vote Up Vote Down
Sara Santos Staff answered 2 weeks ago

Have you tried using HSPI for both peripherals?
You can use the same pins and only change the CS pin.
 
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] Smart Home with Raspberry Pi, ESP32, and ESP8266 V1.6 September 9, 2025
  • [eBook Updated] Learn LVGL: Build GUIs for ESP32 Projects – Version 1.5 July 7, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.