-
Notifications
You must be signed in to change notification settings - Fork 8k
Open
Labels
Status: OpenedIssue is newIssue is new
Description
Answers checklist.
- I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
Hi,
Since the 17.5Mhz RTC-fast clock on the ESP32-S3 is very unstable (I measured over 160kHz fluctuations) and different on each chip (from 16Mhz to 19Mhz) i wanted to run my code on the stable 20MHz Xtal-d2.
I set the XTAL as source for RTC-fast clock with:
REG_SET_FIELD(RTC_CNTL_CLK_CONF_REG, RTC_CNTL_FAST_CLK_RTC_SEL, 0);
and
ESP_ERROR_CHECK(esp_sleep_pd_config(ESP_PD_DOMAIN_XTAL, ESP_PD_OPTION_ON));
to keep the XTAL powered
and it works for the ULP in normal mode, but when the esp enters deep-sleep, the ULP switches to ~150Khz, which seems to be the RTC_SLOW clock.
Is there a way to keep the 20MHz XTAL as source for the ULP in deep-sleep?
Metadata
Metadata
Assignees
Labels
Status: OpenedIssue is newIssue is new