From 2902766706ac3b124cb50613469cdccc4fdfe145 Mon Sep 17 00:00:00 2001 From: zhiweijian Date: Fri, 21 Oct 2022 14:46:10 +0800 Subject: [PATCH] - update phy lib - Enable BLE pll track to fix bluetooth disconnection caused by temperature rise or fall on ESP32C3 and ESP32S3 - call pll track in controller task --- components/bt/controller/esp32c3/bt.c | 3 --- components/bt/controller/esp32s3/bt.c | 3 --- components/esp_phy/lib | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/components/bt/controller/esp32c3/bt.c b/components/bt/controller/esp32c3/bt.c index 564c90d493..352f0fca35 100644 --- a/components/bt/controller/esp32c3/bt.c +++ b/components/bt/controller/esp32c3/bt.c @@ -241,7 +241,6 @@ extern bool btdm_deep_sleep_mem_init(void); extern void btdm_deep_sleep_mem_deinit(void); extern void btdm_ble_power_down_dma_copy(bool copy); extern uint8_t btdm_sleep_clock_sync(void); -extern void sdk_config_extend_set_pll_track(bool enable); #if CONFIG_MAC_BB_PD extern void esp_mac_bb_power_down(void); @@ -1091,8 +1090,6 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg) // overwrite some parameters cfg->magic = ESP_BT_CTRL_CONFIG_MAGIC_VAL; - sdk_config_extend_set_pll_track(false); - #if CONFIG_MAC_BB_PD esp_mac_bb_pd_mem_init(); #endif diff --git a/components/bt/controller/esp32s3/bt.c b/components/bt/controller/esp32s3/bt.c index 8295b98aef..91cc8c8c26 100644 --- a/components/bt/controller/esp32s3/bt.c +++ b/components/bt/controller/esp32s3/bt.c @@ -246,7 +246,6 @@ extern bool btdm_deep_sleep_mem_init(void); extern void btdm_deep_sleep_mem_deinit(void); extern void btdm_ble_power_down_dma_copy(bool copy); extern uint8_t btdm_sleep_clock_sync(void); -extern void sdk_config_extend_set_pll_track(bool enable); #if CONFIG_MAC_BB_PD extern void esp_mac_bb_power_down(void); @@ -1137,8 +1136,6 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg) // overwrite some parameters cfg->magic = ESP_BT_CTRL_CONFIG_MAGIC_VAL; - sdk_config_extend_set_pll_track(false); - #if CONFIG_MAC_BB_PD esp_mac_bb_pd_mem_init(); #endif diff --git a/components/esp_phy/lib b/components/esp_phy/lib index ff0d771b8e..9a94277c0d 160000 --- a/components/esp_phy/lib +++ b/components/esp_phy/lib @@ -1 +1 @@ -Subproject commit ff0d771b8e33e320e11634567ee53b9cd78e6be1 +Subproject commit 9a94277c0d8dc1174fc3dd2dcb48dea49e61931d