Hello all,
The module is an ESP32-WROOM-32 (ESP32D0WDQ6 (revision 1))
On a new product we need to use the RTC for deep sleep wake up, time keeping and sensing some buttons on RTC_GPIOs for forced wake ups from deep sleep.
The problem is that some times the crystal fails to start (?) resulting the module to not wake up when we trigger the RTC_GPIOs.
This does not happen to all modules.. We have modules bought different time periods but all report as ESP32D0WDQ6 (revision 1).
The "older" ones seem to not having this problem.. The latest ones do have this problem (I dont know how to figure out the product generation)
The crystal that we use now is :
https://www.digikey.com/product-detail/ ... ND/1237004
I have tried various load capacitors and the values that gave somehow a more stable behaviour was 18pf.
In menuconfig I have these values :
RTC clock source (External 32kHz crystal) --->
(3000) Number of cycles for RTC_SLOW_CLK calibration
(300) Bootstrap cycles for external 32kHz crystal
When the problem occurs I get in console :
-------------------------------------------------------------------------------------
I (0) cpu_start: App cpu up.
I (564) heap_init: Initializing. RAM available for dynamic allocation:
I (564) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (564) heap_init: At 3FFB9B90 len 00026470 (153 KiB): DRAM
I (565) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (565) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (565) heap_init: At 40092438 len 0000DBC8 (54 KiB): IRAM
I (566) cpu_start: Pro cpu start user code
W (801) clk: 32 kHz XTAL not found, switching to internal 150 kHz oscillator
I (31) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
...................................................................................................
the IDF Version is : v3.3-beta1-328-gabea9e4
I did found some other devs with this problem in the forum but no solution..
Have someone found a solution to this ?
thanks
Chris
External RTC 32768Hz crystal
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 43 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.