Page 1 of 1

High CPU Load (>90%) During Screen Animation and Switching on ESP32

Posted: Wed Feb 18, 2026 11:05 am
by Hiten Shah
High CPU Load (>90%) During Screen Animation and Switching on ESP32


MCU / Module : ESP32-S3-WROOM-1 16R8.
Purpose : Driving GUI on 5" RGB interface LCD using LVGL with Arduino IDE.

ESP32 Core Version : V 3.3.3
Arduino IDE version : V 2.3.6

Issue :

During normal screen animations(LVGL) and screen transitions, the CPU usage exceeds 90%.
This occurs even with a minimal number of screens and simple animations.
Increasing the number of screens or the complexity of animations can lead to system crashes or restarts.

Request:
What are the best practices to optimize CPU usage during screen updates and animations to prevent crashes or unexpected system restarts?

Re: High CPU Load (>90%) During Screen Animation and Switching on ESP32

Posted: Thu Feb 19, 2026 2:29 pm
by mikemoy
if your getting a system crashes or restarts, there is something misconfigured. I would never use Arduino for LVGL!!
Since your using Arduino, I am guessing your unaware of the menuconfig. You can only change those setting when using ESP-IDF. There are a zillion settings in there that need to be tweaked for best performance of LVGL. Without using menuconfig, Arduino uses default values.