choice SPIRAM_SPEED: Set RAM clock speed

Set RAM clock speed

Set RAM clock speed

Type: bool

Help

Select the speed for the SPI RAM chip.
If SPI RAM is enabled, we only support three combinations of SPI speed mode we supported now:

1. Flash SPI running at 40Mhz and RAM SPI running at 40Mhz
2. Flash SPI running at 80Mhz and RAM SPI running at 40Mhz
3. Flash SPI running at 80Mhz and RAM SPI running at 80Mhz

Note: If the third mode(80Mhz+80Mhz) is enabled for SPI RAM of type 32MBit, one of the HSPI/VSPI host
will be occupied by the system. Which SPI host to use can be selected by the config item
SPIRAM_OCCUPY_SPI_HOST. Application code should never touch HSPI/VSPI hardware in this case. The
option to select 80MHz will only be visible if the flash SPI speed is also 80MHz.
(ESPTOOLPY_FLASHFREQ_79M is true)

Help

Select the speed for the SPI RAM chip.
If SPI RAM is enabled, we only support three combinations of SPI speed mode we supported now:

1. Flash SPI running at 40Mhz and RAM SPI running at 40Mhz
2. Flash SPI running at 80Mhz and RAM SPI running at 40Mhz
3. Flash SPI running at 80Mhz and RAM SPI running at 80Mhz

Note: If the third mode(80Mhz+80Mhz) is enabled for SPI RAM of type 32MBit, one of the HSPI/VSPI host
will be occupied by the system. Which SPI host to use can be selected by the config item
SPIRAM_OCCUPY_SPI_HOST. Application code should never touch HSPI/VSPI hardware in this case. The
option to select 80MHz will only be visible if the flash SPI speed is also 80MHz.
(ESPTOOLPY_FLASHFREQ_79M is true)

Direct dependencies

(ESP_SPIRAM && SOC_ESP32 && <choice: SoC/CPU/Configuration Selection>) || (ESP_SPIRAM && SOC_ESP32 && <choice: SoC/CPU/Configuration Selection>)

(Includes any dependencies from ifs and menus.)

Kconfig definitions

At <Zephyr>/soc/xtensa/esp32/Kconfig.soc:88

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:36<Zephyr>/soc/Kconfig:7<nRF>/doc/_build/kconfig/Kconfig.soc:1

Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32 → Support for external, SPI-connected RAM → SPI RAM config

choice SPIRAM_SPEED
    bool "Set RAM clock speed"
    default SPIRAM_SPEED_40M
    depends on ESP_SPIRAM && SOC_ESP32 && <choice>
    help
      Select the speed for the SPI RAM chip.
      If SPI RAM is enabled, we only support three combinations of SPI speed mode we supported now:

      1. Flash SPI running at 40Mhz and RAM SPI running at 40Mhz
      2. Flash SPI running at 80Mhz and RAM SPI running at 40Mhz
      3. Flash SPI running at 80Mhz and RAM SPI running at 80Mhz

      Note: If the third mode(80Mhz+80Mhz) is enabled for SPI RAM of type 32MBit, one of the HSPI/VSPI host
      will be occupied by the system. Which SPI host to use can be selected by the config item
      SPIRAM_OCCUPY_SPI_HOST. Application code should never touch HSPI/VSPI hardware in this case. The
      option to select 80MHz will only be visible if the flash SPI speed is also 80MHz.
      (ESPTOOLPY_FLASHFREQ_79M is true)

At <Zephyr>/soc/xtensa/esp32/Kconfig.soc:88

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:36<Zephyr>/soc/Kconfig:9

Menu path: (Top) → SoC/CPU/Configuration Selection → ESP32 → Support for external, SPI-connected RAM → SPI RAM config

choice SPIRAM_SPEED
    bool "Set RAM clock speed"
    default SPIRAM_SPEED_40M
    depends on ESP_SPIRAM && SOC_ESP32 && <choice>
    help
      Select the speed for the SPI RAM chip.
      If SPI RAM is enabled, we only support three combinations of SPI speed mode we supported now:

      1. Flash SPI running at 40Mhz and RAM SPI running at 40Mhz
      2. Flash SPI running at 80Mhz and RAM SPI running at 40Mhz
      3. Flash SPI running at 80Mhz and RAM SPI running at 80Mhz

      Note: If the third mode(80Mhz+80Mhz) is enabled for SPI RAM of type 32MBit, one of the HSPI/VSPI host
      will be occupied by the system. Which SPI host to use can be selected by the config item
      SPIRAM_OCCUPY_SPI_HOST. Application code should never touch HSPI/VSPI hardware in this case. The
      option to select 80MHz will only be visible if the flash SPI speed is also 80MHz.
      (ESPTOOLPY_FLASHFREQ_79M is true)

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)