Page 1 of 1

How can I use psram on esp32-s3-wroom n8r8?

Posted: Fri Jan 02, 2026 1:21 am
by ahendml
I cannot use PSRAM on the ESP32-S3-WROOM-N8R8.

I configured PlatformIO as follows to use the ESP32-S3-WROOM-N8R8:

Code: Select all

[env:esp32-s3-devkitc-1]
platform = espressif32
; board = esp32-s3-devkitc-1
board = esp32-s3-devkitc1-n8r8
framework = arduino
monitor_speed = 115200

board_build.arduino.memory_type = qio_opi
board_upload.flash_size = 8MB
board_build.partitions = default_8MB.csv

build_flags = 
    -DBOARD_HAS_PSRAM
;    -mfix-esp32-psram-cache-issue

I then checked PSRAM availability with the following code:

Code: Select all

if (psramFound()) {
    Serial.println("PSRAM is enabled and available.");
} else {
    Serial.println("PSRAM is NOT available.");
}

Serial.print("ESP32 PSRAM SIZE: ");
Serial.print(ESP.getPsramSize() / 1024.0, 2);
Serial.println("KB");

Serial.print("ESP32 FREE PSRAM: ");
Serial.print(ESP.getFreePsram() / 1024.0, 2);
Serial.println("KB");

However, the serial output shows:

PSRAM is enabled and available.
PSRAM Size: 0 bytes
ESP32 FREE PSRAM: 0.00KB


The PSRAM size is reported as 0.

I suspected a faulty board, so I replaced it, but the result was the same.

With the N16R8 module, PSRAM works correctly and is detected without any issues.

I also tried configuring and testing the same setup in the Arduino IDE, but the result is identical.

I referred to the following page as well, but it did not solve the problem:
https://github.com/sivar2311/ESP32-Plat ... igurations

What should I do to use PSRAM on the ESP32-S3-WROOM-N8R8?

Re: How can I use psram on esp32-s3-wroom n8r8?

Posted: Fri Jan 02, 2026 3:54 pm
by lbernstone
Please test with the latest release (arduino-esp32 v3.3.5)

Code: Select all

platform = https://github.com/pioarduino/platform-espressif32/releases/download/stable/platform-espressif32.zip
According to the link you posted, you should also need

Code: Select all

board_build.psram_type = opi

Re: How can I use psram on esp32-s3-wroom n8r8?

Posted: Mon Feb 16, 2026 5:54 am
by Noval@riod
Try to check with using esp-idf and ardunio ide using example codes .
If still has the same issues , come back again.
i worked on esp32s3, and i dont get any issues .