Search found 6 matches

by yuda-hanlong
Wed Feb 07, 2024 8:14 am
Forum: ESP-IDF 中文讨论版
Topic: ESP32S3模拟的U盘 windows不能格式化
Replies: 0
Views: 1003

ESP32S3模拟的U盘 windows不能格式化

使用ESP32s3+esp-idf-v5.0.2,参考https://github.com/espressif/esp-iot-so ... eless_disk
代码跑起来后,笔记本提示要格式化U盘,结果是"Windows无法完成格式化",应该怎么搞呀
by yuda-hanlong
Mon Aug 29, 2022 1:26 am
Forum: ESP-IDF 中文讨论版
Topic: 修改RTC时钟源
Replies: 3
Views: 2759

Re: 修改RTC时钟源

ESP_Gargamel wrote:
Mon Aug 22, 2022 10:54 am
当前不支持这种动态的方式。
修改了下rtc.h里面的的RTC_CLK_CONFIG_DEFAULT.slow_clk_dcap=RTC_SLOW_FREQ_32K_XTAL。
调节定时唤醒的时间为1分钟,每次实际醒来的时候都会差个1~2秒
by yuda-hanlong
Mon Aug 29, 2022 12:47 am
Forum: ESP-IDF 中文讨论版
Topic: 修改RTC时钟源
Replies: 3
Views: 2759

Re: 修改RTC时钟源

ESP_Gargamel wrote:
Mon Aug 22, 2022 10:54 am
当前不支持这种动态的方式。
您好,我找到arduino目录下面的esp32的包,有个rtc.h的文件,其中看到有RTC_CLK_CONFIG_DEFAULT,我把其中的slow_clk_dcap,修改成RTC_SLOW_FREQ_32K_XTAL好像也是不管用的额,,,
by yuda-hanlong
Wed Aug 24, 2022 2:22 am
Forum: ESP32 Arduino
Topic: How to change the RTC clock source?
Replies: 0
Views: 1164

How to change the RTC clock source?

I want to use an external 32.768khz clock source for the module clock source The scene is an interval of 60 seconds for module to automatically wake up, and then get into the deep_sleep. But in the arduino environment called rtc_clk_32k_enable ( true ) ; and rtc_clk_slow_freq_set ( rtc_slow_freq_32k...
by yuda-hanlong
Mon Aug 22, 2022 6:41 am
Forum: ESP-IDF 中文讨论版
Topic: 修改RTC时钟源
Replies: 3
Views: 2759

修改RTC时钟源

在使用deep_sleep_example_main的例程,定时60秒自动唤醒,做测试的时候发现:
1、可以使用menuconfig来配置时钟源,并且可以正常唤醒。
2、使用API (rtc_clk_slow_freq_set(RTC_SLOW_FREQ_32K_XTAL);)来设置时钟源的时候,一直不能唤醒。

不修改menuconfig的话,有哪个API可以修改rtc 时钟源么?
by yuda-hanlong
Mon Aug 22, 2022 6:37 am
Forum: ESP-IDF
Topic: How to change the RTC clock source?
Replies: 0
Views: 949

How to change the RTC clock source?

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 any...