Does PSRAM setup affect Chip Startup Time optimization

VinayDand
Posts: 8
Joined: Fri Jun 24, 2022 6:47 am

Does PSRAM setup affect Chip Startup Time optimization

Postby VinayDand » Sun Oct 19, 2025 3:00 pm

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

MicroController
Posts: 2669
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: Does PSRAM setup affect Chip Startup Time optimization

Postby MicroController » Sun Oct 19, 2025 4:34 pm

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.

VinayDand
Posts: 8
Joined: Fri Jun 24, 2022 6:47 am

Re: Does PSRAM setup affect Chip Startup Time optimization

Postby VinayDand » Tue Oct 21, 2025 10:27 am

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.

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 3 guests