ESP32-S3 SPI CONFIGURATION

rizwan
Posts: 1
Joined: Tue May 28, 2024 1:46 pm

ESP32-S3 SPI CONFIGURATION

Postby rizwan » Tue May 28, 2024 2:22 pm

Hi,
I am using esp32-s3 wroom-1(N8R8) development board having octal psram ,in which i am trying to establish 2 different spi communication.As per the datasheet we have total 4xSPI supported by esp32 s3 , in which 2 spi are already reserved(SPI0 ans SPI1) for ps ram and 2 are usable(SPI2 and SPI3).
Also mentioned in the datasheet that "the module variants that have embedded OSPI PSRAM , pins IO35,IO36, and IO37 connect to the OSPI PSRAM and are not available for other uses"(attached the screenshot of the particular portion).
I am using GPIO 35,36 and 37 pins for spi communication in my project and it seems to be working fine. Is there any problem using these pins for spi communication or can i continue with these pins.?

Thanks
Attachments
datasheet.png
datasheet.png (24.31 KiB) Viewed 616 times

ESP_Sprite
Posts: 9724
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32-S3 SPI CONFIGURATION

Postby ESP_Sprite » Wed May 29, 2024 12:46 am

I imagine you did not enable PSRAM in your ESP-IDF config? If so, you can probably keep using those pins: given the fact that psram is never selected, they shouldn't interfere with the general workings of the chip. It does mean that as soon as you do enable PSRAM, it will break, so I'd personally move those pins to future-proof the app running on the module.

Who is online

Users browsing this forum: Bing [Bot] and 119 guests