kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/rtc_clk_int_rc32k_miss_calib_cycles_config' into 'master'
fix the issue of missing configuration for calibration cycles of the internal 32 kHz RC See merge request espressif/esp-idf!24568pull/11819/head
commit
df36c3adcc
|
@ -18,9 +18,9 @@ endchoice
|
||||||
|
|
||||||
config RTC_CLK_CAL_CYCLES
|
config RTC_CLK_CAL_CYCLES
|
||||||
int "Number of cycles for RTC_SLOW_CLK calibration"
|
int "Number of cycles for RTC_SLOW_CLK calibration"
|
||||||
default 3000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_8MD256
|
default 3000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_RC32K
|
||||||
default 1024 if RTC_CLK_SRC_INT_RC
|
default 1024 if RTC_CLK_SRC_INT_RC
|
||||||
range 0 27000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_8MD256
|
range 0 27000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_RC32K
|
||||||
range 0 32766 if RTC_CLK_SRC_INT_RC
|
range 0 32766 if RTC_CLK_SRC_INT_RC
|
||||||
help
|
help
|
||||||
When the startup code initializes RTC_SLOW_CLK, it can perform
|
When the startup code initializes RTC_SLOW_CLK, it can perform
|
||||||
|
@ -33,7 +33,7 @@ config RTC_CLK_CAL_CYCLES
|
||||||
When this option is set to 0, clock calibration will not be performed at
|
When this option is set to 0, clock calibration will not be performed at
|
||||||
startup, and approximate clock frequencies will be assumed:
|
startup, and approximate clock frequencies will be assumed:
|
||||||
|
|
||||||
- 150000 Hz if internal RC oscillator is used as clock source. For this use value 1024.
|
- 136000 Hz if internal RC oscillator is used as clock source. For this use value 1024.
|
||||||
- 32768 Hz if the 32k crystal oscillator is used. For this use value 3000 or more.
|
- 32768 Hz if the 32k crystal oscillator is used. For this use value 3000 or more.
|
||||||
In case more value will help improve the definition of the launch of the crystal.
|
In case more value will help improve the definition of the launch of the crystal.
|
||||||
If the crystal could not start, it will be switched to internal RC.
|
If the crystal could not start, it will be switched to internal RC.
|
||||||
|
|
|
@ -18,9 +18,9 @@ endchoice
|
||||||
|
|
||||||
config RTC_CLK_CAL_CYCLES
|
config RTC_CLK_CAL_CYCLES
|
||||||
int "Number of cycles for RTC_SLOW_CLK calibration"
|
int "Number of cycles for RTC_SLOW_CLK calibration"
|
||||||
default 3000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_8MD256
|
default 3000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_RC32K
|
||||||
default 1024 if RTC_CLK_SRC_INT_RC
|
default 1024 if RTC_CLK_SRC_INT_RC
|
||||||
range 0 27000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_8MD256
|
range 0 27000 if RTC_CLK_SRC_EXT_CRYS || RTC_CLK_SRC_EXT_OSC || RTC_CLK_SRC_INT_RC32K
|
||||||
range 0 32766 if RTC_CLK_SRC_INT_RC
|
range 0 32766 if RTC_CLK_SRC_INT_RC
|
||||||
help
|
help
|
||||||
When the startup code initializes RTC_SLOW_CLK, it can perform
|
When the startup code initializes RTC_SLOW_CLK, it can perform
|
||||||
|
@ -33,7 +33,7 @@ config RTC_CLK_CAL_CYCLES
|
||||||
When this option is set to 0, clock calibration will not be performed at
|
When this option is set to 0, clock calibration will not be performed at
|
||||||
startup, and approximate clock frequencies will be assumed:
|
startup, and approximate clock frequencies will be assumed:
|
||||||
|
|
||||||
- 150000 Hz if internal RC oscillator is used as clock source. For this use value 1024.
|
- 136000 Hz if internal RC oscillator is used as clock source. For this use value 1024.
|
||||||
- 32768 Hz if the 32k crystal oscillator is used. For this use value 3000 or more.
|
- 32768 Hz if the 32k crystal oscillator is used. For this use value 3000 or more.
|
||||||
In case more value will help improve the definition of the launch of the crystal.
|
In case more value will help improve the definition of the launch of the crystal.
|
||||||
If the crystal could not start, it will be switched to internal RC.
|
If the crystal could not start, it will be switched to internal RC.
|
||||||
|
|
Ładowanie…
Reference in New Issue