File “lv_conf.h”
/Input device read period in milliseconds/ #define LV_INDEV_DEF_READ_PERIOD 20 /[ms]/
The input device read cycle set to 20ms, but the read cycle was more longer when you drag a slider.
Does image rendering block input reading?
I flipped an IO port in the “read_cb” touch point callback function.
It works fine and keep cycle at 20ms work idle, but the cycle at 100ms or more when I drag the slider.
The same test worked fine on TouchGFX. This is an important reason why LVGL’s touch is less fluid than TouchGFX’s.
Is there a way to deal with this? This is very important to me, thank you.
Seems your code is top secret , then ask crystal ball.
But realy when you place inc_tick in 1ms systick int, and your lv_timer_handler in clean loop …
And yes exactly slow flushcb render and slow readcb can corrupt timing
Yes and not only read , but all blocking without OS. Optimal render is MCU offload DMA etc. But LVGL not handle hw part code, this is your job or ask NXP