FreeRTOS with LWIP and LVGL, CPU LOAD problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeRTOS with LWIP and LVGL, CPU LOAD problem

491 Views
patriciocohen
Contributor IV

Hi,

I currently have a custom board running FreeRTOS. The tasks that are running are 4.

1) LVLG task

2) LWIP task with webserver

3) SHELL task w/ LittleFS

4) Display update task

Everything works well so far, until I begin refreshing the website main page repeatedly in a browser in a PC that is part of the same LAN as the IMXRT board. This means that LWIP has more work to do because of the increased data requests. The problem is that when this happens it begins to affect LVGL performance and the display begins shifting to the right progressively, like there is some sync problem.

So my question is:

Is there a way to limit LWIP to use less resources or to limit LVGL FPS to be less when CPU load is high? The only thing that matters is that the screen must not be shifted.

Your help will be greatly appreciated.

Thank you

Patricio 

 

Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

439 Views
nxf77486
NXP TechSupport
NXP TechSupport

Hello,

Thank you for contacting NXP support.

Please find the following community post, that can be useful.

This explain the memory configuration you require in FreeRTOS. Please let me know if there is anything else where I can help you.

0 Kudos
Reply