Merge branch 'doc/btdm_modem_sleep_EVED_mode' into 'master'
doc/btdm_modem_sleep_EVED_mode See merge request idf/esp-idf!4017
This commit is contained in:
commit
6ae12d20ab
2 changed files with 7 additions and 4 deletions
|
@ -146,11 +146,13 @@ choice BTDM_MODEM_SLEEP_MODE
|
||||||
config BTDM_MODEM_SLEEP_MODE_ORIG
|
config BTDM_MODEM_SLEEP_MODE_ORIG
|
||||||
bool "ORIG Mode(sleep with low power clock)"
|
bool "ORIG Mode(sleep with low power clock)"
|
||||||
help
|
help
|
||||||
ORIG mode is a deep sleep mode that can be used for dual mode controller. In this mode, bluetooth controller sleeps between BR/EDR frames and BLE events. A low power clock is used to maintain bluetooth reference clock.
|
ORIG mode is a bluetooth sleep mode that can be used for dual mode controller. In this mode, bluetooth controller
|
||||||
|
sleeps between BR/EDR frames and BLE events. A low power clock is used to maintain bluetooth reference clock.
|
||||||
config BTDM_MODEM_SLEEP_MODE_EVED
|
config BTDM_MODEM_SLEEP_MODE_EVED
|
||||||
bool "EVED Mode "
|
bool "EVED Mode(For internal test only)"
|
||||||
help
|
help
|
||||||
This mode is for BLE only.
|
EVED mode is for BLE only and is only for internal test. Do not use it for production. this mode is not compatible
|
||||||
|
with DFS nor light sleep
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
choice BTDM_LOW_POWER_CLOCK
|
choice BTDM_LOW_POWER_CLOCK
|
||||||
|
@ -164,6 +166,7 @@ config BTDM_LPCLK_SEL_MAIN_XTAL
|
||||||
help
|
help
|
||||||
Main crystal can be used as low power clock for bluetooth modem sleep. If this option is selected, bluetooth
|
Main crystal can be used as low power clock for bluetooth modem sleep. If this option is selected, bluetooth
|
||||||
modem sleep can work under Dynamic Frequency Scaling(DFS) enabled, but cannot work when light sleep is enabled.
|
modem sleep can work under Dynamic Frequency Scaling(DFS) enabled, but cannot work when light sleep is enabled.
|
||||||
|
Main crystal has a relatively better performance than other bluetooth low power clock sources.
|
||||||
config BTDM_LPCLK_SEL_EXT_32K_XTAL
|
config BTDM_LPCLK_SEL_EXT_32K_XTAL
|
||||||
bool "External 32kHz crystal"
|
bool "External 32kHz crystal"
|
||||||
depends on ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL
|
depends on ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
/* Sleep mode */
|
/* Sleep mode */
|
||||||
#define BTDM_MODEM_SLEEP_MODE_NONE (0)
|
#define BTDM_MODEM_SLEEP_MODE_NONE (0)
|
||||||
#define BTDM_MODEM_SLEEP_MODE_ORIG (1)
|
#define BTDM_MODEM_SLEEP_MODE_ORIG (1)
|
||||||
#define BTDM_MODEM_SLEEP_MODE_EVED (2)
|
#define BTDM_MODEM_SLEEP_MODE_EVED (2) // sleep mode for BLE controller, used only for internal test.
|
||||||
|
|
||||||
/* Low Power Clock Selection */
|
/* Low Power Clock Selection */
|
||||||
#define BTDM_LPCLK_SEL_XTAL (0)
|
#define BTDM_LPCLK_SEL_XTAL (0)
|
||||||
|
|
Loading…
Reference in a new issue