Hello,
I am experiencing an issue with the ESP32. I am encountering difficulties when trying to reboot the device while using an external quartz resonator.
Here's the situation: when operating with the external quartz, if the microcontroller attempts to reboot (either through a reboot function call or upon the built-in watchdog timer triggering), the ESP32 simply freezes and ceases to function. In this state, even the built-in watchdog timer is unable to reboot the system.
However, if I disconnect the external quartz, the ESP32 operates normally and is able to reboot correctly.
I am looking for a way to switch the ESP32 to use the internal quartz before calling a reboot in order to bypass this issue. However, I could not find information on how to do this in the Espressif documentation.
Could you assist me with this issue? Is it possible to switch the ESP32 to the internal quartz before rebooting? If so, how can I achieve this?
Thank you for your help.
Error (reboot, wthdog) External crustal
Re: Error (reboot, wthdog) External crustal
In think you will need to use these libraries:
Code: Select all
#include "esp_system.h"
#include "esp_attr.h"
#include "soc/rtc.h"
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Error (reboot, wthdog) External crustal
Could you be a bit more specific with 'internal quartz', 'external quartz' etc? Do you have schematics of what you're trying to do?
Re: Error (reboot, wthdog) External crustal
With an unconnected encoder, everything hangs
Looks like a bug in the library. #include <ESP32Encoder.h>
It's strange that everyone works with internal quartz
Looks like a bug in the library. #include <ESP32Encoder.h>
It's strange that everyone works with internal quartz
Re: Error (reboot, wthdog) External crustal
With an encoder not connected, everything hangs. Campaign error in the library. #include <ESP32Encoder.h> was connected to a quartz pin
Who is online
Users browsing this forum: No registered users and 140 guests