I have the following ESP model ESP32S3FN8 that doesn't contain any PSRAM.
In the menuconfig I enabled "Support for external, SPI-connected RAM" and with the following config:
Code: Select all
#
# SPI RAM config
#
# CONFIG_SPIRAM_MODE_QUAD is not set
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_TYPE_AUTO=y
# CONFIG_SPIRAM_TYPE_ESPPSRAM64 is not set
CONFIG_SPIRAM_SIZE=-1
#
# PSRAM Clock and CS IO for ESP32S3
#
CONFIG_DEFAULT_PSRAM_CLK_IO=30
CONFIG_DEFAULT_PSRAM_CS_IO=26
# end of PSRAM Clock and CS IO for ESP32S3
# CONFIG_SPIRAM_FETCH_INSTRUCTIONS is not set
# CONFIG_SPIRAM_RODATA is not set
CONFIG_SPIRAM_SPEED_80M=y
# CONFIG_SPIRAM_SPEED_40M is not set
CONFIG_SPIRAM=y
CONFIG_SPIRAM_BOOT_INIT=y
# CONFIG_SPIRAM_IGNORE_NOTFOUND is not set
# CONFIG_SPIRAM_USE_MEMMAP is not set
# CONFIG_SPIRAM_USE_CAPS_ALLOC is not set
CONFIG_SPIRAM_USE_MALLOC=y
# CONFIG_SPIRAM_MEMTEST is not set
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=16384
# CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP is not set
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768
# end of SPI RAM config
I (340) boot: Loaded app from partition at offset 0x10000
I (340) boot: Disabling RNG early entropy source...
I (355) opi psram: vendor id : 0x00 (UNKNOWN)
I (355) opi psram: dev id : 0x03 (generation 4)
I (355) opi psram: density : 0x07 (256 Mbit)
I (359) opi psram: good-die : 0x01 (Pass)
I (364) opi psram: Latency : 0x01 (Fixed)
I (369) opi psram: VCC : 0x01 (3V)
I (374) opi psram: SRF : 0x00 (Slow Refresh)
I (379) opi psram: BurstType : 0x01 ( Wrap)
I (384) opi psram: BurstLen : 0x03 (1024 Byte)
I (389) opi psram: Readlatency : 0x07 (20 cycles@Fixed)
I (395) opi psram: DriveStrength: 0x03 (1/8)
W (400) PSRAM: DO NOT USE FOR MASS PRODUCTION! Timing parameters will be updated in future IDF version.
W (411) MSPI Timing: tuning fail, best point is fallen back to index 1
I (417) spiram: Found 256MBit SPI RAM device
I (422) spiram: SPI RAM mode: sram 80m
I (427) spiram: PSRAM initialized, cache is in normal (1-core) mode.
Please, could someone explain me what is "Found 256MBit SPI RAM device"?
Does it mean that my ESP has a SPI RAM of 32MB?
Thanks a lot,
BR,
Simeon