Browse Source

esp32s2: use smaller RTC_CLK_CAL_CYCLES by default

Reduce the number proportionally to the frequency (160k on ESP32,
90k on ESP32-S2).
Ivan Grokhotkov 6 years ago
parent
commit
a8ad9d6b43
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/esp32s2/Kconfig

+ 1 - 1
components/esp32s2/Kconfig

@@ -461,7 +461,7 @@ menu "ESP32S2-specific"
     config ESP32S2_RTC_CLK_CAL_CYCLES
         int "Number of cycles for RTC_SLOW_CLK calibration"
         default 3000 if ESP32S2_RTC_CLK_SRC_EXT_CRYS
-        default 1024 if ESP32S2_RTC_CLK_SRC_INT_RC
+        default 576 if ESP32S2_RTC_CLK_SRC_INT_RC
         range 0 125000
         help
             When the startup code initializes RTC_SLOW_CLK, it can perform