From 0e37fdd1b08082b9e5f0066c6045c9264978f965 Mon Sep 17 00:00:00 2001 From: zlq Date: Wed, 27 Nov 2024 17:35:22 +0800 Subject: [PATCH] fix: fix pll low temp bug (v5.3) --- .../bootloader_support/src/esp32h2/bootloader_esp32h2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/bootloader_support/src/esp32h2/bootloader_esp32h2.c b/components/bootloader_support/src/esp32h2/bootloader_esp32h2.c index 17934d512a..0daeb60937 100644 --- a/components/bootloader_support/src/esp32h2/bootloader_esp32h2.c +++ b/components/bootloader_support/src/esp32h2/bootloader_esp32h2.c @@ -91,6 +91,8 @@ static inline void bootloader_hardware_init(void) SET_PERI_REG_MASK(PMU_RF_PWC_REG, PMU_XPD_FORCE_RFPLL); /* Enable analog i2c master clock */ SET_PERI_REG_MASK(MODEM_LPCON_CLK_CONF_REG, MODEM_LPCON_CLK_I2C_MST_EN); + REGI2C_WRITE_MASK(I2C_BIAS, I2C_BIAS_DREG_0P8, 8); // fix low temp issue, need to increase this internal voltage + } static inline void bootloader_ana_reset_config(void) @@ -160,7 +162,7 @@ esp_err_t bootloader_init(void) } #endif // !CONFIG_APP_BUILD_TYPE_RAM - // check whether a WDT reset happend + // check whether a WDT reset happened bootloader_check_wdt_reset(); // config WDT bootloader_config_wdt();