hal: Explicit setting of efuse time settings

EFUSE_PWR_ON_NUM in C3 has default value = 0x2880, now = 0x3000
This commit is contained in:
KonstantinKondrashov
2023-05-01 16:05:31 +08:00
parent 02d473615d
commit e48130246a
11 changed files with 146 additions and 3 deletions
+4 -1
View File
@@ -37,7 +37,10 @@ uint32_t efuse_hal_get_minor_chip_version(void)
void efuse_hal_set_timing(uint32_t apb_freq_hz)
{
(void) apb_freq_hz;
// keep the default values, no need to change it
efuse_ll_set_dac_num(0xFF);
efuse_ll_set_dac_clk_div(0x28);
efuse_ll_set_pwr_on_num(0x3000);
efuse_ll_set_pwr_off_num(0x190);
}
void efuse_hal_read(void)