Page 1 of 1

Does PSRAM setup affect Chip Startup Time optimization

Posted: Sun Oct 19, 2025 3:00 pm
by VinayDand
Referring to
https://docs.espressif.com/projects/esp ... -time.html

On our ESP-32-S3R8 board running @ 240 MHz CPU clock.
We can achieve a reduced boot time of around 40mS.

But as soon as we enable PSRAM in sdkconfig,
boot time increases to 480 mS

What can be done to reduce this boot time when PSRAM is enabled?

CONFIG_SPIRAM=y
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
CONFIG_SPIRAM_SPEED_80M=y
CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ_240=y

We are on ESP-IDF 5.5.0

Any pointer to reduce boot time with PSRAM enabled will be appreciated

Best Regards,
Vinay

Re: Does PSRAM setup affect Chip Startup Time optimization

Posted: Sun Oct 19, 2025 4:34 pm
by MicroController
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
->
If enabled, instructions in flash will be moved into PSRAM on startup.
Copying all application code from flash to PSRAM is bound to take a while.

Re: Does PSRAM setup affect Chip Startup Time optimization

Posted: Tue Oct 21, 2025 10:27 am
by VinayDand
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
->
If enabled, instructions in flash will be moved into PSRAM on startup.
Copying all application code from flash to PSRAM is bound to take a while.
That makes sense.
Thanks for the clarification.