From 0ba101dfac1025acf442aa7b7832a0cb0ac1546c Mon Sep 17 00:00:00 2001 From: xiongweichao Date: Thu, 11 May 2023 11:35:30 +0800 Subject: [PATCH] ble: Fixed bluetooth can only use main XTAL as low power clock source due to configuration on ESP32S3 --- components/bt/controller/esp32c3/Kconfig.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/bt/controller/esp32c3/Kconfig.in b/components/bt/controller/esp32c3/Kconfig.in index 1ebd78ea7a..fb9920251f 100644 --- a/components/bt/controller/esp32c3/Kconfig.in +++ b/components/bt/controller/esp32c3/Kconfig.in @@ -390,7 +390,7 @@ menu "MODEM SLEEP Options" than other bluetooth low power clock sources. config BT_CTRL_LPCLK_SEL_EXT_32K_XTAL bool "External 32kHz crystal" - depends on ESP32C3_RTC_CLK_SRC_EXT_CRYS + depends on (ESP32C3_RTC_CLK_SRC_EXT_CRYS || ESP32S3_RTC_CLK_SRC_EXT_CRYS) help External 32kHz crystal has a nominal frequency of 32.768kHz and provides good frequency stability. If used as Bluetooth low power clock, External 32kHz can support Bluetooth @@ -398,7 +398,7 @@ menu "MODEM SLEEP Options" config BT_CTRL_LPCLK_SEL_RTC_SLOW bool "Internal 150kHz RC oscillator" - depends on ESP32C3_RTC_CLK_SRC_INT_RC + depends on (ESP32C3_RTC_CLK_SRC_INT_RC || ESP32S3_RTC_CLK_SRC_INT_RC) help Internal 150kHz RC oscillator. The accuracy of this clock is a lot larger than 500ppm which is required in Bluetooth communication, so don't select this option in scenarios such as BLE connection state.