I am facing to some issue with poor display response and seeking for some help. So I will be very pleased if someone could help.
I am using lvgl 7.2.0, freeRTOS 10.3.1 on S32K148 MCU.
Problem explanation. I am using old monochromatic LCD display with resulotuin 320x240 px with only GPIO interface, there is no way to control it via I2C, SPI etc. And when I touch some button it takes about 400ms to change button background. I have discoverd that from some reason it is stuck in lv_task_handler() in worst case for 2500 ms (this time was catch during whole screen refresh and I also measure actual LCD driver write secuence which was about 150ms). I call lv_task_handler() each 1ms in same task first is called lv_task_handler then lv_tick_inc then freeRTOS delay.
Measurement of lv_task_handler() was done with freeRTOS contex switch off and I set some spare MCU pin on and after lv_task_handler off.
Next I notice that in one lv_task_handler() it can call multiple LCD driver write.
So do you have any idea what can cause such a long execution of lv_task_handler.