mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
test(psram): re-enable 80M psram tests on C5 ECO2
This commit is contained in:
@ -55,6 +55,7 @@ void IRAM_ATTR bootloader_init_mspi_clock(void)
|
|||||||
// SPLL clock on C5 is 480MHz , and mspi_pll needs 80MHz
|
// SPLL clock on C5 is 480MHz , and mspi_pll needs 80MHz
|
||||||
// in this stage, set divider as 6
|
// in this stage, set divider as 6
|
||||||
_mspi_timing_ll_set_flash_clk_src(0, FLASH_CLK_SRC_SPLL);
|
_mspi_timing_ll_set_flash_clk_src(0, FLASH_CLK_SRC_SPLL);
|
||||||
|
// MSPI0 and MSPI1 share this core clock register, but only setting to MSPI0 register is valid
|
||||||
mspi_timing_ll_set_core_clock(MSPI_TIMING_LL_MSPI_ID_0, MSPI_TIMING_LL_CORE_CLOCK_MHZ_DEFAULT);
|
mspi_timing_ll_set_core_clock(MSPI_TIMING_LL_MSPI_ID_0, MSPI_TIMING_LL_CORE_CLOCK_MHZ_DEFAULT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -52,6 +52,7 @@ void IRAM_ATTR bootloader_init_mspi_clock(void)
|
|||||||
// SPLL clock on C61 is 480MHz , and mspi_pll needs 80MHz
|
// SPLL clock on C61 is 480MHz , and mspi_pll needs 80MHz
|
||||||
// in this stage, set divider as 6
|
// in this stage, set divider as 6
|
||||||
_mspi_timing_ll_set_flash_clk_src(0, FLASH_CLK_SRC_DEFAULT);
|
_mspi_timing_ll_set_flash_clk_src(0, FLASH_CLK_SRC_DEFAULT);
|
||||||
|
// MSPI0 and MSPI1 share this core clock register, but only setting to MSPI0 register is valid
|
||||||
mspi_timing_ll_set_core_clock(MSPI_TIMING_LL_MSPI_ID_0, MSPI_TIMING_LL_CORE_CLOCK_MHZ_DEFAULT);
|
mspi_timing_ll_set_core_clock(MSPI_TIMING_LL_MSPI_ID_0, MSPI_TIMING_LL_CORE_CLOCK_MHZ_DEFAULT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
CONFIG_SPIRAM=y
|
CONFIG_SPIRAM=y
|
||||||
CONFIG_SPIRAM_SPEED_40M=y
|
CONFIG_SPIRAM_SPEED_80M=y
|
||||||
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
|
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
CONFIG_SPIRAM=y
|
CONFIG_SPIRAM=y
|
||||||
CONFIG_SPIRAM_SPEED_40M=y
|
CONFIG_SPIRAM_SPEED_80M=y
|
||||||
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
|
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
CONFIG_SPIRAM=y
|
CONFIG_SPIRAM=y
|
||||||
CONFIG_SPIRAM_SPEED_40M=y
|
CONFIG_SPIRAM_SPEED_80M=y
|
||||||
# Enabling the following configurations can help increase the PCLK frequency in the case when
|
# Enabling the following configurations can help increase the PCLK frequency in the case when
|
||||||
# the Frame Buffer is allocated from the PSRAM and fetched by EDMA
|
# the Frame Buffer is allocated from the PSRAM and fetched by EDMA
|
||||||
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
|
CONFIG_SPIRAM_XIP_FROM_PSRAM=y
|
||||||
|
Reference in New Issue
Block a user