mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
Merge branch 'fix/p4_120_suspened_v6.0' into 'release/v6.0'
fix(spi_flash): Fix esp32p4 120m flash suspend failed (backport v6.0) See merge request espressif/esp-idf!46045
This commit is contained in:
@@ -381,6 +381,8 @@ __attribute__((always_inline))
|
||||
static inline void mspi_timinng_ll_enable_flash_timing_adjust_clk(uint8_t spi_num)
|
||||
{
|
||||
HAL_ASSERT(spi_num == MSPI_TIMING_LL_MSPI_ID_0);
|
||||
// Should set ie always on to ensure it can read flash sr2
|
||||
REG_SET_BIT(SPI_MEM_C_CTRL_REG, SPI_MEM_C_DATA_IE_ALWAYS_ON);
|
||||
REG_GET_BIT(SPI_MEM_C_TIMING_CALI_REG, SPI_MEM_C_TIMING_CLK_ENA);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user