I am using the IMXRT1170-EVKB. But the touch doesn’t work, it looks like the lv_indev_read_timer_cb was not running. I have tried run the read_touch function in while(1), it can read the touch data.
/*Register a touchpad input device*/
lv_indev_drv_init(&indev_drv);
indev_drv.type = LV_INDEV_TYPE_POINTER;
indev_drv.read_cb = DEMO_ReadTouch;
lv_indev_drv_register(&indev_drv);