-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Type: Feature requestFeature request for Arduino ESP32Feature request for Arduino ESP32
Description
Related area
additional compile option
Hardware specification
ESP32 and all derivates
Is your feature request related to a problem?
Problem:
not able to set CONFIG_RTC_CLK_SRC in Arduino IDE for battery based applications. Default and hardcoded 150KHz RTC clock in Arduino has very bad time drift, if deep sleep is used for only a couple of hours (in my case + 20min for 15h sleep).
Describe the solution you'd like
Enable CONFIG_RTC_CLK_SRC in Arduino IDE to use for example far better clock option "RTC_CLK_SRC_INT_8MD256" at the cost of only a few µa.
Describe alternatives you've considered
- Using NTP at the cost of constantly waking up connecting to wifi and correct time drift.
- Using external clock source like DS1307 or DS3231 at additional hardware and complexity cost.
Additional context
This is an important feature request for all battery powered projects using deep sleep with timer wakeup source.
Source of information on RTC configuration: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/kconfig.html#config-rtc-clk-src
I have checked existing list of Feature requests and the Contribution Guide
- I confirm I have checked existing list of Feature requests and Contribution Guide.
moose4lord, wuspy, hanlong-coclean, WereCatf, emmby and 1 more
Metadata
Metadata
Assignees
Labels
Type: Feature requestFeature request for Arduino ESP32Feature request for Arduino ESP32