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

Hiten Shah
Posts: 4
Joined: Thu Feb 05, 2026 6:53 am

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

Postby Hiten Shah » Wed Feb 18, 2026 11:05 am

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?

mikemoy
Posts: 690
Joined: Fri Jan 12, 2018 9:10 pm

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

Postby mikemoy » Thu Feb 19, 2026 2:29 pm

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.

Who is online

Users browsing this forum: ChatGPT-User, Semrush [Bot] and 1 guest