Page 1 of 1

How to change the RTC clock source?

Posted: Mon Aug 22, 2022 6:37 am
by yuda-hanlong
I can change the source of RTC clock from idf menuconfig,but is there any api to change the RTC clock source??
i have already test rtc_clk_32k_freq_set(RTC_SLOW_FREQ_32K_XTAL),When i use deep_sleep_example_main ,it(rtc_clk_32k_freq_set)seems does not work.Because code can not wake up forever.
Is anyone can help me? which api can change the RTC clock source ?