ESP32 Devices Running Slowly or Wrong Speed
Posted: Tue Jun 01, 2021 4:39 pm
Hello,
We have just encoutered a problem on the Heltec WIFI Kit 32 board where the chip was running at the wrong speed. The crystal was defined as 40MHz instead of the correct 26MHz. This was down to a misconfiguration in the setup config file which has now been resolved via the update system.
While doing this I noticed that a lot of the ESP32 device config files were setting up the devices to run at 80MHz instead of their intended full speed of 240MHz.
Anyway if you are using ESP32 and want to help us confirm this then please use the Help -> Library Updates menu, do a full database update and then delete the "sdkconfig" file from your project build directory. The build directory is a folder located in the same folder as the Flowcode project file with the same name as the project file.
Compilation will take a bit longer then usual but once complete the device should now be running at the full speed of 240MHz. Hopefully you will notice a significant speed increase in the execution of code. Please note timing critical operation such as delays, BAUD rates etc will be uneffected.
Plese let us know of any problems or issues encountered.
We have just encoutered a problem on the Heltec WIFI Kit 32 board where the chip was running at the wrong speed. The crystal was defined as 40MHz instead of the correct 26MHz. This was down to a misconfiguration in the setup config file which has now been resolved via the update system.
While doing this I noticed that a lot of the ESP32 device config files were setting up the devices to run at 80MHz instead of their intended full speed of 240MHz.
Anyway if you are using ESP32 and want to help us confirm this then please use the Help -> Library Updates menu, do a full database update and then delete the "sdkconfig" file from your project build directory. The build directory is a folder located in the same folder as the Flowcode project file with the same name as the project file.
Compilation will take a bit longer then usual but once complete the device should now be running at the full speed of 240MHz. Hopefully you will notice a significant speed increase in the execution of code. Please note timing critical operation such as delays, BAUD rates etc will be uneffected.
Plese let us know of any problems or issues encountered.