Reducing CPU speed for stability? ESP32S
Posted: Tue Jan 23, 2024 6:59 am
Hello,
I building new project around the latest ESP32S3, I wonder if reducing the CPU speed helps with the stability on any way?
For now I compile everything with 240Mhz (Wifi), alternatives would be 160Mhz or even down to 80Mhz after that there is no more wifi support, I guess the chip does not tick enough to do the wpa and other ops.
I ask this because with previous ESP models it was a recurring topic that reducing the speed from 160 Mhz to 80 Mhz will make the system more "stable"
In my case the device basically does sensor sampling and uses the ESP32 Asyncwebserver for displaying the stats on a page. If I reduce the speed that will only have 1 forseeable consequence to me: reduced page load speed. I definitely don't want that.
For making the wifi more stable ... not sure of that I have a check implemented anyway where the wifi connection is rechecked with a hold timer at X amounts of time if it's interrupted the device will try to reconnect 3 times if it cannot it will just RESET.
So waiting for the suggestions about this.
I planning on long operation (eg: 5-10 years turned on nonstop).
I building new project around the latest ESP32S3, I wonder if reducing the CPU speed helps with the stability on any way?
For now I compile everything with 240Mhz (Wifi), alternatives would be 160Mhz or even down to 80Mhz after that there is no more wifi support, I guess the chip does not tick enough to do the wpa and other ops.
I ask this because with previous ESP models it was a recurring topic that reducing the speed from 160 Mhz to 80 Mhz will make the system more "stable"
In my case the device basically does sensor sampling and uses the ESP32 Asyncwebserver for displaying the stats on a page. If I reduce the speed that will only have 1 forseeable consequence to me: reduced page load speed. I definitely don't want that.
For making the wifi more stable ... not sure of that I have a check implemented anyway where the wifi connection is rechecked with a hold timer at X amounts of time if it's interrupted the device will try to reconnect 3 times if it cannot it will just RESET.
So waiting for the suggestions about this.
I planning on long operation (eg: 5-10 years turned on nonstop).