EasyManuals Logo

Espressif ESP32-S2 User Manual

Espressif ESP32-S2
1695 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1111 background imageLoading...
Page #1111 background image
Chapter 2. API Reference
CONFIG_DEFAULT_PSRAM_CS_IO
PSRAM CS IO number
Found in: Component config > ESP32S2-specific > CONFIG_ESP32S2_SPIRAM_SUPPORT > SPI RAM
config > PSRAM clock and cs IO for ESP32S2
The PSRAM CS IO can be any unused GPIO, user can config it based on hardware design.
Range:
from 0 to 33 if CONFIG_ESP32S2_SPIRAM_SUPPORT && CON-
FIG_ESP32S2_SPIRAM_SUPPORT
Default value:
26 if CONFIG_ESP32S2_SPIRAM_SUPPORT && CONFIG_ESP32S2_SPIRAM_SUPPORT
CONFIG_SPIRAM_FETCH_INSTRUCTIONS
Cache fetch instructions from SPI RAM
Found in: Component config > ESP32S2-specific > CONFIG_ESP32S2_SPIRAM_SUPPORT > SPI RAM
config
If enabled, instruction in flash will be copied into SPIRAM. If SPIRAM_RODATA also enabled, you
can run the instruction when erasing or programming the flash.
Default value:
No (disabled) if CONFIG_ESP32S2_SPIRAM_SUPPORT
CONFIG_SPIRAM_RODATA
Cache load read only data from SPI RAM
Found in: Component config > ESP32S2-specific > CONFIG_ESP32S2_SPIRAM_SUPPORT > SPI RAM
config
If enabled, radata in flash will be copied into SPIRAM. If SPIRAM_FETCH_INSTRUCTIONS also
enabled, you can run the instruction when erasing or programming the flash.
Default value:
No (disabled) if CONFIG_ESP32S2_SPIRAM_SUPPORT
CONFIG_SPIRAM_SPEED
Set RAM clock speed
Found in: Component config > ESP32S2-specific > CONFIG_ESP32S2_SPIRAM_SUPPORT > SPI RAM
config
Select the speed for the SPI RAM chip.
Available options:
80MHz clock speed (SPIRAM_SPEED_80M)
40Mhz clock speed (SPIRAM_SPEED_40M)
26Mhz clock speed (SPIRAM_SPEED_26M)
20Mhz clock speed (SPIRAM_SPEED_20M)
CONFIG_SPIRAM_BOOT_INIT
Initialize SPI RAM during startup
Found in: Component config > ESP32S2-specific > CONFIG_ESP32S2_SPIRAM_SUPPORT > SPI RAM
config
If this is enabled, the SPI RAM will be enabled during initial boot. Unless you have specific requirements,
youll want to leave this enabled so memory allocated during boot-up can also be placed in SPI RAM.
Espressif Systems 1100
Submit Document Feedback
Release v4.4

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Espressif ESP32-S2 and is the answer not in the manual?

Espressif ESP32-S2 Specifications

General IconGeneral
BrandEspressif
ModelESP32-S2
CategorySingle board computers
LanguageEnglish