How to change the RTC clock source?

yuda-hanlong
Posts: 6
Joined: Mon Aug 22, 2022 6:24 am

How to change the RTC clock source?

Postby yuda-hanlong » Mon Aug 22, 2022 6:37 am

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 ?

Who is online

Users browsing this forum: praveenvaniamkulam and 85 guests