From 9cfffd291518ec2f7ec70789f51a59e6acae80b7 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 e3a5b761b5e..2bd10beb043 100644 --- a/components/bt/controller/esp32c3/bt.c +++ b/components/bt/controller/esp32c3/bt.c @@ -242,7 +242,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); @@ -965,8 +964,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 b38e9ec9e5c..a9383950e80 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); @@ -997,8 +996,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 8d3ce024360..3daf8424460 160000 --- a/components/esp_phy/lib +++ b/components/esp_phy/lib @@ -1 +1 @@ -Subproject commit 8d3ce02436066e33e8964d34981a97fe64edae2e +Subproject commit 3daf842446056002dcdb12866001c3d567f1abd9