Skip to content

Commit

Permalink
Merge branch 'bugfix/chip823_pll_low_temp_bug_v5.3' into 'release/v5.3'
Browse files Browse the repository at this point in the history
[H2]Fix cpu switch fail for bbpll cali fail bug in low temp (v5.3)

See merge request espressif/esp-idf!34599
  • Loading branch information
Jiang Jiang Jian committed Nov 15, 2024
2 parents d44e47e + 24bdc53 commit 4473476
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/esp_hw_support/port/esp32h2/pmu_sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#include "hal/efuse_ll.h"
#include "hal/efuse_hal.h"
#include "esp_hw_log.h"
#include "soc/regi2c_bias.h"
#include "regi2c_ctrl.h"

static __attribute__((unused)) const char *TAG = "pmu_sleep";

Expand Down Expand Up @@ -264,6 +266,8 @@ uint32_t pmu_sleep_start(uint32_t wakeup_opt, uint32_t reject_opt, uint32_t lslp
bool pmu_sleep_finish(bool dslp)
{
(void)dslp;
// Restore registers lost during sleep
REGI2C_WRITE_MASK(I2C_BIAS, I2C_BIAS_DREG_0P8, 8); // fix low temp issue, need to increase this internal voltage
return pmu_ll_hp_is_sleep_reject(PMU_instance()->hal->dev);
}

Expand Down

0 comments on commit 4473476

Please sign in to comment.