-
Notifications
You must be signed in to change notification settings - Fork 7.6k
CPU Freq Setting #1286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
If you want the speed fixed at 80MHz, I recommend you follow the instructions at #1142 or just download the file from https://github.com/lbernstone/arduino-esp32-80MHz. Changing the cpu speed is going to be rough on the arduino timers. |
@lbernstone Thank you for your reply |
I just updated to the latest code and tested it. I get 1 for the frequency. |
@lbernstone the 80mhz file cannot use for v1.0.1-rc1 |
I don't update it for rc releases. See issue #1142 to compile it, if you wish. |
@beats0126 direct link to the instructions: #1142 (comment) |
I think you should report this to the IDF team ;) They can actually do something about it and make it work :P |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
Hardware:
Board: ESP32 Generic ?ESP32 Dev Module?
Core Installation/update date: 25/03/2018
IDE name: ?Arduino IDE?
Flash Frequency: ?80Mhz?
Upload Speed: ?115200?
Description:
I am calling rtc_clk_cpu_freq_set(RTC_CPU_FREQ_80M); in setup() just one time to adjust the cpu freq to 80Mhz . after deep sleep the frequency is back to 240? I thought the freq change will survive the deep sleep?
if I call the function each time the ESP wake up it hangs after several sleep periods, I think due to WDT reset as rtc_clk_cpu_freq_set consume a huge amount of time.
I have tried to yield() and put at delay(300) after the function call, it hang less but however it still hang sometimes.
Sketch:
Debug Messages:
The text was updated successfully, but these errors were encountered: