Skip to content

Commit 1db7914

Browse files
chaijie@espressif.comespressif-bot
authored andcommitted
fix(pmu): fix deepsleep current too big bug for esp32c61
1 parent 74c3466 commit 1db7914

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

components/bootloader_support/src/esp32c61/bootloader_soc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ void bootloader_power_glitch_reset_config(bool enable)
3232
} else {
3333
REG_SET_FIELD(LP_ANA_POWER_GLITCH_CNTL_REG, LP_ANA_POWER_GLITCH_RESET_ENA, 0);
3434
}
35-
}
35+
}

components/esp_hw_support/port/esp32c61/rtc_clk_init.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ void rtc_clk_init(rtc_clk_config_t cfg)
7878
REGI2C_WRITE_MASK(I2C_DIG_REG, I2C_DIG_REG_SCK_DCAP, cfg.slow_clk_dcap);
7979
REGI2C_WRITE_MASK(I2C_DIG_REG, I2C_DIG_REG_ENIF_RTC_DREG, 1);
8080
REGI2C_WRITE_MASK(I2C_DIG_REG, I2C_DIG_REG_ENIF_DIG_DREG, 1);
81+
REGI2C_WRITE_MASK(I2C_DIG_REG, I2C_DIG_REG_XPD_DIG_REG, 0);
82+
REGI2C_WRITE_MASK(I2C_DIG_REG, I2C_DIG_REG_XPD_RTC_REG, 0);
8183

8284
uint32_t hp_cali_dbias = get_act_hp_dbias();
8385
uint32_t lp_cali_dbias = get_act_lp_dbias();

0 commit comments

Comments
 (0)