Search found 1 match

by xerom32
Tue Jan 02, 2024 7:02 pm
Forum: ESP32 Arduino
Topic: ESP32 External 32.768kHZ Crystal for RTC
Replies: 10
Views: 8297

Re: ESP32 External 32.768kHZ Crystal for RTC

The slow clock reverts to internal after waking from deep sleep. I had to save the clock calibration to RTC memory. Then apply the calibration and enable external clock on wake from deep sleep. Otherwise it seems to work great. RTC_DATA_ATTR uint32_t _cal_32k = 1600000; void setExternalCrystalAsRTCS...