mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-15 06:26:49 +00:00
fix(hal): correct the power up sequence for MPI/ECC peripherals in ESP32-C5
This commit is contained in:

committed by
nilesh.kale

parent
82c3a08d77
commit
adea6829b3
@@ -35,6 +35,7 @@ static void esp_ecdsa_acquire_hardware(void)
|
||||
|
||||
ECC_RCC_ATOMIC() {
|
||||
ecc_ll_enable_bus_clock(true);
|
||||
ecc_ll_power_up();
|
||||
ecc_ll_reset_register();
|
||||
}
|
||||
|
||||
@@ -57,6 +58,7 @@ static void esp_ecdsa_release_hardware(void)
|
||||
|
||||
ECC_RCC_ATOMIC() {
|
||||
ecc_ll_enable_bus_clock(false);
|
||||
ecc_ll_power_down();
|
||||
}
|
||||
|
||||
#ifdef SOC_ECDSA_USES_MPI
|
||||
|
Reference in New Issue
Block a user